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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// This is the response object from the DeleteVirtualGateway operation. /// </summary> public partial class DeleteVirtualGatewayResponse : AmazonWebServiceResponse { private VirtualGatewayData _virtualGateway; /// <summary> /// Gets and sets the property VirtualGateway. /// <para> /// The virtual gateway that was deleted. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayData VirtualGateway { get { return this._virtualGateway; } set { this._virtualGateway = value; } } // Check to see if VirtualGateway property is set internal bool IsSetVirtualGateway() { return this._virtualGateway != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DeleteVirtualNode operation. /// Deletes an existing virtual node. /// /// /// <para> /// You must delete any virtual services that list a virtual node as a service provider /// before you can delete the virtual node itself. /// </para> /// </summary> public partial class DeleteVirtualNodeRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualNodeName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to delete the virtual node in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualNodeName. /// <para> /// The name of the virtual node to delete. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNodeName { get { return this._virtualNodeName; } set { this._virtualNodeName = value; } } // Check to see if VirtualNodeName property is set internal bool IsSetVirtualNodeName() { return this._virtualNodeName != null; } } }
108
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DeleteVirtualNodeResponse : AmazonWebServiceResponse { private VirtualNodeData _virtualNode; /// <summary> /// Gets and sets the property VirtualNode. /// <para> /// The virtual node that was deleted. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeData VirtualNode { get { return this._virtualNode; } set { this._virtualNode = value; } } // Check to see if VirtualNode property is set internal bool IsSetVirtualNode() { return this._virtualNode != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DeleteVirtualRouter operation. /// Deletes an existing virtual router. /// /// /// <para> /// You must delete any routes associated with the virtual router before you can delete /// the router itself. /// </para> /// </summary> public partial class DeleteVirtualRouterRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualRouterName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to delete the virtual router in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router to delete. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
108
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DeleteVirtualRouterResponse : AmazonWebServiceResponse { private VirtualRouterData _virtualRouter; /// <summary> /// Gets and sets the property VirtualRouter. /// <para> /// The virtual router that was deleted. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterData VirtualRouter { get { return this._virtualRouter; } set { this._virtualRouter = value; } } // Check to see if VirtualRouter property is set internal bool IsSetVirtualRouter() { return this._virtualRouter != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DeleteVirtualService operation. /// Deletes an existing virtual service. /// </summary> public partial class DeleteVirtualServiceRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualServiceName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to delete the virtual service in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service to delete. /// </para> /// </summary> [AWSProperty(Required=true)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DeleteVirtualServiceResponse : AmazonWebServiceResponse { private VirtualServiceData _virtualService; /// <summary> /// Gets and sets the property VirtualService. /// <para> /// The virtual service that was deleted. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceData VirtualService { get { return this._virtualService; } set { this._virtualService = value; } } // Check to see if VirtualService property is set internal bool IsSetVirtualService() { return this._virtualService != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeGatewayRoute operation. /// Describes an existing gateway route. /// </summary> public partial class DescribeGatewayRouteRequest : AmazonAppMeshRequest { private string _gatewayRouteName; private string _meshName; private string _meshOwner; private string _virtualGatewayName; /// <summary> /// Gets and sets the property GatewayRouteName. /// <para> /// The name of the gateway route to describe. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string GatewayRouteName { get { return this._gatewayRouteName; } set { this._gatewayRouteName = value; } } // Check to see if GatewayRouteName property is set internal bool IsSetGatewayRouteName() { return this._gatewayRouteName != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the gateway route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The name of the virtual gateway that the gateway route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
122
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// This is the response object from the DescribeGatewayRoute operation. /// </summary> public partial class DescribeGatewayRouteResponse : AmazonWebServiceResponse { private GatewayRouteData _gatewayRoute; /// <summary> /// Gets and sets the property GatewayRoute. /// <para> /// The full description of your gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteData GatewayRoute { get { return this._gatewayRoute; } set { this._gatewayRoute = value; } } // Check to see if GatewayRoute property is set internal bool IsSetGatewayRoute() { return this._gatewayRoute != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeMesh operation. /// Describes an existing service mesh. /// </summary> public partial class DescribeMeshRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to describe. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DescribeMeshResponse : AmazonWebServiceResponse { private MeshData _mesh; /// <summary> /// Gets and sets the property Mesh. /// <para> /// The full description of your service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public MeshData Mesh { get { return this._mesh; } set { this._mesh = value; } } // Check to see if Mesh property is set internal bool IsSetMesh() { return this._mesh != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeRoute operation. /// Describes an existing route. /// </summary> public partial class DescribeRouteRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _routeName; private string _virtualRouterName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property RouteName. /// <para> /// The name of the route to describe. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string RouteName { get { return this._routeName; } set { this._routeName = value; } } // Check to see if RouteName property is set internal bool IsSetRouteName() { return this._routeName != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router that the route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
122
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DescribeRouteResponse : AmazonWebServiceResponse { private RouteData _route; /// <summary> /// Gets and sets the property Route. /// <para> /// The full description of your route. /// </para> /// </summary> [AWSProperty(Required=true)] public RouteData Route { get { return this._route; } set { this._route = value; } } // Check to see if Route property is set internal bool IsSetRoute() { return this._route != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeVirtualGateway operation. /// Describes an existing virtual gateway. /// </summary> public partial class DescribeVirtualGatewayRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualGatewayName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the gateway route resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The name of the virtual gateway to describe. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// This is the response object from the DescribeVirtualGateway operation. /// </summary> public partial class DescribeVirtualGatewayResponse : AmazonWebServiceResponse { private VirtualGatewayData _virtualGateway; /// <summary> /// Gets and sets the property VirtualGateway. /// <para> /// The full description of your virtual gateway. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualGatewayData VirtualGateway { get { return this._virtualGateway; } set { this._virtualGateway = value; } } // Check to see if VirtualGateway property is set internal bool IsSetVirtualGateway() { return this._virtualGateway != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeVirtualNode operation. /// Describes an existing virtual node. /// </summary> public partial class DescribeVirtualNodeRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualNodeName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual node resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualNodeName. /// <para> /// The name of the virtual node to describe. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualNodeName { get { return this._virtualNodeName; } set { this._virtualNodeName = value; } } // Check to see if VirtualNodeName property is set internal bool IsSetVirtualNodeName() { return this._virtualNodeName != null; } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DescribeVirtualNodeResponse : AmazonWebServiceResponse { private VirtualNodeData _virtualNode; /// <summary> /// Gets and sets the property VirtualNode. /// <para> /// The full description of your virtual node. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualNodeData VirtualNode { get { return this._virtualNode; } set { this._virtualNode = value; } } // Check to see if VirtualNode property is set internal bool IsSetVirtualNode() { return this._virtualNode != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeVirtualRouter operation. /// Describes an existing virtual router. /// </summary> public partial class DescribeVirtualRouterRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualRouterName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual router resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualRouterName. /// <para> /// The name of the virtual router to describe. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DescribeVirtualRouterResponse : AmazonWebServiceResponse { private VirtualRouterData _virtualRouter; /// <summary> /// Gets and sets the property VirtualRouter. /// <para> /// The full description of your virtual router. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualRouterData VirtualRouter { get { return this._virtualRouter; } set { this._virtualRouter = value; } } // Check to see if VirtualRouter property is set internal bool IsSetVirtualRouter() { return this._virtualRouter != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the DescribeVirtualService operation. /// Describes an existing virtual service. /// </summary> public partial class DescribeVirtualServiceRequest : AmazonAppMeshRequest { private string _meshName; private string _meshOwner; private string _virtualServiceName; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the virtual service resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service to describe. /// </para> /// </summary> [AWSProperty(Required=true)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
102
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class DescribeVirtualServiceResponse : AmazonWebServiceResponse { private VirtualServiceData _virtualService; /// <summary> /// Gets and sets the property VirtualService. /// <para> /// The full description of your virtual service. /// </para> /// </summary> [AWSProperty(Required=true)] public VirtualServiceData VirtualService { get { return this._virtualService; } set { this._virtualService = value; } } // Check to see if VirtualService property is set internal bool IsSetVirtualService() { return this._virtualService != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the DNS service discovery information for your virtual node. /// </summary> public partial class DnsServiceDiscovery { private string _hostname; private IpPreference _ipPreference; private DnsResponseType _responseType; /// <summary> /// Gets and sets the property Hostname. /// <para> /// Specifies the DNS service discovery hostname for the virtual node. /// </para> /// </summary> [AWSProperty(Required=true)] public string Hostname { get { return this._hostname; } set { this._hostname = value; } } // Check to see if Hostname property is set internal bool IsSetHostname() { return this._hostname != null; } /// <summary> /// Gets and sets the property IpPreference. /// <para> /// The preferred IP version that this virtual node uses. Setting the IP preference on /// the virtual node only overrides the IP preference set for the mesh on this specific /// node. /// </para> /// </summary> public IpPreference IpPreference { get { return this._ipPreference; } set { this._ipPreference = value; } } // Check to see if IpPreference property is set internal bool IsSetIpPreference() { return this._ipPreference != null; } /// <summary> /// Gets and sets the property ResponseType. /// <para> /// Specifies the DNS response type for the virtual node. /// </para> /// </summary> public DnsResponseType ResponseType { get { return this._responseType; } set { this._responseType = value; } } // Check to see if ResponseType property is set internal bool IsSetResponseType() { return this._responseType != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a duration of time. /// </summary> public partial class Duration { private DurationUnit _unit; private long? _value; /// <summary> /// Gets and sets the property Unit. /// <para> /// A unit of time. /// </para> /// </summary> public DurationUnit Unit { get { return this._unit; } set { this._unit = value; } } // Check to see if Unit property is set internal bool IsSetUnit() { return this._unit != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// A number of time units. /// </para> /// </summary> [AWSProperty(Min=0)] public long Value { get { return this._value.GetValueOrDefault(); } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value.HasValue; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the egress filter rules for a service mesh. /// </summary> public partial class EgressFilter { private EgressFilterType _type; /// <summary> /// Gets and sets the property Type. /// <para> /// The egress filter type. By default, the type is <code>DROP_ALL</code>, which allows /// egress only from virtual nodes to other defined resources in the service mesh (and /// any traffic to <code>*.amazonaws.com</code> for Amazon Web Services API calls). You /// can set the egress filter type to <code>ALLOW_ALL</code> to allow egress to any endpoint /// inside or outside of the service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public EgressFilterType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
62
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents an access log file. /// </summary> public partial class FileAccessLog { private LoggingFormat _format; private string _path; /// <summary> /// Gets and sets the property Format. /// <para> /// The specified format for the logs. The format is either <code>json_format</code> or /// <code>text_format</code>. /// </para> /// </summary> public LoggingFormat Format { get { return this._format; } set { this._format = value; } } // Check to see if Format property is set internal bool IsSetFormat() { return this._format != null; } /// <summary> /// Gets and sets the property Path. /// <para> /// The file path to write access logs to. You can use <code>/dev/stdout</code> to send /// access logs to standard out and configure your Envoy container to use a log driver, /// such as <code>awslogs</code>, to export the access logs to a log storage service such /// as Amazon CloudWatch Logs. You can also specify a path in the Envoy container's file /// system to write the files to disk. /// </para> /// <pre><code> &lt;note&gt; &lt;p&gt;The Envoy process must have write permissions to /// the path that you specify here. Otherwise, Envoy fails to bootstrap properly.&lt;/p&gt; /// &lt;/note&gt; </code></pre> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// You don't have permissions to perform this action. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ForbiddenException : AmazonAppMeshException { /// <summary> /// Constructs a new ForbiddenException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ForbiddenException(string message) : base(message) {} /// <summary> /// Construct instance of ForbiddenException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ForbiddenException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ForbiddenException /// </summary> /// <param name="innerException"></param> public ForbiddenException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ForbiddenException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ForbiddenException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ForbiddenException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ForbiddenException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ForbiddenException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ForbiddenException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
124
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a gateway route returned by a describe operation. /// </summary> public partial class GatewayRouteData { private string _gatewayRouteName; private string _meshName; private ResourceMetadata _metadata; private GatewayRouteSpec _spec; private GatewayRouteStatus _status; private string _virtualGatewayName; /// <summary> /// Gets and sets the property GatewayRouteName. /// <para> /// The name of the gateway route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string GatewayRouteName { get { return this._gatewayRouteName; } set { this._gatewayRouteName = value; } } // Check to see if GatewayRouteName property is set internal bool IsSetGatewayRouteName() { return this._gatewayRouteName != null; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the resource resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The specifications of the gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The virtual gateway that the gateway route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
155
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the gateway route host name to match. /// </summary> public partial class GatewayRouteHostnameMatch { private string _exact; private string _suffix; /// <summary> /// Gets and sets the property Exact. /// <para> /// The exact host name to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=253)] public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null; } /// <summary> /// Gets and sets the property Suffix. /// <para> /// The specified ending characters of the host name to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=253)] public string Suffix { get { return this._suffix; } set { this._suffix = value; } } // Check to see if Suffix property is set internal bool IsSetSuffix() { return this._suffix != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the gateway route host name to rewrite. /// </summary> public partial class GatewayRouteHostnameRewrite { private DefaultGatewayRouteRewrite _defaultTargetHostname; /// <summary> /// Gets and sets the property DefaultTargetHostname. /// <para> /// The default target host name to write to. /// </para> /// </summary> public DefaultGatewayRouteRewrite DefaultTargetHostname { get { return this._defaultTargetHostname; } set { this._defaultTargetHostname = value; } } // Check to see if DefaultTargetHostname property is set internal bool IsSetDefaultTargetHostname() { return this._defaultTargetHostname != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a gateway route returned by a list operation. /// </summary> public partial class GatewayRouteRef { private string _arn; private DateTime? _createdAt; private string _gatewayRouteName; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private long? _version; private string _virtualGatewayName; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) for the gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// <summary> /// Gets and sets the property CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property GatewayRouteName. /// <para> /// The name of the gateway route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string GatewayRouteName { get { return this._gatewayRouteName; } set { this._gatewayRouteName = value; } } // Check to see if GatewayRouteName property is set internal bool IsSetGatewayRouteName() { return this._gatewayRouteName != null; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh that the resource resides in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } /// <summary> /// Gets and sets the property VirtualGatewayName. /// <para> /// The virtual gateway that the gateway route is associated with. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
225
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a gateway route specification. Specify one gateway route /// type. /// </summary> public partial class GatewayRouteSpec { private GrpcGatewayRoute _grpcRoute; private HttpGatewayRoute _http2Route; private HttpGatewayRoute _httpRoute; private int? _priority; /// <summary> /// Gets and sets the property GrpcRoute. /// <para> /// An object that represents the specification of a gRPC gateway route. /// </para> /// </summary> public GrpcGatewayRoute GrpcRoute { get { return this._grpcRoute; } set { this._grpcRoute = value; } } // Check to see if GrpcRoute property is set internal bool IsSetGrpcRoute() { return this._grpcRoute != null; } /// <summary> /// Gets and sets the property Http2Route. /// <para> /// An object that represents the specification of an HTTP/2 gateway route. /// </para> /// </summary> public HttpGatewayRoute Http2Route { get { return this._http2Route; } set { this._http2Route = value; } } // Check to see if Http2Route property is set internal bool IsSetHttp2Route() { return this._http2Route != null; } /// <summary> /// Gets and sets the property HttpRoute. /// <para> /// An object that represents the specification of an HTTP gateway route. /// </para> /// </summary> public HttpGatewayRoute HttpRoute { get { return this._httpRoute; } set { this._httpRoute = value; } } // Check to see if HttpRoute property is set internal bool IsSetHttpRoute() { return this._httpRoute != null; } /// <summary> /// Gets and sets the property Priority. /// <para> /// The ordering of the gateway routes spec. /// </para> /// </summary> [AWSProperty(Min=0, Max=1000)] public int Priority { get { return this._priority.GetValueOrDefault(); } set { this._priority = value; } } // Check to see if Priority property is set internal bool IsSetPriority() { return this._priority.HasValue; } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the current status of a gateway route. /// </summary> public partial class GatewayRouteStatus { private GatewayRouteStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current status for the gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a gateway route target. /// </summary> public partial class GatewayRouteTarget { private int? _port; private GatewayRouteVirtualService _virtualService; /// <summary> /// Gets and sets the property Port. /// <para> /// The port number of the gateway route target. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property VirtualService. /// <para> /// An object that represents a virtual service gateway route target. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteVirtualService VirtualService { get { return this._virtualService; } set { this._virtualService = value; } } // Check to see if VirtualService property is set internal bool IsSetVirtualService() { return this._virtualService != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the virtual service that traffic is routed to. /// </summary> public partial class GatewayRouteVirtualService { private string _virtualServiceName; /// <summary> /// Gets and sets the property VirtualServiceName. /// <para> /// The name of the virtual service that traffic is routed to. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualServiceName { get { return this._virtualServiceName; } set { this._virtualServiceName = value; } } // Check to see if VirtualServiceName property is set internal bool IsSetVirtualServiceName() { return this._virtualServiceName != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a gRPC gateway route. /// </summary> public partial class GrpcGatewayRoute { private GrpcGatewayRouteAction _action; private GrpcGatewayRouteMatch _match; /// <summary> /// Gets and sets the property Action. /// <para> /// An object that represents the action to take if a match is determined. /// </para> /// </summary> [AWSProperty(Required=true)] public GrpcGatewayRouteAction Action { get { return this._action; } set { this._action = value; } } // Check to see if Action property is set internal bool IsSetAction() { return this._action != null; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the criteria for determining a request match. /// </para> /// </summary> [AWSProperty(Required=true)] public GrpcGatewayRouteMatch Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the action to take if a match is determined. /// </summary> public partial class GrpcGatewayRouteAction { private GrpcGatewayRouteRewrite _rewrite; private GatewayRouteTarget _target; /// <summary> /// Gets and sets the property Rewrite. /// <para> /// The gateway route action to rewrite. /// </para> /// </summary> public GrpcGatewayRouteRewrite Rewrite { get { return this._rewrite; } set { this._rewrite = value; } } // Check to see if Rewrite property is set internal bool IsSetRewrite() { return this._rewrite != null; } /// <summary> /// Gets and sets the property Target. /// <para> /// An object that represents the target that traffic is routed to when a request matches /// the gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteTarget Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the criteria for determining a request match. /// </summary> public partial class GrpcGatewayRouteMatch { private GatewayRouteHostnameMatch _hostname; private List<GrpcGatewayRouteMetadata> _metadata = new List<GrpcGatewayRouteMetadata>(); private int? _port; private string _serviceName; /// <summary> /// Gets and sets the property Hostname. /// <para> /// The gateway route host name to be matched on. /// </para> /// </summary> public GatewayRouteHostnameMatch Hostname { get { return this._hostname; } set { this._hostname = value; } } // Check to see if Hostname property is set internal bool IsSetHostname() { return this._hostname != null; } /// <summary> /// Gets and sets the property Metadata. /// <para> /// The gateway route metadata to be matched on. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public List<GrpcGatewayRouteMetadata> Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null && this._metadata.Count > 0; } /// <summary> /// Gets and sets the property Port. /// <para> /// The port number to match from the request. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property ServiceName. /// <para> /// The fully qualified domain name for the service to match from the request. /// </para> /// </summary> public string ServiceName { get { return this._serviceName; } set { this._serviceName = value; } } // Check to see if ServiceName property is set internal bool IsSetServiceName() { return this._serviceName != null; } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the metadata of the gateway route. /// </summary> public partial class GrpcGatewayRouteMetadata { private bool? _invert; private GrpcMetadataMatchMethod _match; private string _name; /// <summary> /// Gets and sets the property Invert. /// <para> /// Specify <code>True</code> to match anything except the match criteria. The default /// value is <code>False</code>. /// </para> /// </summary> public bool Invert { get { return this._invert.GetValueOrDefault(); } set { this._invert = value; } } // Check to see if Invert property is set internal bool IsSetInvert() { return this._invert.HasValue; } /// <summary> /// Gets and sets the property Match. /// <para> /// The criteria for determining a metadata match. /// </para> /// </summary> public GrpcMetadataMatchMethod Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A name for the gateway route metadata. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=50)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the gateway route to rewrite. /// </summary> public partial class GrpcGatewayRouteRewrite { private GatewayRouteHostnameRewrite _hostname; /// <summary> /// Gets and sets the property Hostname. /// <para> /// The host name of the gateway route to rewrite. /// </para> /// </summary> public GatewayRouteHostnameRewrite Hostname { get { return this._hostname; } set { this._hostname = value; } } // Check to see if Hostname property is set internal bool IsSetHostname() { return this._hostname != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the method header to be matched. /// </summary> public partial class GrpcMetadataMatchMethod { private string _exact; private string _prefix; private MatchRange _range; private string _regex; private string _suffix; /// <summary> /// Gets and sets the property Exact. /// <para> /// The exact method header to be matched on. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null; } /// <summary> /// Gets and sets the property Prefix. /// <para> /// The specified beginning characters of the method header to be matched on. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// <summary> /// Gets and sets the property Range. /// </summary> public MatchRange Range { get { return this._range; } set { this._range = value; } } // Check to see if Range property is set internal bool IsSetRange() { return this._range != null; } /// <summary> /// Gets and sets the property Regex. /// <para> /// The regex used to match the method header. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Regex { get { return this._regex; } set { this._regex = value; } } // Check to see if Regex property is set internal bool IsSetRegex() { return this._regex != null; } /// <summary> /// Gets and sets the property Suffix. /// <para> /// The specified ending characters of the method header to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Suffix { get { return this._suffix; } set { this._suffix = value; } } // Check to see if Suffix property is set internal bool IsSetSuffix() { return this._suffix != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a retry policy. Specify at least one value for at least /// one of the types of <code>RetryEvents</code>, a value for <code>maxRetries</code>, /// and a value for <code>perRetryTimeout</code>. Both <code>server-error</code> and <code>gateway-error</code> /// under <code>httpRetryEvents</code> include the Envoy <code>reset</code> policy. For /// more information on the <code>reset</code> policy, see the <a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on">Envoy /// documentation</a>. /// </summary> public partial class GrpcRetryPolicy { private List<string> _grpcRetryEvents = new List<string>(); private List<string> _httpRetryEvents = new List<string>(); private long? _maxRetries; private Duration _perRetryTimeout; private List<string> _tcpRetryEvents = new List<string>(); /// <summary> /// Gets and sets the property GrpcRetryEvents. /// <para> /// Specify at least one of the valid values. /// </para> /// </summary> [AWSProperty(Min=1, Max=5)] public List<string> GrpcRetryEvents { get { return this._grpcRetryEvents; } set { this._grpcRetryEvents = value; } } // Check to see if GrpcRetryEvents property is set internal bool IsSetGrpcRetryEvents() { return this._grpcRetryEvents != null && this._grpcRetryEvents.Count > 0; } /// <summary> /// Gets and sets the property HttpRetryEvents. /// <para> /// Specify at least one of the following values. /// </para> /// <ul> <li> /// <para> /// <b>server-error</b> – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, /// 510, and 511 /// </para> /// </li> <li> /// <para> /// <b>gateway-error</b> – HTTP status codes 502, 503, and 504 /// </para> /// </li> <li> /// <para> /// <b>client-error</b> – HTTP status code 409 /// </para> /// </li> <li> /// <para> /// <b>stream-error</b> – Retry on refused stream /// </para> /// </li> </ul> /// </summary> [AWSProperty(Min=1, Max=25)] public List<string> HttpRetryEvents { get { return this._httpRetryEvents; } set { this._httpRetryEvents = value; } } // Check to see if HttpRetryEvents property is set internal bool IsSetHttpRetryEvents() { return this._httpRetryEvents != null && this._httpRetryEvents.Count > 0; } /// <summary> /// Gets and sets the property MaxRetries. /// <para> /// The maximum number of retry attempts. /// </para> /// </summary> [AWSProperty(Required=true, Min=0)] public long MaxRetries { get { return this._maxRetries.GetValueOrDefault(); } set { this._maxRetries = value; } } // Check to see if MaxRetries property is set internal bool IsSetMaxRetries() { return this._maxRetries.HasValue; } /// <summary> /// Gets and sets the property PerRetryTimeout. /// <para> /// The timeout for each retry attempt. /// </para> /// </summary> [AWSProperty(Required=true)] public Duration PerRetryTimeout { get { return this._perRetryTimeout; } set { this._perRetryTimeout = value; } } // Check to see if PerRetryTimeout property is set internal bool IsSetPerRetryTimeout() { return this._perRetryTimeout != null; } /// <summary> /// Gets and sets the property TcpRetryEvents. /// <para> /// Specify a valid value. The event occurs before any processing of a request has started /// and is encountered when the upstream is temporarily or permanently unavailable. /// </para> /// </summary> [AWSProperty(Min=1, Max=1)] public List<string> TcpRetryEvents { get { return this._tcpRetryEvents; } set { this._tcpRetryEvents = value; } } // Check to see if TcpRetryEvents property is set internal bool IsSetTcpRetryEvents() { return this._tcpRetryEvents != null && this._tcpRetryEvents.Count > 0; } } }
162
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a gRPC route type. /// </summary> public partial class GrpcRoute { private GrpcRouteAction _action; private GrpcRouteMatch _match; private GrpcRetryPolicy _retryPolicy; private GrpcTimeout _timeout; /// <summary> /// Gets and sets the property Action. /// <para> /// An object that represents the action to take if a match is determined. /// </para> /// </summary> [AWSProperty(Required=true)] public GrpcRouteAction Action { get { return this._action; } set { this._action = value; } } // Check to see if Action property is set internal bool IsSetAction() { return this._action != null; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the criteria for determining a request match. /// </para> /// </summary> [AWSProperty(Required=true)] public GrpcRouteMatch Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property RetryPolicy. /// <para> /// An object that represents a retry policy. /// </para> /// </summary> public GrpcRetryPolicy RetryPolicy { get { return this._retryPolicy; } set { this._retryPolicy = value; } } // Check to see if RetryPolicy property is set internal bool IsSetRetryPolicy() { return this._retryPolicy != null; } /// <summary> /// Gets and sets the property Timeout. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public GrpcTimeout Timeout { get { return this._timeout; } set { this._timeout = value; } } // Check to see if Timeout property is set internal bool IsSetTimeout() { return this._timeout != null; } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the action to take if a match is determined. /// </summary> public partial class GrpcRouteAction { private List<WeightedTarget> _weightedTargets = new List<WeightedTarget>(); /// <summary> /// Gets and sets the property WeightedTargets. /// <para> /// An object that represents the targets that traffic is routed to when a request matches /// the route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=10)] public List<WeightedTarget> WeightedTargets { get { return this._weightedTargets; } set { this._weightedTargets = value; } } // Check to see if WeightedTargets property is set internal bool IsSetWeightedTargets() { return this._weightedTargets != null && this._weightedTargets.Count > 0; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the criteria for determining a request match. /// </summary> public partial class GrpcRouteMatch { private List<GrpcRouteMetadata> _metadata = new List<GrpcRouteMetadata>(); private string _methodName; private int? _port; private string _serviceName; /// <summary> /// Gets and sets the property Metadata. /// <para> /// An object that represents the data to match from the request. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public List<GrpcRouteMetadata> Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null && this._metadata.Count > 0; } /// <summary> /// Gets and sets the property MethodName. /// <para> /// The method name to match from the request. If you specify a name, you must also specify /// a <code>serviceName</code>. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public string MethodName { get { return this._methodName; } set { this._methodName = value; } } // Check to see if MethodName property is set internal bool IsSetMethodName() { return this._methodName != null; } /// <summary> /// Gets and sets the property Port. /// <para> /// The port number to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property ServiceName. /// <para> /// The fully qualified domain name for the service to match from the request. /// </para> /// </summary> public string ServiceName { get { return this._serviceName; } set { this._serviceName = value; } } // Check to see if ServiceName property is set internal bool IsSetServiceName() { return this._serviceName != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the match metadata for the route. /// </summary> public partial class GrpcRouteMetadata { private bool? _invert; private GrpcRouteMetadataMatchMethod _match; private string _name; /// <summary> /// Gets and sets the property Invert. /// <para> /// Specify <code>True</code> to match anything except the match criteria. The default /// value is <code>False</code>. /// </para> /// </summary> public bool Invert { get { return this._invert.GetValueOrDefault(); } set { this._invert = value; } } // Check to see if Invert property is set internal bool IsSetInvert() { return this._invert.HasValue; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the data to match from the request. /// </para> /// </summary> public GrpcRouteMetadataMatchMethod Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=50)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the match method. Specify one of the match values. /// </summary> public partial class GrpcRouteMetadataMatchMethod { private string _exact; private string _prefix; private MatchRange _range; private string _regex; private string _suffix; /// <summary> /// Gets and sets the property Exact. /// <para> /// The value sent by the client must match the specified value exactly. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null; } /// <summary> /// Gets and sets the property Prefix. /// <para> /// The value sent by the client must begin with the specified characters. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// <summary> /// Gets and sets the property Range. /// <para> /// An object that represents the range of values to match on. /// </para> /// </summary> public MatchRange Range { get { return this._range; } set { this._range = value; } } // Check to see if Range property is set internal bool IsSetRange() { return this._range != null; } /// <summary> /// Gets and sets the property Regex. /// <para> /// The value sent by the client must include the specified characters. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Regex { get { return this._regex; } set { this._regex = value; } } // Check to see if Regex property is set internal bool IsSetRegex() { return this._regex != null; } /// <summary> /// Gets and sets the property Suffix. /// <para> /// The value sent by the client must end with the specified characters. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Suffix { get { return this._suffix; } set { this._suffix = value; } } // Check to see if Suffix property is set internal bool IsSetSuffix() { return this._suffix != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents types of timeouts. /// </summary> public partial class GrpcTimeout { private Duration _idle; private Duration _perRequest; /// <summary> /// Gets and sets the property Idle. /// <para> /// An object that represents an idle timeout. An idle timeout bounds the amount of time /// that a connection may be idle. The default value is none. /// </para> /// </summary> public Duration Idle { get { return this._idle; } set { this._idle = value; } } // Check to see if Idle property is set internal bool IsSetIdle() { return this._idle != null; } /// <summary> /// Gets and sets the property PerRequest. /// <para> /// An object that represents a per request timeout. The default value is 15 seconds. /// If you set a higher timeout, then make sure that the higher value is set for each /// App Mesh resource in a conversation. For example, if a virtual node backend uses a /// virtual router provider to route to another virtual node, then the timeout should /// be greater than 15 seconds for the source and destination virtual node and the route. /// </para> /// </summary> public Duration PerRequest { get { return this._perRequest; } set { this._perRequest = value; } } // Check to see if PerRequest property is set internal bool IsSetPerRequest() { return this._perRequest != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the method and value to match with the header value sent /// in a request. Specify one match method. /// </summary> public partial class HeaderMatchMethod { private string _exact; private string _prefix; private MatchRange _range; private string _regex; private string _suffix; /// <summary> /// Gets and sets the property Exact. /// <para> /// The value sent by the client must match the specified value exactly. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null; } /// <summary> /// Gets and sets the property Prefix. /// <para> /// The value sent by the client must begin with the specified characters. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// <summary> /// Gets and sets the property Range. /// <para> /// An object that represents the range of values to match on. /// </para> /// </summary> public MatchRange Range { get { return this._range; } set { this._range = value; } } // Check to see if Range property is set internal bool IsSetRange() { return this._range != null; } /// <summary> /// Gets and sets the property Regex. /// <para> /// The value sent by the client must include the specified characters. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Regex { get { return this._regex; } set { this._regex = value; } } // Check to see if Regex property is set internal bool IsSetRegex() { return this._regex != null; } /// <summary> /// Gets and sets the property Suffix. /// <para> /// The value sent by the client must end with the specified characters. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Suffix { get { return this._suffix; } set { this._suffix = value; } } // Check to see if Suffix property is set internal bool IsSetSuffix() { return this._suffix != null; } } }
138
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the health check policy for a virtual node's listener. /// </summary> public partial class HealthCheckPolicy { private int? _healthyThreshold; private long? _intervalMillis; private string _path; private int? _port; private PortProtocol _protocol; private long? _timeoutMillis; private int? _unhealthyThreshold; /// <summary> /// Gets and sets the property HealthyThreshold. /// <para> /// The number of consecutive successful health checks that must occur before declaring /// listener healthy. /// </para> /// </summary> [AWSProperty(Required=true, Min=2, Max=10)] public int HealthyThreshold { get { return this._healthyThreshold.GetValueOrDefault(); } set { this._healthyThreshold = value; } } // Check to see if HealthyThreshold property is set internal bool IsSetHealthyThreshold() { return this._healthyThreshold.HasValue; } /// <summary> /// Gets and sets the property IntervalMillis. /// <para> /// The time period in milliseconds between each health check execution. /// </para> /// </summary> [AWSProperty(Required=true, Min=5000, Max=300000)] public long IntervalMillis { get { return this._intervalMillis.GetValueOrDefault(); } set { this._intervalMillis = value; } } // Check to see if IntervalMillis property is set internal bool IsSetIntervalMillis() { return this._intervalMillis.HasValue; } /// <summary> /// Gets and sets the property Path. /// <para> /// The destination path for the health check request. This value is only used if the /// specified protocol is HTTP or HTTP/2. For any other protocol, this value is ignored. /// </para> /// </summary> public string Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } /// <summary> /// Gets and sets the property Port. /// <para> /// The destination port for the health check request. This port must match the port defined /// in the <a>PortMapping</a> for the listener. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property Protocol. /// <para> /// The protocol for the health check request. If you specify <code>grpc</code>, then /// your service must conform to the <a href="https://github.com/grpc/grpc/blob/master/doc/health-checking.md">GRPC /// Health Checking Protocol</a>. /// </para> /// </summary> [AWSProperty(Required=true)] public PortProtocol Protocol { get { return this._protocol; } set { this._protocol = value; } } // Check to see if Protocol property is set internal bool IsSetProtocol() { return this._protocol != null; } /// <summary> /// Gets and sets the property TimeoutMillis. /// <para> /// The amount of time to wait when receiving a response from the health check, in milliseconds. /// </para> /// </summary> [AWSProperty(Required=true, Min=2000, Max=60000)] public long TimeoutMillis { get { return this._timeoutMillis.GetValueOrDefault(); } set { this._timeoutMillis = value; } } // Check to see if TimeoutMillis property is set internal bool IsSetTimeoutMillis() { return this._timeoutMillis.HasValue; } /// <summary> /// Gets and sets the property UnhealthyThreshold. /// <para> /// The number of consecutive failed health checks that must occur before declaring a /// virtual node unhealthy. /// </para> /// </summary> [AWSProperty(Required=true, Min=2, Max=10)] public int UnhealthyThreshold { get { return this._unhealthyThreshold.GetValueOrDefault(); } set { this._unhealthyThreshold = value; } } // Check to see if UnhealthyThreshold property is set internal bool IsSetUnhealthyThreshold() { return this._unhealthyThreshold.HasValue; } } }
183
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents an HTTP gateway route. /// </summary> public partial class HttpGatewayRoute { private HttpGatewayRouteAction _action; private HttpGatewayRouteMatch _match; /// <summary> /// Gets and sets the property Action. /// <para> /// An object that represents the action to take if a match is determined. /// </para> /// </summary> [AWSProperty(Required=true)] public HttpGatewayRouteAction Action { get { return this._action; } set { this._action = value; } } // Check to see if Action property is set internal bool IsSetAction() { return this._action != null; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the criteria for determining a request match. /// </para> /// </summary> [AWSProperty(Required=true)] public HttpGatewayRouteMatch Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the action to take if a match is determined. /// </summary> public partial class HttpGatewayRouteAction { private HttpGatewayRouteRewrite _rewrite; private GatewayRouteTarget _target; /// <summary> /// Gets and sets the property Rewrite. /// <para> /// The gateway route action to rewrite. /// </para> /// </summary> public HttpGatewayRouteRewrite Rewrite { get { return this._rewrite; } set { this._rewrite = value; } } // Check to see if Rewrite property is set internal bool IsSetRewrite() { return this._rewrite != null; } /// <summary> /// Gets and sets the property Target. /// <para> /// An object that represents the target that traffic is routed to when a request matches /// the gateway route. /// </para> /// </summary> [AWSProperty(Required=true)] public GatewayRouteTarget Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the HTTP header in the gateway route. /// </summary> public partial class HttpGatewayRouteHeader { private bool? _invert; private HeaderMatchMethod _match; private string _name; /// <summary> /// Gets and sets the property Invert. /// <para> /// Specify <code>True</code> to match anything except the match criteria. The default /// value is <code>False</code>. /// </para> /// </summary> public bool Invert { get { return this._invert.GetValueOrDefault(); } set { this._invert = value; } } // Check to see if Invert property is set internal bool IsSetInvert() { return this._invert.HasValue; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the method and value to match with the header value sent /// in a request. Specify one match method. /// </para> /// </summary> public HeaderMatchMethod Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A name for the HTTP header in the gateway route that will be matched on. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=50)] 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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the criteria for determining a request match. /// </summary> public partial class HttpGatewayRouteMatch { private List<HttpGatewayRouteHeader> _headers = new List<HttpGatewayRouteHeader>(); private GatewayRouteHostnameMatch _hostname; private HttpMethod _method; private HttpPathMatch _path; private int? _port; private string _prefix; private List<HttpQueryParameter> _queryParameters = new List<HttpQueryParameter>(); /// <summary> /// Gets and sets the property Headers. /// <para> /// The client request headers to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public List<HttpGatewayRouteHeader> Headers { get { return this._headers; } set { this._headers = value; } } // Check to see if Headers property is set internal bool IsSetHeaders() { return this._headers != null && this._headers.Count > 0; } /// <summary> /// Gets and sets the property Hostname. /// <para> /// The host name to match on. /// </para> /// </summary> public GatewayRouteHostnameMatch Hostname { get { return this._hostname; } set { this._hostname = value; } } // Check to see if Hostname property is set internal bool IsSetHostname() { return this._hostname != null; } /// <summary> /// Gets and sets the property Method. /// <para> /// The method to match on. /// </para> /// </summary> public HttpMethod Method { get { return this._method; } set { this._method = value; } } // Check to see if Method property is set internal bool IsSetMethod() { return this._method != null; } /// <summary> /// Gets and sets the property Path. /// <para> /// The path to match on. /// </para> /// </summary> public HttpPathMatch Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } /// <summary> /// Gets and sets the property Port. /// <para> /// The port number to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property Prefix. /// <para> /// Specifies the path to match requests with. This parameter must always start with <code>/</code>, /// which by itself matches all requests to the virtual service name. You can also match /// for path-based routing of requests. For example, if your virtual service name is <code>my-service.local</code> /// and you want the route to match requests to <code>my-service.local/metrics</code>, /// your prefix should be <code>/metrics</code>. /// </para> /// </summary> public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// <summary> /// Gets and sets the property QueryParameters. /// <para> /// The query parameter to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public List<HttpQueryParameter> QueryParameters { get { return this._queryParameters; } set { this._queryParameters = value; } } // Check to see if QueryParameters property is set internal bool IsSetQueryParameters() { return this._queryParameters != null && this._queryParameters.Count > 0; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the path to rewrite. /// </summary> public partial class HttpGatewayRoutePathRewrite { private string _exact; /// <summary> /// Gets and sets the property Exact. /// <para> /// The exact path to rewrite. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the beginning characters of the route to rewrite. /// </summary> public partial class HttpGatewayRoutePrefixRewrite { private DefaultGatewayRouteRewrite _defaultPrefix; private string _value; /// <summary> /// Gets and sets the property DefaultPrefix. /// <para> /// The default prefix used to replace the incoming route prefix when rewritten. /// </para> /// </summary> public DefaultGatewayRouteRewrite DefaultPrefix { get { return this._defaultPrefix; } set { this._defaultPrefix = value; } } // Check to see if DefaultPrefix property is set internal bool IsSetDefaultPrefix() { return this._defaultPrefix != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// The value used to replace the incoming route prefix when rewritten. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] 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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the gateway route to rewrite. /// </summary> public partial class HttpGatewayRouteRewrite { private GatewayRouteHostnameRewrite _hostname; private HttpGatewayRoutePathRewrite _path; private HttpGatewayRoutePrefixRewrite _prefix; /// <summary> /// Gets and sets the property Hostname. /// <para> /// The host name to rewrite. /// </para> /// </summary> public GatewayRouteHostnameRewrite Hostname { get { return this._hostname; } set { this._hostname = value; } } // Check to see if Hostname property is set internal bool IsSetHostname() { return this._hostname != null; } /// <summary> /// Gets and sets the property Path. /// <para> /// The path to rewrite. /// </para> /// </summary> public HttpGatewayRoutePathRewrite Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } /// <summary> /// Gets and sets the property Prefix. /// <para> /// The specified beginning characters to rewrite. /// </para> /// </summary> public HttpGatewayRoutePrefixRewrite Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } } }
95
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object representing the path to match in the request. /// </summary> public partial class HttpPathMatch { private string _exact; private string _regex; /// <summary> /// Gets and sets the property Exact. /// <para> /// The exact path to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Exact { get { return this._exact; } set { this._exact = value; } } // Check to see if Exact property is set internal bool IsSetExact() { return this._exact != null; } /// <summary> /// Gets and sets the property Regex. /// <para> /// The regex used to match the path. /// </para> /// </summary> [AWSProperty(Min=1, Max=255)] public string Regex { get { return this._regex; } set { this._regex = value; } } // Check to see if Regex property is set internal bool IsSetRegex() { return this._regex != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the query parameter in the request. /// </summary> public partial class HttpQueryParameter { private QueryParameterMatch _match; private string _name; /// <summary> /// Gets and sets the property Match. /// <para> /// The query parameter to match on. /// </para> /// </summary> public QueryParameterMatch Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A name for the query parameter that will be matched on. /// </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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a retry policy. Specify at least one value for at least /// one of the types of <code>RetryEvents</code>, a value for <code>maxRetries</code>, /// and a value for <code>perRetryTimeout</code>. Both <code>server-error</code> and <code>gateway-error</code> /// under <code>httpRetryEvents</code> include the Envoy <code>reset</code> policy. For /// more information on the <code>reset</code> policy, see the <a href="https://www.envoyproxy.io/docs/envoy/latest/configuration/http/http_filters/router_filter#x-envoy-retry-on">Envoy /// documentation</a>. /// </summary> public partial class HttpRetryPolicy { private List<string> _httpRetryEvents = new List<string>(); private long? _maxRetries; private Duration _perRetryTimeout; private List<string> _tcpRetryEvents = new List<string>(); /// <summary> /// Gets and sets the property HttpRetryEvents. /// <para> /// Specify at least one of the following values. /// </para> /// <ul> <li> /// <para> /// <b>server-error</b> – HTTP status codes 500, 501, 502, 503, 504, 505, 506, 507, 508, /// 510, and 511 /// </para> /// </li> <li> /// <para> /// <b>gateway-error</b> – HTTP status codes 502, 503, and 504 /// </para> /// </li> <li> /// <para> /// <b>client-error</b> – HTTP status code 409 /// </para> /// </li> <li> /// <para> /// <b>stream-error</b> – Retry on refused stream /// </para> /// </li> </ul> /// </summary> [AWSProperty(Min=1, Max=25)] public List<string> HttpRetryEvents { get { return this._httpRetryEvents; } set { this._httpRetryEvents = value; } } // Check to see if HttpRetryEvents property is set internal bool IsSetHttpRetryEvents() { return this._httpRetryEvents != null && this._httpRetryEvents.Count > 0; } /// <summary> /// Gets and sets the property MaxRetries. /// <para> /// The maximum number of retry attempts. /// </para> /// </summary> [AWSProperty(Required=true, Min=0)] public long MaxRetries { get { return this._maxRetries.GetValueOrDefault(); } set { this._maxRetries = value; } } // Check to see if MaxRetries property is set internal bool IsSetMaxRetries() { return this._maxRetries.HasValue; } /// <summary> /// Gets and sets the property PerRetryTimeout. /// <para> /// The timeout for each retry attempt. /// </para> /// </summary> [AWSProperty(Required=true)] public Duration PerRetryTimeout { get { return this._perRetryTimeout; } set { this._perRetryTimeout = value; } } // Check to see if PerRetryTimeout property is set internal bool IsSetPerRetryTimeout() { return this._perRetryTimeout != null; } /// <summary> /// Gets and sets the property TcpRetryEvents. /// <para> /// Specify a valid value. The event occurs before any processing of a request has started /// and is encountered when the upstream is temporarily or permanently unavailable. /// </para> /// </summary> [AWSProperty(Min=1, Max=1)] public List<string> TcpRetryEvents { get { return this._tcpRetryEvents; } set { this._tcpRetryEvents = value; } } // Check to see if TcpRetryEvents property is set internal bool IsSetTcpRetryEvents() { return this._tcpRetryEvents != null && this._tcpRetryEvents.Count > 0; } } }
142
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents an HTTP or HTTP/2 route type. /// </summary> public partial class HttpRoute { private HttpRouteAction _action; private HttpRouteMatch _match; private HttpRetryPolicy _retryPolicy; private HttpTimeout _timeout; /// <summary> /// Gets and sets the property Action. /// <para> /// An object that represents the action to take if a match is determined. /// </para> /// </summary> [AWSProperty(Required=true)] public HttpRouteAction Action { get { return this._action; } set { this._action = value; } } // Check to see if Action property is set internal bool IsSetAction() { return this._action != null; } /// <summary> /// Gets and sets the property Match. /// <para> /// An object that represents the criteria for determining a request match. /// </para> /// </summary> [AWSProperty(Required=true)] public HttpRouteMatch Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property RetryPolicy. /// <para> /// An object that represents a retry policy. /// </para> /// </summary> public HttpRetryPolicy RetryPolicy { get { return this._retryPolicy; } set { this._retryPolicy = value; } } // Check to see if RetryPolicy property is set internal bool IsSetRetryPolicy() { return this._retryPolicy != null; } /// <summary> /// Gets and sets the property Timeout. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public HttpTimeout Timeout { get { return this._timeout; } set { this._timeout = value; } } // Check to see if Timeout property is set internal bool IsSetTimeout() { return this._timeout != null; } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the action to take if a match is determined. /// </summary> public partial class HttpRouteAction { private List<WeightedTarget> _weightedTargets = new List<WeightedTarget>(); /// <summary> /// Gets and sets the property WeightedTargets. /// <para> /// An object that represents the targets that traffic is routed to when a request matches /// the route. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=10)] public List<WeightedTarget> WeightedTargets { get { return this._weightedTargets; } set { this._weightedTargets = value; } } // Check to see if WeightedTargets property is set internal bool IsSetWeightedTargets() { return this._weightedTargets != null && this._weightedTargets.Count > 0; } } }
59
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the HTTP header in the request. /// </summary> public partial class HttpRouteHeader { private bool? _invert; private HeaderMatchMethod _match; private string _name; /// <summary> /// Gets and sets the property Invert. /// <para> /// Specify <code>True</code> to match anything except the match criteria. The default /// value is <code>False</code>. /// </para> /// </summary> public bool Invert { get { return this._invert.GetValueOrDefault(); } set { this._invert = value; } } // Check to see if Invert property is set internal bool IsSetInvert() { return this._invert.HasValue; } /// <summary> /// Gets and sets the property Match. /// <para> /// The <code>HeaderMatchMethod</code> object. /// </para> /// </summary> public HeaderMatchMethod Match { get { return this._match; } set { this._match = value; } } // Check to see if Match property is set internal bool IsSetMatch() { return this._match != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// A name for the HTTP header in the client request that will be matched on. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=50)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the requirements for a route to match HTTP requests for /// a virtual router. /// </summary> public partial class HttpRouteMatch { private List<HttpRouteHeader> _headers = new List<HttpRouteHeader>(); private HttpMethod _method; private HttpPathMatch _path; private int? _port; private string _prefix; private List<HttpQueryParameter> _queryParameters = new List<HttpQueryParameter>(); private HttpScheme _scheme; /// <summary> /// Gets and sets the property Headers. /// <para> /// The client request headers to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public List<HttpRouteHeader> Headers { get { return this._headers; } set { this._headers = value; } } // Check to see if Headers property is set internal bool IsSetHeaders() { return this._headers != null && this._headers.Count > 0; } /// <summary> /// Gets and sets the property Method. /// <para> /// The client request method to match on. Specify only one. /// </para> /// </summary> public HttpMethod Method { get { return this._method; } set { this._method = value; } } // Check to see if Method property is set internal bool IsSetMethod() { return this._method != null; } /// <summary> /// Gets and sets the property Path. /// <para> /// The client request path to match on. /// </para> /// </summary> public HttpPathMatch Path { get { return this._path; } set { this._path = value; } } // Check to see if Path property is set internal bool IsSetPath() { return this._path != null; } /// <summary> /// Gets and sets the property Port. /// <para> /// The port number to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=65535)] public int Port { get { return this._port.GetValueOrDefault(); } set { this._port = value; } } // Check to see if Port property is set internal bool IsSetPort() { return this._port.HasValue; } /// <summary> /// Gets and sets the property Prefix. /// <para> /// Specifies the path to match requests with. This parameter must always start with <code>/</code>, /// which by itself matches all requests to the virtual service name. You can also match /// for path-based routing of requests. For example, if your virtual service name is <code>my-service.local</code> /// and you want the route to match requests to <code>my-service.local/metrics</code>, /// your prefix should be <code>/metrics</code>. /// </para> /// </summary> public string Prefix { get { return this._prefix; } set { this._prefix = value; } } // Check to see if Prefix property is set internal bool IsSetPrefix() { return this._prefix != null; } /// <summary> /// Gets and sets the property QueryParameters. /// <para> /// The client request query parameters to match on. /// </para> /// </summary> [AWSProperty(Min=1, Max=10)] public List<HttpQueryParameter> QueryParameters { get { return this._queryParameters; } set { this._queryParameters = value; } } // Check to see if QueryParameters property is set internal bool IsSetQueryParameters() { return this._queryParameters != null && this._queryParameters.Count > 0; } /// <summary> /// Gets and sets the property Scheme. /// <para> /// The client request scheme to match on. Specify only one. Applicable only for HTTP2 /// routes. /// </para> /// </summary> public HttpScheme Scheme { get { return this._scheme; } set { this._scheme = value; } } // Check to see if Scheme property is set internal bool IsSetScheme() { return this._scheme != null; } } }
180
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents types of timeouts. /// </summary> public partial class HttpTimeout { private Duration _idle; private Duration _perRequest; /// <summary> /// Gets and sets the property Idle. /// <para> /// An object that represents an idle timeout. An idle timeout bounds the amount of time /// that a connection may be idle. The default value is none. /// </para> /// </summary> public Duration Idle { get { return this._idle; } set { this._idle = value; } } // Check to see if Idle property is set internal bool IsSetIdle() { return this._idle != null; } /// <summary> /// Gets and sets the property PerRequest. /// <para> /// An object that represents a per request timeout. The default value is 15 seconds. /// If you set a higher timeout, then make sure that the higher value is set for each /// App Mesh resource in a conversation. For example, if a virtual node backend uses a /// virtual router provider to route to another virtual node, then the timeout should /// be greater than 15 seconds for the source and destination virtual node and the route. /// </para> /// </summary> public Duration PerRequest { get { return this._perRequest; } set { this._perRequest = value; } } // Check to see if PerRequest property is set internal bool IsSetPerRequest() { return this._perRequest != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// The request processing has failed because of an unknown error, exception, or failure. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class InternalServerErrorException : AmazonAppMeshException { private RetryableDetails _retryableDetails = new RetryableDetails(false); /// <summary> /// Constructs a new InternalServerErrorException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public InternalServerErrorException(string message) : base(message) {} /// <summary> /// Construct instance of InternalServerErrorException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public InternalServerErrorException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of InternalServerErrorException /// </summary> /// <param name="innerException"></param> public InternalServerErrorException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of InternalServerErrorException /// </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 InternalServerErrorException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of InternalServerErrorException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public InternalServerErrorException(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 InternalServerErrorException 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 InternalServerErrorException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif /// <summary> /// Flag indicating if the exception is retryable and the associated retry /// details. A null value indicates that the exception is not retryable. /// </summary> public override RetryableDetails Retryable { get { return _retryableDetails; } } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the key value pairs for the JSON. /// </summary> public partial class JsonFormatRef { private string _key; private string _value; /// <summary> /// Gets and sets the property Key. /// <para> /// The specified key for the JSON. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=100)] public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// The specified value for the JSON. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=100)] 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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// You have exceeded a service limit for your account. For more information, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/service-quotas.html">Service /// Limits</a> in the <i>App Mesh User Guide</i>. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class LimitExceededException : AmazonAppMeshException { /// <summary> /// Constructs a new LimitExceededException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public LimitExceededException(string message) : base(message) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public LimitExceededException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="innerException"></param> public LimitExceededException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public LimitExceededException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of LimitExceededException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public LimitExceededException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the LimitExceededException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected LimitExceededException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a listener for a virtual node. /// </summary> public partial class Listener { private VirtualNodeConnectionPool _connectionPool; private HealthCheckPolicy _healthCheck; private OutlierDetection _outlierDetection; private PortMapping _portMapping; private ListenerTimeout _timeout; private ListenerTls _tls; /// <summary> /// Gets and sets the property ConnectionPool. /// <para> /// The connection pool information for the listener. /// </para> /// </summary> public VirtualNodeConnectionPool ConnectionPool { get { return this._connectionPool; } set { this._connectionPool = value; } } // Check to see if ConnectionPool property is set internal bool IsSetConnectionPool() { return this._connectionPool != null; } /// <summary> /// Gets and sets the property HealthCheck. /// <para> /// The health check information for the listener. /// </para> /// </summary> public HealthCheckPolicy HealthCheck { get { return this._healthCheck; } set { this._healthCheck = value; } } // Check to see if HealthCheck property is set internal bool IsSetHealthCheck() { return this._healthCheck != null; } /// <summary> /// Gets and sets the property OutlierDetection. /// <para> /// The outlier detection information for the listener. /// </para> /// </summary> public OutlierDetection OutlierDetection { get { return this._outlierDetection; } set { this._outlierDetection = value; } } // Check to see if OutlierDetection property is set internal bool IsSetOutlierDetection() { return this._outlierDetection != null; } /// <summary> /// Gets and sets the property PortMapping. /// <para> /// The port mapping information for the listener. /// </para> /// </summary> [AWSProperty(Required=true)] public PortMapping PortMapping { get { return this._portMapping; } set { this._portMapping = value; } } // Check to see if PortMapping property is set internal bool IsSetPortMapping() { return this._portMapping != null; } /// <summary> /// Gets and sets the property Timeout. /// <para> /// An object that represents timeouts for different protocols. /// </para> /// </summary> public ListenerTimeout Timeout { get { return this._timeout; } set { this._timeout = value; } } // Check to see if Timeout property is set internal bool IsSetTimeout() { return this._timeout != null; } /// <summary> /// Gets and sets the property Tls. /// <para> /// A reference to an object that represents the Transport Layer Security (TLS) properties /// for a listener. /// </para> /// </summary> public ListenerTls Tls { get { return this._tls; } set { this._tls = value; } } // Check to see if Tls property is set internal bool IsSetTls() { return this._tls != null; } } }
154
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents timeouts for different protocols. /// </summary> public partial class ListenerTimeout { private GrpcTimeout _grpc; private HttpTimeout _http; private HttpTimeout _http2; private TcpTimeout _tcp; /// <summary> /// Gets and sets the property Grpc. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public GrpcTimeout Grpc { get { return this._grpc; } set { this._grpc = value; } } // Check to see if Grpc property is set internal bool IsSetGrpc() { return this._grpc != null; } /// <summary> /// Gets and sets the property Http. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public HttpTimeout Http { get { return this._http; } set { this._http = value; } } // Check to see if Http property is set internal bool IsSetHttp() { return this._http != null; } /// <summary> /// Gets and sets the property Http2. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public HttpTimeout Http2 { get { return this._http2; } set { this._http2 = value; } } // Check to see if Http2 property is set internal bool IsSetHttp2() { return this._http2 != null; } /// <summary> /// Gets and sets the property Tcp. /// <para> /// An object that represents types of timeouts. /// </para> /// </summary> public TcpTimeout Tcp { get { return this._tcp; } set { this._tcp = value; } } // Check to see if Tcp property is set internal bool IsSetTcp() { return this._tcp != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the Transport Layer Security (TLS) properties for a listener. /// </summary> public partial class ListenerTls { private ListenerTlsCertificate _certificate; private ListenerTlsMode _mode; private ListenerTlsValidationContext _validation; /// <summary> /// Gets and sets the property Certificate. /// <para> /// A reference to an object that represents a listener's Transport Layer Security (TLS) /// certificate. /// </para> /// </summary> [AWSProperty(Required=true)] public ListenerTlsCertificate Certificate { get { return this._certificate; } set { this._certificate = value; } } // Check to see if Certificate property is set internal bool IsSetCertificate() { return this._certificate != null; } /// <summary> /// Gets and sets the property Mode. /// <para> /// Specify one of the following modes. /// </para> /// <ul> <li> /// <para> /// <b/>STRICT – Listener only accepts connections with TLS enabled. /// </para> /// </li> <li> /// <para> /// <b/>PERMISSIVE – Listener accepts connections with or without TLS enabled. /// </para> /// </li> <li> /// <para> /// <b/>DISABLED – Listener only accepts connections without TLS. /// </para> /// </li> </ul> /// </summary> [AWSProperty(Required=true)] public ListenerTlsMode Mode { get { return this._mode; } set { this._mode = value; } } // Check to see if Mode property is set internal bool IsSetMode() { return this._mode != null; } /// <summary> /// Gets and sets the property Validation. /// <para> /// A reference to an object that represents a listener's Transport Layer Security (TLS) /// validation context. /// </para> /// </summary> public ListenerTlsValidationContext Validation { get { return this._validation; } set { this._validation = value; } } // Check to see if Validation property is set internal bool IsSetValidation() { return this._validation != null; } } }
112
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents an Certificate Manager certificate. /// </summary> public partial class ListenerTlsAcmCertificate { private string _certificateArn; /// <summary> /// Gets and sets the property CertificateArn. /// <para> /// The Amazon Resource Name (ARN) for the certificate. The certificate must meet specific /// requirements and you must have proxy authorization enabled. For more information, /// see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html#virtual-node-tls-prerequisites">Transport /// Layer Security (TLS)</a>. /// </para> /// </summary> [AWSProperty(Required=true)] public string CertificateArn { get { return this._certificateArn; } set { this._certificateArn = value; } } // Check to see if CertificateArn property is set internal bool IsSetCertificateArn() { return this._certificateArn != null; } } }
61
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a listener's Transport Layer Security (TLS) certificate. /// </summary> public partial class ListenerTlsCertificate { private ListenerTlsAcmCertificate _acm; private ListenerTlsFileCertificate _file; private ListenerTlsSdsCertificate _sds; /// <summary> /// Gets and sets the property Acm. /// <para> /// A reference to an object that represents an Certificate Manager certificate. /// </para> /// </summary> public ListenerTlsAcmCertificate Acm { get { return this._acm; } set { this._acm = value; } } // Check to see if Acm property is set internal bool IsSetAcm() { return this._acm != null; } /// <summary> /// Gets and sets the property File. /// <para> /// A reference to an object that represents a local file certificate. /// </para> /// </summary> public ListenerTlsFileCertificate File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a listener's Secret Discovery Service certificate. /// </para> /// </summary> public ListenerTlsSdsCertificate Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != null; } } }
95
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a local file certificate. The certificate must meet specific /// requirements and you must have proxy authorization enabled. For more information, /// see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html#virtual-node-tls-prerequisites">Transport /// Layer Security (TLS)</a>. /// </summary> public partial class ListenerTlsFileCertificate { private string _certificateChain; private string _privateKey; /// <summary> /// Gets and sets the property CertificateChain. /// <para> /// The certificate chain for the certificate. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string CertificateChain { get { return this._certificateChain; } set { this._certificateChain = value; } } // Check to see if CertificateChain property is set internal bool IsSetCertificateChain() { return this._certificateChain != null; } /// <summary> /// Gets and sets the property PrivateKey. /// <para> /// The private key for a certificate stored on the file system of the virtual node that /// the proxy is running on. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string PrivateKey { get { return this._privateKey; } set { this._privateKey = value; } } // Check to see if PrivateKey property is set internal bool IsSetPrivateKey() { return this._privateKey != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the listener's Secret Discovery Service certificate. The /// proxy must be configured with a local SDS provider via a Unix Domain Socket. See App /// Mesh <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/tls.html">TLS /// documentation</a> for more info. /// </summary> public partial class ListenerTlsSdsCertificate { private string _secretName; /// <summary> /// Gets and sets the property SecretName. /// <para> /// A reference to an object that represents the name of the secret requested from the /// Secret Discovery Service provider representing Transport Layer Security (TLS) materials /// like a certificate or certificate chain. /// </para> /// </summary> [AWSProperty(Required=true)] public string SecretName { get { return this._secretName; } set { this._secretName = value; } } // Check to see if SecretName property is set internal bool IsSetSecretName() { return this._secretName != null; } } }
63
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a listener's Transport Layer Security (TLS) validation context. /// </summary> public partial class ListenerTlsValidationContext { private SubjectAlternativeNames _subjectAlternativeNames; private ListenerTlsValidationContextTrust _trust; /// <summary> /// Gets and sets the property SubjectAlternativeNames. /// <para> /// A reference to an object that represents the SANs for a listener's Transport Layer /// Security (TLS) validation context. /// </para> /// </summary> public SubjectAlternativeNames SubjectAlternativeNames { get { return this._subjectAlternativeNames; } set { this._subjectAlternativeNames = value; } } // Check to see if SubjectAlternativeNames property is set internal bool IsSetSubjectAlternativeNames() { return this._subjectAlternativeNames != null; } /// <summary> /// Gets and sets the property Trust. /// <para> /// A reference to where to retrieve the trust chain when validating a peer’s Transport /// Layer Security (TLS) certificate. /// </para> /// </summary> [AWSProperty(Required=true)] public ListenerTlsValidationContextTrust Trust { get { return this._trust; } set { this._trust = value; } } // Check to see if Trust property is set internal bool IsSetTrust() { return this._trust != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a listener's Transport Layer Security (TLS) validation context /// trust. /// </summary> public partial class ListenerTlsValidationContextTrust { private TlsValidationContextFileTrust _file; private TlsValidationContextSdsTrust _sds; /// <summary> /// Gets and sets the property File. /// <para> /// An object that represents a Transport Layer Security (TLS) validation context trust /// for a local file. /// </para> /// </summary> public TlsValidationContextFileTrust File { get { return this._file; } set { this._file = value; } } // Check to see if File property is set internal bool IsSetFile() { return this._file != null; } /// <summary> /// Gets and sets the property Sds. /// <para> /// A reference to an object that represents a listener's Transport Layer Security (TLS) /// Secret Discovery Service validation context trust. /// </para> /// </summary> public TlsValidationContextSdsTrust Sds { get { return this._sds; } set { this._sds = value; } } // Check to see if Sds property is set internal bool IsSetSds() { return this._sds != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListGatewayRoutes operation. /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> public partial class ListGatewayRoutesRequest : AmazonAppMeshRequest { private int? _limit; private string _meshName; private string _meshOwner; private string _nextToken; private string _virtualGatewayName; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListGatewayRoutes</code> in paginated /// output. When you use this parameter, <code>ListGatewayRoutes</code> returns only <code>limit</code> /// results in a single page along with a <code>nextToken</code> response element. You /// can see the remaining results of the initial request by sending another <code>ListGatewayRoutes</code> /// request with the returned <code>nextToken</code> value. This value can be between /// 1 and 100. If you don't use this parameter, <code>ListGatewayRoutes</code> returns /// up to 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to list gateway routes in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListGatewayRoutes</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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 VirtualGatewayName. /// <para> /// The name of the virtual gateway to list gateway routes in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualGatewayName { get { return this._virtualGatewayName; } set { this._virtualGatewayName = value; } } // Check to see if VirtualGatewayName property is set internal bool IsSetVirtualGatewayName() { return this._virtualGatewayName != null; } } }
150
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// This is the response object from the ListGatewayRoutes operation. /// </summary> public partial class ListGatewayRoutesResponse : AmazonWebServiceResponse { private List<GatewayRouteRef> _gatewayRoutes = new List<GatewayRouteRef>(); private string _nextToken; /// <summary> /// Gets and sets the property GatewayRoutes. /// <para> /// The list of existing gateway routes for the specified service mesh and virtual gateway. /// </para> /// </summary> [AWSProperty(Required=true)] public List<GatewayRouteRef> GatewayRoutes { get { return this._gatewayRoutes; } set { this._gatewayRoutes = value; } } // Check to see if GatewayRoutes property is set internal bool IsSetGatewayRoutes() { return this._gatewayRoutes != null && this._gatewayRoutes.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListGatewayRoutes</code> /// request. When the results of a <code>ListGatewayRoutes</code> request exceed <code>limit</code>, /// you can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListMeshes operation. /// Returns a list of existing service meshes. /// </summary> public partial class ListMeshesRequest : AmazonAppMeshRequest { private int? _limit; private string _nextToken; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListMeshes</code> in paginated output. /// When you use this parameter, <code>ListMeshes</code> returns only <code>limit</code> /// results in a single page along with a <code>nextToken</code> response element. You /// can see the remaining results of the initial request by sending another <code>ListMeshes</code> /// request with the returned <code>nextToken</code> value. This value can be between /// 1 and 100. If you don't use this parameter, <code>ListMeshes</code> returns up to /// 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListMeshes</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </para> /// <note> /// <para> /// This token should be treated as an opaque identifier that is used only to retrieve /// the next items in a list and not for other programmatic purposes. /// </para> /// </note> /// </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; } } }
93
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class ListMeshesResponse : AmazonWebServiceResponse { private List<MeshRef> _meshes = new List<MeshRef>(); private string _nextToken; /// <summary> /// Gets and sets the property Meshes. /// <para> /// The list of existing service meshes. /// </para> /// </summary> [AWSProperty(Required=true)] public List<MeshRef> Meshes { get { return this._meshes; } set { this._meshes = value; } } // Check to see if Meshes property is set internal bool IsSetMeshes() { return this._meshes != null && this._meshes.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListMeshes</code> request. /// When the results of a <code>ListMeshes</code> request exceed <code>limit</code>, you /// can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListRoutes operation. /// Returns a list of existing routes in a service mesh. /// </summary> public partial class ListRoutesRequest : AmazonAppMeshRequest { private int? _limit; private string _meshName; private string _meshOwner; private string _nextToken; private string _virtualRouterName; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListRoutes</code> in paginated output. /// When you use this parameter, <code>ListRoutes</code> returns only <code>limit</code> /// results in a single page along with a <code>nextToken</code> response element. You /// can see the remaining results of the initial request by sending another <code>ListRoutes</code> /// request with the returned <code>nextToken</code> value. This value can be between /// 1 and 100. If you don't use this parameter, <code>ListRoutes</code> returns up to /// 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to list routes in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListRoutes</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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 VirtualRouterName. /// <para> /// The name of the virtual router to list routes in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string VirtualRouterName { get { return this._virtualRouterName; } set { this._virtualRouterName = value; } } // Check to see if VirtualRouterName property is set internal bool IsSetVirtualRouterName() { return this._virtualRouterName != null; } } }
150
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class ListRoutesResponse : AmazonWebServiceResponse { private string _nextToken; private List<RouteRef> _routes = new List<RouteRef>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListRoutes</code> request. /// When the results of a <code>ListRoutes</code> request exceed <code>limit</code>, you /// can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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 Routes. /// <para> /// The list of existing routes for the specified service mesh and virtual router. /// </para> /// </summary> [AWSProperty(Required=true)] public List<RouteRef> Routes { get { return this._routes; } set { this._routes = value; } } // Check to see if Routes property is set internal bool IsSetRoutes() { return this._routes != null && this._routes.Count > 0; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListTagsForResource operation. /// List the tags for an App Mesh resource. /// </summary> public partial class ListTagsForResourceRequest : AmazonAppMeshRequest { private int? _limit; private string _nextToken; private string _resourceArn; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of tag results returned by <code>ListTagsForResource</code> in /// paginated output. When this parameter is used, <code>ListTagsForResource</code> returns /// only <code>limit</code> results in a single page along with a <code>nextToken</code> /// response element. You can see the remaining results of the initial request by sending /// another <code>ListTagsForResource</code> request with the returned <code>nextToken</code> /// value. This value can be between 1 and 100. If you don't use this parameter, <code>ListTagsForResource</code> /// returns up to 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=50)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListTagsForResource</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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 ResourceArn. /// <para> /// The Amazon Resource Name (ARN) that identifies the resource to list the tags for. /// </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; } } }
107
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class ListTagsForResourceResponse : AmazonWebServiceResponse { private string _nextToken; private List<TagRef> _tags = new List<TagRef>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListTagsForResource</code> /// request. When the results of a <code>ListTagsForResource</code> request exceed <code>limit</code>, /// you can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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 Tags. /// <para> /// The tags for the resource. /// </para> /// </summary> [AWSProperty(Required=true, Min=0, Max=50)] public List<TagRef> 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; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListVirtualGateways operation. /// Returns a list of existing virtual gateways in a service mesh. /// </summary> public partial class ListVirtualGatewaysRequest : AmazonAppMeshRequest { private int? _limit; private string _meshName; private string _meshOwner; private string _nextToken; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListVirtualGateways</code> in paginated /// output. When you use this parameter, <code>ListVirtualGateways</code> returns only /// <code>limit</code> results in a single page along with a <code>nextToken</code> response /// element. You can see the remaining results of the initial request by sending another /// <code>ListVirtualGateways</code> request with the returned <code>nextToken</code> /// value. This value can be between 1 and 100. If you don't use this parameter, <code>ListVirtualGateways</code> /// returns up to 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to list virtual gateways in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListVirtualGateways</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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; } } }
130
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// This is the response object from the ListVirtualGateways operation. /// </summary> public partial class ListVirtualGatewaysResponse : AmazonWebServiceResponse { private string _nextToken; private List<VirtualGatewayRef> _virtualGateways = new List<VirtualGatewayRef>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListVirtualGateways</code> /// request. When the results of a <code>ListVirtualGateways</code> request exceed <code>limit</code>, /// you can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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 VirtualGateways. /// <para> /// The list of existing virtual gateways for the specified service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public List<VirtualGatewayRef> VirtualGateways { get { return this._virtualGateways; } set { this._virtualGateways = value; } } // Check to see if VirtualGateways property is set internal bool IsSetVirtualGateways() { return this._virtualGateways != null && this._virtualGateways.Count > 0; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListVirtualNodes operation. /// Returns a list of existing virtual nodes. /// </summary> public partial class ListVirtualNodesRequest : AmazonAppMeshRequest { private int? _limit; private string _meshName; private string _meshOwner; private string _nextToken; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListVirtualNodes</code> in paginated /// output. When you use this parameter, <code>ListVirtualNodes</code> returns only <code>limit</code> /// results in a single page along with a <code>nextToken</code> response element. You /// can see the remaining results of the initial request by sending another <code>ListVirtualNodes</code> /// request with the returned <code>nextToken</code> value. This value can be between /// 1 and 100. If you don't use this parameter, <code>ListVirtualNodes</code> returns /// up to 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to list virtual nodes in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListVirtualNodes</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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; } } }
130
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class ListVirtualNodesResponse : AmazonWebServiceResponse { private string _nextToken; private List<VirtualNodeRef> _virtualNodes = new List<VirtualNodeRef>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListVirtualNodes</code> /// request. When the results of a <code>ListVirtualNodes</code> request exceed <code>limit</code>, /// you can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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 VirtualNodes. /// <para> /// The list of existing virtual nodes for the specified service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public List<VirtualNodeRef> VirtualNodes { get { return this._virtualNodes; } set { this._virtualNodes = value; } } // Check to see if VirtualNodes property is set internal bool IsSetVirtualNodes() { return this._virtualNodes != null && this._virtualNodes.Count > 0; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListVirtualRouters operation. /// Returns a list of existing virtual routers in a service mesh. /// </summary> public partial class ListVirtualRoutersRequest : AmazonAppMeshRequest { private int? _limit; private string _meshName; private string _meshOwner; private string _nextToken; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListVirtualRouters</code> in paginated /// output. When you use this parameter, <code>ListVirtualRouters</code> returns only /// <code>limit</code> results in a single page along with a <code>nextToken</code> response /// element. You can see the remaining results of the initial request by sending another /// <code>ListVirtualRouters</code> request with the returned <code>nextToken</code> value. /// This value can be between 1 and 100. If you don't use this parameter, <code>ListVirtualRouters</code> /// returns up to 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to list virtual routers in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListVirtualRouters</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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; } } }
130
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class ListVirtualRoutersResponse : AmazonWebServiceResponse { private string _nextToken; private List<VirtualRouterRef> _virtualRouters = new List<VirtualRouterRef>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListVirtualRouters</code> /// request. When the results of a <code>ListVirtualRouters</code> request exceed <code>limit</code>, /// you can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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 VirtualRouters. /// <para> /// The list of existing virtual routers for the specified service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public List<VirtualRouterRef> VirtualRouters { get { return this._virtualRouters; } set { this._virtualRouters = value; } } // Check to see if VirtualRouters property is set internal bool IsSetVirtualRouters() { return this._virtualRouters != null && this._virtualRouters.Count > 0; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// Container for the parameters to the ListVirtualServices operation. /// Returns a list of existing virtual services in a service mesh. /// </summary> public partial class ListVirtualServicesRequest : AmazonAppMeshRequest { private int? _limit; private string _meshName; private string _meshOwner; private string _nextToken; /// <summary> /// Gets and sets the property Limit. /// <para> /// The maximum number of results returned by <code>ListVirtualServices</code> in paginated /// output. When you use this parameter, <code>ListVirtualServices</code> returns only /// <code>limit</code> results in a single page along with a <code>nextToken</code> response /// element. You can see the remaining results of the initial request by sending another /// <code>ListVirtualServices</code> request with the returned <code>nextToken</code> /// value. This value can be between 1 and 100. If you don't use this parameter, <code>ListVirtualServices</code> /// returns up to 100 results and a <code>nextToken</code> value if applicable. /// </para> /// </summary> [AWSProperty(Min=1, Max=100)] public int Limit { get { return this._limit.GetValueOrDefault(); } set { this._limit = value; } } // Check to see if Limit property is set internal bool IsSetLimit() { return this._limit.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh to list virtual services in. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value returned from a previous paginated <code>ListVirtualServices</code> /// request where <code>limit</code> was used and the results exceeded the value of that /// parameter. Pagination continues from the end of the previous results that returned /// the <code>nextToken</code> value. /// </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; } } }
130
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// <zonbook></zonbook><xhtml></xhtml> /// </summary> public partial class ListVirtualServicesResponse : AmazonWebServiceResponse { private string _nextToken; private List<VirtualServiceRef> _virtualServices = new List<VirtualServiceRef>(); /// <summary> /// Gets and sets the property NextToken. /// <para> /// The <code>nextToken</code> value to include in a future <code>ListVirtualServices</code> /// request. When the results of a <code>ListVirtualServices</code> request exceed <code>limit</code>, /// you can use this value to retrieve the next page of results. This value is <code>null</code> /// when there are no more results to return. /// </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 VirtualServices. /// <para> /// The list of existing virtual services for the specified service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public List<VirtualServiceRef> VirtualServices { get { return this._virtualServices; } set { this._virtualServices = value; } } // Check to see if VirtualServices property is set internal bool IsSetVirtualServices() { return this._virtualServices != null && this._virtualServices.Count > 0; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the logging information for a virtual node. /// </summary> public partial class Logging { private AccessLog _accessLog; /// <summary> /// Gets and sets the property AccessLog. /// <para> /// The access log configuration for a virtual node. /// </para> /// </summary> public AccessLog AccessLog { get { return this._accessLog; } set { this._accessLog = value; } } // Check to see if AccessLog property is set internal bool IsSetAccessLog() { return this._accessLog != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the format for the logs. /// </summary> public partial class LoggingFormat { private List<JsonFormatRef> _json = new List<JsonFormatRef>(); private string _text; /// <summary> /// Gets and sets the property Json. /// </summary> public List<JsonFormatRef> Json { get { return this._json; } set { this._json = value; } } // Check to see if Json property is set internal bool IsSetJson() { return this._json != null && this._json.Count > 0; } /// <summary> /// Gets and sets the property Text. /// </summary> [AWSProperty(Min=1, Max=1000)] public string Text { get { return this._text; } set { this._text = value; } } // Check to see if Text property is set internal bool IsSetText() { return this._text != null; } } }
71
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the range of values to match on. The first character of /// the range is included in the range, though the last character is not. For example, /// if the range specified were 1-100, only values 1-99 would be matched. /// </summary> public partial class MatchRange { private long? _end; private long? _start; /// <summary> /// Gets and sets the property End. /// <para> /// The end of the range. /// </para> /// </summary> [AWSProperty(Required=true)] public long End { get { return this._end.GetValueOrDefault(); } set { this._end = value; } } // Check to see if End property is set internal bool IsSetEnd() { return this._end.HasValue; } /// <summary> /// Gets and sets the property Start. /// <para> /// The start of the range. /// </para> /// </summary> [AWSProperty(Required=true)] public long Start { get { return this._start.GetValueOrDefault(); } set { this._start = value; } } // Check to see if Start property is set internal bool IsSetStart() { return this._start.HasValue; } } }
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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a service mesh returned by a describe operation. /// </summary> public partial class MeshData { private string _meshName; private ResourceMetadata _metadata; private MeshSpec _spec; private MeshStatus _status; /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property Metadata. /// <para> /// The associated metadata for the service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public ResourceMetadata Metadata { get { return this._metadata; } set { this._metadata = value; } } // Check to see if Metadata property is set internal bool IsSetMetadata() { return this._metadata != null; } /// <summary> /// Gets and sets the property Spec. /// <para> /// The associated specification for the service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public MeshSpec Spec { get { return this._spec; } set { this._spec = value; } } // Check to see if Spec property is set internal bool IsSetSpec() { return this._spec != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public MeshStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents a service mesh returned by a list operation. /// </summary> public partial class MeshRef { private string _arn; private DateTime? _createdAt; private DateTime? _lastUpdatedAt; private string _meshName; private string _meshOwner; private string _resourceOwner; private long? _version; /// <summary> /// Gets and sets the property Arn. /// <para> /// The full Amazon Resource Name (ARN) of the service mesh. /// </para> /// </summary> [AWSProperty(Required=true)] public string Arn { get { return this._arn; } set { this._arn = value; } } // Check to see if Arn property is set internal bool IsSetArn() { return this._arn != null; } /// <summary> /// Gets and sets the property CreatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property LastUpdatedAt. /// <para> /// The Unix epoch timestamp in seconds for when the resource was last updated. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime LastUpdatedAt { get { return this._lastUpdatedAt.GetValueOrDefault(); } set { this._lastUpdatedAt = value; } } // Check to see if LastUpdatedAt property is set internal bool IsSetLastUpdatedAt() { return this._lastUpdatedAt.HasValue; } /// <summary> /// Gets and sets the property MeshName. /// <para> /// The name of the service mesh. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string MeshName { get { return this._meshName; } set { this._meshName = value; } } // Check to see if MeshName property is set internal bool IsSetMeshName() { return this._meshName != null; } /// <summary> /// Gets and sets the property MeshOwner. /// <para> /// The Amazon Web Services IAM account ID of the service mesh owner. If the account ID /// is not your own, then it's the ID of the account that shared the mesh with your account. /// For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string MeshOwner { get { return this._meshOwner; } set { this._meshOwner = value; } } // Check to see if MeshOwner property is set internal bool IsSetMeshOwner() { return this._meshOwner != null; } /// <summary> /// Gets and sets the property ResourceOwner. /// <para> /// The Amazon Web Services IAM account ID of the resource owner. If the account ID is /// not your own, then it's the ID of the mesh owner or of another account that the mesh /// is shared with. For more information about mesh sharing, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/sharing.html">Working /// with shared meshes</a>. /// </para> /// </summary> [AWSProperty(Required=true, Min=12, Max=12)] public string ResourceOwner { get { return this._resourceOwner; } set { this._resourceOwner = value; } } // Check to see if ResourceOwner property is set internal bool IsSetResourceOwner() { return this._resourceOwner != null; } /// <summary> /// Gets and sets the property Version. /// <para> /// The version of the resource. Resources are created at version 1, and this version /// is incremented each time that they're updated. /// </para> /// </summary> [AWSProperty(Required=true)] public long Version { get { return this._version.GetValueOrDefault(); } set { this._version = value; } } // Check to see if Version property is set internal bool IsSetVersion() { return this._version.HasValue; } } }
185
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the service discovery information for a service mesh. /// </summary> public partial class MeshServiceDiscovery { private IpPreference _ipPreference; /// <summary> /// Gets and sets the property IpPreference. /// <para> /// The IP version to use to control traffic within the mesh. /// </para> /// </summary> public IpPreference IpPreference { get { return this._ipPreference; } set { this._ipPreference = value; } } // Check to see if IpPreference property is set internal bool IsSetIpPreference() { return this._ipPreference != 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 appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the specification of a service mesh. /// </summary> public partial class MeshSpec { private EgressFilter _egressFilter; private MeshServiceDiscovery _serviceDiscovery; /// <summary> /// Gets and sets the property EgressFilter. /// <para> /// The egress filter rules for the service mesh. /// </para> /// </summary> public EgressFilter EgressFilter { get { return this._egressFilter; } set { this._egressFilter = value; } } // Check to see if EgressFilter property is set internal bool IsSetEgressFilter() { return this._egressFilter != null; } /// <summary> /// Gets and sets the property ServiceDiscovery. /// </summary> public MeshServiceDiscovery ServiceDiscovery { get { return this._serviceDiscovery; } set { this._serviceDiscovery = value; } } // Check to see if ServiceDiscovery property is set internal bool IsSetServiceDiscovery() { return this._serviceDiscovery != null; } } }
73
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.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.AppMesh.Model { /// <summary> /// An object that represents the status of a service mesh. /// </summary> public partial class MeshStatus { private MeshStatusCode _status; /// <summary> /// Gets and sets the property Status. /// <para> /// The current mesh status. /// </para> /// </summary> public MeshStatusCode Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } } }
57