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.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualGatewayTlsValidationContextFileTrust Marshaller /// </summary> public class VirtualGatewayTlsValidationContextFileTrustMarshaller : IRequestMarshaller<VirtualGatewayTlsValidationContextFileTrust, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualGatewayTlsValidationContextFileTrust requestObject, JsonMarshallerContext context) { if(requestObject.IsSetCertificateChain()) { context.Writer.WritePropertyName("certificateChain"); context.Writer.Write(requestObject.CertificateChain); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualGatewayTlsValidationContextFileTrustMarshaller Instance = new VirtualGatewayTlsValidationContextFileTrustMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualGatewayTlsValidationContextFileTrust Object /// </summary> public class VirtualGatewayTlsValidationContextFileTrustUnmarshaller : IUnmarshaller<VirtualGatewayTlsValidationContextFileTrust, XmlUnmarshallerContext>, IUnmarshaller<VirtualGatewayTlsValidationContextFileTrust, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualGatewayTlsValidationContextFileTrust IUnmarshaller<VirtualGatewayTlsValidationContextFileTrust, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualGatewayTlsValidationContextFileTrust Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualGatewayTlsValidationContextFileTrust unmarshalledObject = new VirtualGatewayTlsValidationContextFileTrust(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("certificateChain", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.CertificateChain = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualGatewayTlsValidationContextFileTrustUnmarshaller _instance = new VirtualGatewayTlsValidationContextFileTrustUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualGatewayTlsValidationContextFileTrustUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualGatewayTlsValidationContext Marshaller /// </summary> public class VirtualGatewayTlsValidationContextMarshaller : IRequestMarshaller<VirtualGatewayTlsValidationContext, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualGatewayTlsValidationContext requestObject, JsonMarshallerContext context) { if(requestObject.IsSetSubjectAlternativeNames()) { context.Writer.WritePropertyName("subjectAlternativeNames"); context.Writer.WriteObjectStart(); var marshaller = SubjectAlternativeNamesMarshaller.Instance; marshaller.Marshall(requestObject.SubjectAlternativeNames, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetTrust()) { context.Writer.WritePropertyName("trust"); context.Writer.WriteObjectStart(); var marshaller = VirtualGatewayTlsValidationContextTrustMarshaller.Instance; marshaller.Marshall(requestObject.Trust, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualGatewayTlsValidationContextMarshaller Instance = new VirtualGatewayTlsValidationContextMarshaller(); } }
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.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualGatewayTlsValidationContextSdsTrust Marshaller /// </summary> public class VirtualGatewayTlsValidationContextSdsTrustMarshaller : IRequestMarshaller<VirtualGatewayTlsValidationContextSdsTrust, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualGatewayTlsValidationContextSdsTrust requestObject, JsonMarshallerContext context) { if(requestObject.IsSetSecretName()) { context.Writer.WritePropertyName("secretName"); context.Writer.Write(requestObject.SecretName); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualGatewayTlsValidationContextSdsTrustMarshaller Instance = new VirtualGatewayTlsValidationContextSdsTrustMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualGatewayTlsValidationContextSdsTrust Object /// </summary> public class VirtualGatewayTlsValidationContextSdsTrustUnmarshaller : IUnmarshaller<VirtualGatewayTlsValidationContextSdsTrust, XmlUnmarshallerContext>, IUnmarshaller<VirtualGatewayTlsValidationContextSdsTrust, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualGatewayTlsValidationContextSdsTrust IUnmarshaller<VirtualGatewayTlsValidationContextSdsTrust, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualGatewayTlsValidationContextSdsTrust Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualGatewayTlsValidationContextSdsTrust unmarshalledObject = new VirtualGatewayTlsValidationContextSdsTrust(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("secretName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.SecretName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualGatewayTlsValidationContextSdsTrustUnmarshaller _instance = new VirtualGatewayTlsValidationContextSdsTrustUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualGatewayTlsValidationContextSdsTrustUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualGatewayTlsValidationContextTrust Marshaller /// </summary> public class VirtualGatewayTlsValidationContextTrustMarshaller : IRequestMarshaller<VirtualGatewayTlsValidationContextTrust, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualGatewayTlsValidationContextTrust requestObject, JsonMarshallerContext context) { if(requestObject.IsSetAcm()) { context.Writer.WritePropertyName("acm"); context.Writer.WriteObjectStart(); var marshaller = VirtualGatewayTlsValidationContextAcmTrustMarshaller.Instance; marshaller.Marshall(requestObject.Acm, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetFile()) { context.Writer.WritePropertyName("file"); context.Writer.WriteObjectStart(); var marshaller = VirtualGatewayTlsValidationContextFileTrustMarshaller.Instance; marshaller.Marshall(requestObject.File, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetSds()) { context.Writer.WritePropertyName("sds"); context.Writer.WriteObjectStart(); var marshaller = VirtualGatewayTlsValidationContextSdsTrustMarshaller.Instance; marshaller.Marshall(requestObject.Sds, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualGatewayTlsValidationContextTrustMarshaller Instance = new VirtualGatewayTlsValidationContextTrustMarshaller(); } }
89
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualGatewayTlsValidationContextTrust Object /// </summary> public class VirtualGatewayTlsValidationContextTrustUnmarshaller : IUnmarshaller<VirtualGatewayTlsValidationContextTrust, XmlUnmarshallerContext>, IUnmarshaller<VirtualGatewayTlsValidationContextTrust, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualGatewayTlsValidationContextTrust IUnmarshaller<VirtualGatewayTlsValidationContextTrust, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualGatewayTlsValidationContextTrust Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualGatewayTlsValidationContextTrust unmarshalledObject = new VirtualGatewayTlsValidationContextTrust(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("acm", targetDepth)) { var unmarshaller = VirtualGatewayTlsValidationContextAcmTrustUnmarshaller.Instance; unmarshalledObject.Acm = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("file", targetDepth)) { var unmarshaller = VirtualGatewayTlsValidationContextFileTrustUnmarshaller.Instance; unmarshalledObject.File = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("sds", targetDepth)) { var unmarshaller = VirtualGatewayTlsValidationContextSdsTrustUnmarshaller.Instance; unmarshalledObject.Sds = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualGatewayTlsValidationContextTrustUnmarshaller _instance = new VirtualGatewayTlsValidationContextTrustUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualGatewayTlsValidationContextTrustUnmarshaller Instance { get { return _instance; } } } }
104
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualGatewayTlsValidationContext Object /// </summary> public class VirtualGatewayTlsValidationContextUnmarshaller : IUnmarshaller<VirtualGatewayTlsValidationContext, XmlUnmarshallerContext>, IUnmarshaller<VirtualGatewayTlsValidationContext, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualGatewayTlsValidationContext IUnmarshaller<VirtualGatewayTlsValidationContext, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualGatewayTlsValidationContext Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualGatewayTlsValidationContext unmarshalledObject = new VirtualGatewayTlsValidationContext(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("subjectAlternativeNames", targetDepth)) { var unmarshaller = SubjectAlternativeNamesUnmarshaller.Instance; unmarshalledObject.SubjectAlternativeNames = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("trust", targetDepth)) { var unmarshaller = VirtualGatewayTlsValidationContextTrustUnmarshaller.Instance; unmarshalledObject.Trust = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualGatewayTlsValidationContextUnmarshaller _instance = new VirtualGatewayTlsValidationContextUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualGatewayTlsValidationContextUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeConnectionPool Marshaller /// </summary> public class VirtualNodeConnectionPoolMarshaller : IRequestMarshaller<VirtualNodeConnectionPool, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeConnectionPool requestObject, JsonMarshallerContext context) { if(requestObject.IsSetGrpc()) { context.Writer.WritePropertyName("grpc"); context.Writer.WriteObjectStart(); var marshaller = VirtualNodeGrpcConnectionPoolMarshaller.Instance; marshaller.Marshall(requestObject.Grpc, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetHttp()) { context.Writer.WritePropertyName("http"); context.Writer.WriteObjectStart(); var marshaller = VirtualNodeHttpConnectionPoolMarshaller.Instance; marshaller.Marshall(requestObject.Http, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetHttp2()) { context.Writer.WritePropertyName("http2"); context.Writer.WriteObjectStart(); var marshaller = VirtualNodeHttp2ConnectionPoolMarshaller.Instance; marshaller.Marshall(requestObject.Http2, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetTcp()) { context.Writer.WritePropertyName("tcp"); context.Writer.WriteObjectStart(); var marshaller = VirtualNodeTcpConnectionPoolMarshaller.Instance; marshaller.Marshall(requestObject.Tcp, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeConnectionPoolMarshaller Instance = new VirtualNodeConnectionPoolMarshaller(); } }
100
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeConnectionPool Object /// </summary> public class VirtualNodeConnectionPoolUnmarshaller : IUnmarshaller<VirtualNodeConnectionPool, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeConnectionPool, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeConnectionPool IUnmarshaller<VirtualNodeConnectionPool, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeConnectionPool Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeConnectionPool unmarshalledObject = new VirtualNodeConnectionPool(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("grpc", targetDepth)) { var unmarshaller = VirtualNodeGrpcConnectionPoolUnmarshaller.Instance; unmarshalledObject.Grpc = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("http", targetDepth)) { var unmarshaller = VirtualNodeHttpConnectionPoolUnmarshaller.Instance; unmarshalledObject.Http = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("http2", targetDepth)) { var unmarshaller = VirtualNodeHttp2ConnectionPoolUnmarshaller.Instance; unmarshalledObject.Http2 = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("tcp", targetDepth)) { var unmarshaller = VirtualNodeTcpConnectionPoolUnmarshaller.Instance; unmarshalledObject.Tcp = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeConnectionPoolUnmarshaller _instance = new VirtualNodeConnectionPoolUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeConnectionPoolUnmarshaller Instance { get { return _instance; } } } }
110
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeData Object /// </summary> public class VirtualNodeDataUnmarshaller : IUnmarshaller<VirtualNodeData, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeData, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeData IUnmarshaller<VirtualNodeData, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeData Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeData unmarshalledObject = new VirtualNodeData(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("meshName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("metadata", targetDepth)) { var unmarshaller = ResourceMetadataUnmarshaller.Instance; unmarshalledObject.Metadata = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("spec", targetDepth)) { var unmarshaller = VirtualNodeSpecUnmarshaller.Instance; unmarshalledObject.Spec = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = VirtualNodeStatusUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualNodeName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualNodeName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeDataUnmarshaller _instance = new VirtualNodeDataUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeDataUnmarshaller Instance { get { return _instance; } } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeGrpcConnectionPool Marshaller /// </summary> public class VirtualNodeGrpcConnectionPoolMarshaller : IRequestMarshaller<VirtualNodeGrpcConnectionPool, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeGrpcConnectionPool requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMaxRequests()) { context.Writer.WritePropertyName("maxRequests"); context.Writer.Write(requestObject.MaxRequests); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeGrpcConnectionPoolMarshaller Instance = new VirtualNodeGrpcConnectionPoolMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeGrpcConnectionPool Object /// </summary> public class VirtualNodeGrpcConnectionPoolUnmarshaller : IUnmarshaller<VirtualNodeGrpcConnectionPool, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeGrpcConnectionPool, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeGrpcConnectionPool IUnmarshaller<VirtualNodeGrpcConnectionPool, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeGrpcConnectionPool Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeGrpcConnectionPool unmarshalledObject = new VirtualNodeGrpcConnectionPool(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("maxRequests", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.MaxRequests = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeGrpcConnectionPoolUnmarshaller _instance = new VirtualNodeGrpcConnectionPoolUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeGrpcConnectionPoolUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeHttp2ConnectionPool Marshaller /// </summary> public class VirtualNodeHttp2ConnectionPoolMarshaller : IRequestMarshaller<VirtualNodeHttp2ConnectionPool, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeHttp2ConnectionPool requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMaxRequests()) { context.Writer.WritePropertyName("maxRequests"); context.Writer.Write(requestObject.MaxRequests); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeHttp2ConnectionPoolMarshaller Instance = new VirtualNodeHttp2ConnectionPoolMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeHttp2ConnectionPool Object /// </summary> public class VirtualNodeHttp2ConnectionPoolUnmarshaller : IUnmarshaller<VirtualNodeHttp2ConnectionPool, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeHttp2ConnectionPool, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeHttp2ConnectionPool IUnmarshaller<VirtualNodeHttp2ConnectionPool, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeHttp2ConnectionPool Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeHttp2ConnectionPool unmarshalledObject = new VirtualNodeHttp2ConnectionPool(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("maxRequests", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.MaxRequests = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeHttp2ConnectionPoolUnmarshaller _instance = new VirtualNodeHttp2ConnectionPoolUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeHttp2ConnectionPoolUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeHttpConnectionPool Marshaller /// </summary> public class VirtualNodeHttpConnectionPoolMarshaller : IRequestMarshaller<VirtualNodeHttpConnectionPool, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeHttpConnectionPool requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMaxConnections()) { context.Writer.WritePropertyName("maxConnections"); context.Writer.Write(requestObject.MaxConnections); } if(requestObject.IsSetMaxPendingRequests()) { context.Writer.WritePropertyName("maxPendingRequests"); context.Writer.Write(requestObject.MaxPendingRequests); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeHttpConnectionPoolMarshaller Instance = new VirtualNodeHttpConnectionPoolMarshaller(); } }
68
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeHttpConnectionPool Object /// </summary> public class VirtualNodeHttpConnectionPoolUnmarshaller : IUnmarshaller<VirtualNodeHttpConnectionPool, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeHttpConnectionPool, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeHttpConnectionPool IUnmarshaller<VirtualNodeHttpConnectionPool, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeHttpConnectionPool Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeHttpConnectionPool unmarshalledObject = new VirtualNodeHttpConnectionPool(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("maxConnections", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.MaxConnections = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("maxPendingRequests", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.MaxPendingRequests = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeHttpConnectionPoolUnmarshaller _instance = new VirtualNodeHttpConnectionPoolUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeHttpConnectionPoolUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeRef Object /// </summary> public class VirtualNodeRefUnmarshaller : IUnmarshaller<VirtualNodeRef, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeRef, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeRef IUnmarshaller<VirtualNodeRef, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeRef Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeRef unmarshalledObject = new VirtualNodeRef(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("arn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Arn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("createdAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("lastUpdatedAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.LastUpdatedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("meshName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("meshOwner", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshOwner = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("resourceOwner", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceOwner = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("version", targetDepth)) { var unmarshaller = LongUnmarshaller.Instance; unmarshalledObject.Version = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualNodeName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualNodeName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeRefUnmarshaller _instance = new VirtualNodeRefUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeRefUnmarshaller Instance { get { return _instance; } } } }
134
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeServiceProvider Marshaller /// </summary> public class VirtualNodeServiceProviderMarshaller : IRequestMarshaller<VirtualNodeServiceProvider, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeServiceProvider requestObject, JsonMarshallerContext context) { if(requestObject.IsSetVirtualNodeName()) { context.Writer.WritePropertyName("virtualNodeName"); context.Writer.Write(requestObject.VirtualNodeName); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeServiceProviderMarshaller Instance = new VirtualNodeServiceProviderMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeServiceProvider Object /// </summary> public class VirtualNodeServiceProviderUnmarshaller : IUnmarshaller<VirtualNodeServiceProvider, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeServiceProvider, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeServiceProvider IUnmarshaller<VirtualNodeServiceProvider, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeServiceProvider Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeServiceProvider unmarshalledObject = new VirtualNodeServiceProvider(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("virtualNodeName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualNodeName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeServiceProviderUnmarshaller _instance = new VirtualNodeServiceProviderUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeServiceProviderUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeSpec Marshaller /// </summary> public class VirtualNodeSpecMarshaller : IRequestMarshaller<VirtualNodeSpec, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeSpec requestObject, JsonMarshallerContext context) { if(requestObject.IsSetBackendDefaults()) { context.Writer.WritePropertyName("backendDefaults"); context.Writer.WriteObjectStart(); var marshaller = BackendDefaultsMarshaller.Instance; marshaller.Marshall(requestObject.BackendDefaults, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetBackends()) { context.Writer.WritePropertyName("backends"); context.Writer.WriteArrayStart(); foreach(var requestObjectBackendsListValue in requestObject.Backends) { context.Writer.WriteObjectStart(); var marshaller = BackendMarshaller.Instance; marshaller.Marshall(requestObjectBackendsListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetListeners()) { context.Writer.WritePropertyName("listeners"); context.Writer.WriteArrayStart(); foreach(var requestObjectListenersListValue in requestObject.Listeners) { context.Writer.WriteObjectStart(); var marshaller = ListenerMarshaller.Instance; marshaller.Marshall(requestObjectListenersListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetLogging()) { context.Writer.WritePropertyName("logging"); context.Writer.WriteObjectStart(); var marshaller = LoggingMarshaller.Instance; marshaller.Marshall(requestObject.Logging, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetServiceDiscovery()) { context.Writer.WritePropertyName("serviceDiscovery"); context.Writer.WriteObjectStart(); var marshaller = ServiceDiscoveryMarshaller.Instance; marshaller.Marshall(requestObject.ServiceDiscovery, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeSpecMarshaller Instance = new VirtualNodeSpecMarshaller(); } }
121
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeSpec Object /// </summary> public class VirtualNodeSpecUnmarshaller : IUnmarshaller<VirtualNodeSpec, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeSpec, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeSpec IUnmarshaller<VirtualNodeSpec, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeSpec Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeSpec unmarshalledObject = new VirtualNodeSpec(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("backendDefaults", targetDepth)) { var unmarshaller = BackendDefaultsUnmarshaller.Instance; unmarshalledObject.BackendDefaults = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("backends", targetDepth)) { var unmarshaller = new ListUnmarshaller<Backend, BackendUnmarshaller>(BackendUnmarshaller.Instance); unmarshalledObject.Backends = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("listeners", targetDepth)) { var unmarshaller = new ListUnmarshaller<Listener, ListenerUnmarshaller>(ListenerUnmarshaller.Instance); unmarshalledObject.Listeners = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("logging", targetDepth)) { var unmarshaller = LoggingUnmarshaller.Instance; unmarshalledObject.Logging = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("serviceDiscovery", targetDepth)) { var unmarshaller = ServiceDiscoveryUnmarshaller.Instance; unmarshalledObject.ServiceDiscovery = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeSpecUnmarshaller _instance = new VirtualNodeSpecUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeSpecUnmarshaller Instance { get { return _instance; } } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeStatus Object /// </summary> public class VirtualNodeStatusUnmarshaller : IUnmarshaller<VirtualNodeStatus, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeStatus, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeStatus IUnmarshaller<VirtualNodeStatus, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeStatus Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeStatus unmarshalledObject = new VirtualNodeStatus(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeStatusUnmarshaller _instance = new VirtualNodeStatusUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeStatusUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualNodeTcpConnectionPool Marshaller /// </summary> public class VirtualNodeTcpConnectionPoolMarshaller : IRequestMarshaller<VirtualNodeTcpConnectionPool, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualNodeTcpConnectionPool requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMaxConnections()) { context.Writer.WritePropertyName("maxConnections"); context.Writer.Write(requestObject.MaxConnections); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualNodeTcpConnectionPoolMarshaller Instance = new VirtualNodeTcpConnectionPoolMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualNodeTcpConnectionPool Object /// </summary> public class VirtualNodeTcpConnectionPoolUnmarshaller : IUnmarshaller<VirtualNodeTcpConnectionPool, XmlUnmarshallerContext>, IUnmarshaller<VirtualNodeTcpConnectionPool, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualNodeTcpConnectionPool IUnmarshaller<VirtualNodeTcpConnectionPool, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualNodeTcpConnectionPool Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualNodeTcpConnectionPool unmarshalledObject = new VirtualNodeTcpConnectionPool(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("maxConnections", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.MaxConnections = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualNodeTcpConnectionPoolUnmarshaller _instance = new VirtualNodeTcpConnectionPoolUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualNodeTcpConnectionPoolUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualRouterData Object /// </summary> public class VirtualRouterDataUnmarshaller : IUnmarshaller<VirtualRouterData, XmlUnmarshallerContext>, IUnmarshaller<VirtualRouterData, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualRouterData IUnmarshaller<VirtualRouterData, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualRouterData Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualRouterData unmarshalledObject = new VirtualRouterData(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("meshName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("metadata", targetDepth)) { var unmarshaller = ResourceMetadataUnmarshaller.Instance; unmarshalledObject.Metadata = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("spec", targetDepth)) { var unmarshaller = VirtualRouterSpecUnmarshaller.Instance; unmarshalledObject.Spec = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = VirtualRouterStatusUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualRouterName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualRouterName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualRouterDataUnmarshaller _instance = new VirtualRouterDataUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualRouterDataUnmarshaller Instance { get { return _instance; } } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualRouterListener Marshaller /// </summary> public class VirtualRouterListenerMarshaller : IRequestMarshaller<VirtualRouterListener, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualRouterListener requestObject, JsonMarshallerContext context) { if(requestObject.IsSetPortMapping()) { context.Writer.WritePropertyName("portMapping"); context.Writer.WriteObjectStart(); var marshaller = PortMappingMarshaller.Instance; marshaller.Marshall(requestObject.PortMapping, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualRouterListenerMarshaller Instance = new VirtualRouterListenerMarshaller(); } }
67
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualRouterListener Object /// </summary> public class VirtualRouterListenerUnmarshaller : IUnmarshaller<VirtualRouterListener, XmlUnmarshallerContext>, IUnmarshaller<VirtualRouterListener, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualRouterListener IUnmarshaller<VirtualRouterListener, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualRouterListener Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualRouterListener unmarshalledObject = new VirtualRouterListener(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("portMapping", targetDepth)) { var unmarshaller = PortMappingUnmarshaller.Instance; unmarshalledObject.PortMapping = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualRouterListenerUnmarshaller _instance = new VirtualRouterListenerUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualRouterListenerUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualRouterRef Object /// </summary> public class VirtualRouterRefUnmarshaller : IUnmarshaller<VirtualRouterRef, XmlUnmarshallerContext>, IUnmarshaller<VirtualRouterRef, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualRouterRef IUnmarshaller<VirtualRouterRef, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualRouterRef Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualRouterRef unmarshalledObject = new VirtualRouterRef(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("arn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Arn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("createdAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("lastUpdatedAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.LastUpdatedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("meshName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("meshOwner", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshOwner = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("resourceOwner", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceOwner = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("version", targetDepth)) { var unmarshaller = LongUnmarshaller.Instance; unmarshalledObject.Version = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualRouterName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualRouterName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualRouterRefUnmarshaller _instance = new VirtualRouterRefUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualRouterRefUnmarshaller Instance { get { return _instance; } } } }
134
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualRouterServiceProvider Marshaller /// </summary> public class VirtualRouterServiceProviderMarshaller : IRequestMarshaller<VirtualRouterServiceProvider, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualRouterServiceProvider requestObject, JsonMarshallerContext context) { if(requestObject.IsSetVirtualRouterName()) { context.Writer.WritePropertyName("virtualRouterName"); context.Writer.Write(requestObject.VirtualRouterName); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualRouterServiceProviderMarshaller Instance = new VirtualRouterServiceProviderMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualRouterServiceProvider Object /// </summary> public class VirtualRouterServiceProviderUnmarshaller : IUnmarshaller<VirtualRouterServiceProvider, XmlUnmarshallerContext>, IUnmarshaller<VirtualRouterServiceProvider, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualRouterServiceProvider IUnmarshaller<VirtualRouterServiceProvider, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualRouterServiceProvider Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualRouterServiceProvider unmarshalledObject = new VirtualRouterServiceProvider(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("virtualRouterName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualRouterName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualRouterServiceProviderUnmarshaller _instance = new VirtualRouterServiceProviderUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualRouterServiceProviderUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualRouterSpec Marshaller /// </summary> public class VirtualRouterSpecMarshaller : IRequestMarshaller<VirtualRouterSpec, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualRouterSpec requestObject, JsonMarshallerContext context) { if(requestObject.IsSetListeners()) { context.Writer.WritePropertyName("listeners"); context.Writer.WriteArrayStart(); foreach(var requestObjectListenersListValue in requestObject.Listeners) { context.Writer.WriteObjectStart(); var marshaller = VirtualRouterListenerMarshaller.Instance; marshaller.Marshall(requestObjectListenersListValue, context); context.Writer.WriteObjectEnd(); } context.Writer.WriteArrayEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualRouterSpecMarshaller Instance = new VirtualRouterSpecMarshaller(); } }
72
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualRouterSpec Object /// </summary> public class VirtualRouterSpecUnmarshaller : IUnmarshaller<VirtualRouterSpec, XmlUnmarshallerContext>, IUnmarshaller<VirtualRouterSpec, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualRouterSpec IUnmarshaller<VirtualRouterSpec, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualRouterSpec Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualRouterSpec unmarshalledObject = new VirtualRouterSpec(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("listeners", targetDepth)) { var unmarshaller = new ListUnmarshaller<VirtualRouterListener, VirtualRouterListenerUnmarshaller>(VirtualRouterListenerUnmarshaller.Instance); unmarshalledObject.Listeners = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualRouterSpecUnmarshaller _instance = new VirtualRouterSpecUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualRouterSpecUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualRouterStatus Object /// </summary> public class VirtualRouterStatusUnmarshaller : IUnmarshaller<VirtualRouterStatus, XmlUnmarshallerContext>, IUnmarshaller<VirtualRouterStatus, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualRouterStatus IUnmarshaller<VirtualRouterStatus, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualRouterStatus Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualRouterStatus unmarshalledObject = new VirtualRouterStatus(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualRouterStatusUnmarshaller _instance = new VirtualRouterStatusUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualRouterStatusUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualServiceBackend Marshaller /// </summary> public class VirtualServiceBackendMarshaller : IRequestMarshaller<VirtualServiceBackend, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualServiceBackend requestObject, JsonMarshallerContext context) { if(requestObject.IsSetClientPolicy()) { context.Writer.WritePropertyName("clientPolicy"); context.Writer.WriteObjectStart(); var marshaller = ClientPolicyMarshaller.Instance; marshaller.Marshall(requestObject.ClientPolicy, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetVirtualServiceName()) { context.Writer.WritePropertyName("virtualServiceName"); context.Writer.Write(requestObject.VirtualServiceName); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualServiceBackendMarshaller Instance = new VirtualServiceBackendMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualServiceBackend Object /// </summary> public class VirtualServiceBackendUnmarshaller : IUnmarshaller<VirtualServiceBackend, XmlUnmarshallerContext>, IUnmarshaller<VirtualServiceBackend, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualServiceBackend IUnmarshaller<VirtualServiceBackend, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualServiceBackend Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualServiceBackend unmarshalledObject = new VirtualServiceBackend(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("clientPolicy", targetDepth)) { var unmarshaller = ClientPolicyUnmarshaller.Instance; unmarshalledObject.ClientPolicy = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualServiceName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualServiceName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualServiceBackendUnmarshaller _instance = new VirtualServiceBackendUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualServiceBackendUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualServiceData Object /// </summary> public class VirtualServiceDataUnmarshaller : IUnmarshaller<VirtualServiceData, XmlUnmarshallerContext>, IUnmarshaller<VirtualServiceData, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualServiceData IUnmarshaller<VirtualServiceData, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualServiceData Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualServiceData unmarshalledObject = new VirtualServiceData(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("meshName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("metadata", targetDepth)) { var unmarshaller = ResourceMetadataUnmarshaller.Instance; unmarshalledObject.Metadata = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("spec", targetDepth)) { var unmarshaller = VirtualServiceSpecUnmarshaller.Instance; unmarshalledObject.Spec = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = VirtualServiceStatusUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualServiceName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualServiceName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualServiceDataUnmarshaller _instance = new VirtualServiceDataUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualServiceDataUnmarshaller Instance { get { return _instance; } } } }
116
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualServiceProvider Marshaller /// </summary> public class VirtualServiceProviderMarshaller : IRequestMarshaller<VirtualServiceProvider, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualServiceProvider requestObject, JsonMarshallerContext context) { if(requestObject.IsSetVirtualNode()) { context.Writer.WritePropertyName("virtualNode"); context.Writer.WriteObjectStart(); var marshaller = VirtualNodeServiceProviderMarshaller.Instance; marshaller.Marshall(requestObject.VirtualNode, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetVirtualRouter()) { context.Writer.WritePropertyName("virtualRouter"); context.Writer.WriteObjectStart(); var marshaller = VirtualRouterServiceProviderMarshaller.Instance; marshaller.Marshall(requestObject.VirtualRouter, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualServiceProviderMarshaller Instance = new VirtualServiceProviderMarshaller(); } }
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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualServiceProvider Object /// </summary> public class VirtualServiceProviderUnmarshaller : IUnmarshaller<VirtualServiceProvider, XmlUnmarshallerContext>, IUnmarshaller<VirtualServiceProvider, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualServiceProvider IUnmarshaller<VirtualServiceProvider, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualServiceProvider Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualServiceProvider unmarshalledObject = new VirtualServiceProvider(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("virtualNode", targetDepth)) { var unmarshaller = VirtualNodeServiceProviderUnmarshaller.Instance; unmarshalledObject.VirtualNode = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualRouter", targetDepth)) { var unmarshaller = VirtualRouterServiceProviderUnmarshaller.Instance; unmarshalledObject.VirtualRouter = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualServiceProviderUnmarshaller _instance = new VirtualServiceProviderUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualServiceProviderUnmarshaller Instance { get { return _instance; } } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualServiceRef Object /// </summary> public class VirtualServiceRefUnmarshaller : IUnmarshaller<VirtualServiceRef, XmlUnmarshallerContext>, IUnmarshaller<VirtualServiceRef, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualServiceRef IUnmarshaller<VirtualServiceRef, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualServiceRef Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualServiceRef unmarshalledObject = new VirtualServiceRef(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("arn", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Arn = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("createdAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("lastUpdatedAt", targetDepth)) { var unmarshaller = DateTimeUnmarshaller.Instance; unmarshalledObject.LastUpdatedAt = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("meshName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("meshOwner", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.MeshOwner = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("resourceOwner", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceOwner = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("version", targetDepth)) { var unmarshaller = LongUnmarshaller.Instance; unmarshalledObject.Version = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualServiceName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualServiceName = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualServiceRefUnmarshaller _instance = new VirtualServiceRefUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualServiceRefUnmarshaller Instance { get { return _instance; } } } }
134
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// VirtualServiceSpec Marshaller /// </summary> public class VirtualServiceSpecMarshaller : IRequestMarshaller<VirtualServiceSpec, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(VirtualServiceSpec requestObject, JsonMarshallerContext context) { if(requestObject.IsSetProvider()) { context.Writer.WritePropertyName("provider"); context.Writer.WriteObjectStart(); var marshaller = VirtualServiceProviderMarshaller.Instance; marshaller.Marshall(requestObject.Provider, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static VirtualServiceSpecMarshaller Instance = new VirtualServiceSpecMarshaller(); } }
67
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualServiceSpec Object /// </summary> public class VirtualServiceSpecUnmarshaller : IUnmarshaller<VirtualServiceSpec, XmlUnmarshallerContext>, IUnmarshaller<VirtualServiceSpec, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualServiceSpec IUnmarshaller<VirtualServiceSpec, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualServiceSpec Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualServiceSpec unmarshalledObject = new VirtualServiceSpec(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("provider", targetDepth)) { var unmarshaller = VirtualServiceProviderUnmarshaller.Instance; unmarshalledObject.Provider = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualServiceSpecUnmarshaller _instance = new VirtualServiceSpecUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualServiceSpecUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for VirtualServiceStatus Object /// </summary> public class VirtualServiceStatusUnmarshaller : IUnmarshaller<VirtualServiceStatus, XmlUnmarshallerContext>, IUnmarshaller<VirtualServiceStatus, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> VirtualServiceStatus IUnmarshaller<VirtualServiceStatus, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public VirtualServiceStatus Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; VirtualServiceStatus unmarshalledObject = new VirtualServiceStatus(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Status = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static VirtualServiceStatusUnmarshaller _instance = new VirtualServiceStatusUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static VirtualServiceStatusUnmarshaller Instance { get { return _instance; } } } }
92
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// WeightedTarget Marshaller /// </summary> public class WeightedTargetMarshaller : IRequestMarshaller<WeightedTarget, JsonMarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="requestObject"></param> /// <param name="context"></param> /// <returns></returns> public void Marshall(WeightedTarget requestObject, JsonMarshallerContext context) { if(requestObject.IsSetPort()) { context.Writer.WritePropertyName("port"); context.Writer.Write(requestObject.Port); } if(requestObject.IsSetVirtualNode()) { context.Writer.WritePropertyName("virtualNode"); context.Writer.Write(requestObject.VirtualNode); } if(requestObject.IsSetWeight()) { context.Writer.WritePropertyName("weight"); context.Writer.Write(requestObject.Weight); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static WeightedTargetMarshaller Instance = new WeightedTargetMarshaller(); } }
74
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Globalization; using System.IO; using System.Net; using System.Text; using System.Xml.Serialization; using Amazon.AppMesh.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AppMesh.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for WeightedTarget Object /// </summary> public class WeightedTargetUnmarshaller : IUnmarshaller<WeightedTarget, XmlUnmarshallerContext>, IUnmarshaller<WeightedTarget, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> WeightedTarget IUnmarshaller<WeightedTarget, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context) { throw new NotImplementedException(); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public WeightedTarget Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; WeightedTarget unmarshalledObject = new WeightedTarget(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("port", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.Port = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("virtualNode", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.VirtualNode = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("weight", targetDepth)) { var unmarshaller = IntUnmarshaller.Instance; unmarshalledObject.Weight = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static WeightedTargetUnmarshaller _instance = new WeightedTargetUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static WeightedTargetUnmarshaller Instance { get { return _instance; } } } }
104
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.AppMesh.Model { /// <summary> /// Paginators for the AppMesh service ///</summary> public class AppMeshPaginatorFactory : IAppMeshPaginatorFactory { private readonly IAmazonAppMesh client; internal AppMeshPaginatorFactory(IAmazonAppMesh client) { this.client = client; } /// <summary> /// Paginator for ListGatewayRoutes operation ///</summary> public IListGatewayRoutesPaginator ListGatewayRoutes(ListGatewayRoutesRequest request) { return new ListGatewayRoutesPaginator(this.client, request); } /// <summary> /// Paginator for ListMeshes operation ///</summary> public IListMeshesPaginator ListMeshes(ListMeshesRequest request) { return new ListMeshesPaginator(this.client, request); } /// <summary> /// Paginator for ListRoutes operation ///</summary> public IListRoutesPaginator ListRoutes(ListRoutesRequest request) { return new ListRoutesPaginator(this.client, request); } /// <summary> /// Paginator for ListTagsForResource operation ///</summary> public IListTagsForResourcePaginator ListTagsForResource(ListTagsForResourceRequest request) { return new ListTagsForResourcePaginator(this.client, request); } /// <summary> /// Paginator for ListVirtualGateways operation ///</summary> public IListVirtualGatewaysPaginator ListVirtualGateways(ListVirtualGatewaysRequest request) { return new ListVirtualGatewaysPaginator(this.client, request); } /// <summary> /// Paginator for ListVirtualNodes operation ///</summary> public IListVirtualNodesPaginator ListVirtualNodes(ListVirtualNodesRequest request) { return new ListVirtualNodesPaginator(this.client, request); } /// <summary> /// Paginator for ListVirtualRouters operation ///</summary> public IListVirtualRoutersPaginator ListVirtualRouters(ListVirtualRoutersRequest request) { return new ListVirtualRoutersPaginator(this.client, request); } /// <summary> /// Paginator for ListVirtualServices operation ///</summary> public IListVirtualServicesPaginator ListVirtualServices(ListVirtualServicesRequest request) { return new ListVirtualServicesPaginator(this.client, request); } } }
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. */ namespace Amazon.AppMesh.Model { /// <summary> /// Paginators for the AppMesh service ///</summary> public interface IAppMeshPaginatorFactory { /// <summary> /// Paginator for ListGatewayRoutes operation ///</summary> IListGatewayRoutesPaginator ListGatewayRoutes(ListGatewayRoutesRequest request); /// <summary> /// Paginator for ListMeshes operation ///</summary> IListMeshesPaginator ListMeshes(ListMeshesRequest request); /// <summary> /// Paginator for ListRoutes operation ///</summary> IListRoutesPaginator ListRoutes(ListRoutesRequest request); /// <summary> /// Paginator for ListTagsForResource operation ///</summary> IListTagsForResourcePaginator ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Paginator for ListVirtualGateways operation ///</summary> IListVirtualGatewaysPaginator ListVirtualGateways(ListVirtualGatewaysRequest request); /// <summary> /// Paginator for ListVirtualNodes operation ///</summary> IListVirtualNodesPaginator ListVirtualNodes(ListVirtualNodesRequest request); /// <summary> /// Paginator for ListVirtualRouters operation ///</summary> IListVirtualRoutersPaginator ListVirtualRouters(ListVirtualRoutersRequest request); /// <summary> /// Paginator for ListVirtualServices operation ///</summary> IListVirtualServicesPaginator ListVirtualServices(ListVirtualServicesRequest request); } }
68
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListGatewayRoutes operation ///</summary> public interface IListGatewayRoutesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListGatewayRoutesResponse> Responses { get; } /// <summary> /// Enumerable containing all of the GatewayRoutes /// </summary> IPaginatedEnumerable<GatewayRouteRef> GatewayRoutes { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListMeshes operation ///</summary> public interface IListMeshesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListMeshesResponse> Responses { get; } /// <summary> /// Enumerable containing all of the Meshes /// </summary> IPaginatedEnumerable<MeshRef> Meshes { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListRoutes operation ///</summary> public interface IListRoutesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListRoutesResponse> Responses { get; } /// <summary> /// Enumerable containing all of the Routes /// </summary> IPaginatedEnumerable<RouteRef> Routes { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListTagsForResource operation ///</summary> public interface IListTagsForResourcePaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListTagsForResourceResponse> Responses { get; } /// <summary> /// Enumerable containing all of the Tags /// </summary> IPaginatedEnumerable<TagRef> Tags { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListVirtualGateways operation ///</summary> public interface IListVirtualGatewaysPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListVirtualGatewaysResponse> Responses { get; } /// <summary> /// Enumerable containing all of the VirtualGateways /// </summary> IPaginatedEnumerable<VirtualGatewayRef> VirtualGateways { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListVirtualNodes operation ///</summary> public interface IListVirtualNodesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListVirtualNodesResponse> Responses { get; } /// <summary> /// Enumerable containing all of the VirtualNodes /// </summary> IPaginatedEnumerable<VirtualNodeRef> VirtualNodes { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListVirtualRouters operation ///</summary> public interface IListVirtualRoutersPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListVirtualRoutersResponse> Responses { get; } /// <summary> /// Enumerable containing all of the VirtualRouters /// </summary> IPaginatedEnumerable<VirtualRouterRef> VirtualRouters { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Paginator for the ListVirtualServices operation ///</summary> public interface IListVirtualServicesPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListVirtualServicesResponse> Responses { get; } /// <summary> /// Enumerable containing all of the VirtualServices /// </summary> IPaginatedEnumerable<VirtualServiceRef> VirtualServices { get; } } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListGatewayRoutes paginators. /// </summary> internal sealed partial class ListGatewayRoutesPaginator : IPaginator<ListGatewayRoutesResponse>, IListGatewayRoutesPaginator { private readonly IAmazonAppMesh _client; private readonly ListGatewayRoutesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListGatewayRoutesResponse> Responses => new PaginatedResponse<ListGatewayRoutesResponse>(this); /// <summary> /// Enumerable containing all of the GatewayRoutes /// </summary> public IPaginatedEnumerable<GatewayRouteRef> GatewayRoutes => new PaginatedResultKeyResponse<ListGatewayRoutesResponse, GatewayRouteRef>(this, (i) => i.GatewayRoutes); internal ListGatewayRoutesPaginator(IAmazonAppMesh client, ListGatewayRoutesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListGatewayRoutesResponse> IPaginator<ListGatewayRoutesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListGatewayRoutesResponse response; do { _request.NextToken = nextToken; response = _client.ListGatewayRoutes(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListGatewayRoutesResponse> IPaginator<ListGatewayRoutesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListGatewayRoutesResponse response; do { _request.NextToken = nextToken; response = await _client.ListGatewayRoutesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListMeshes paginators. /// </summary> internal sealed partial class ListMeshesPaginator : IPaginator<ListMeshesResponse>, IListMeshesPaginator { private readonly IAmazonAppMesh _client; private readonly ListMeshesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListMeshesResponse> Responses => new PaginatedResponse<ListMeshesResponse>(this); /// <summary> /// Enumerable containing all of the Meshes /// </summary> public IPaginatedEnumerable<MeshRef> Meshes => new PaginatedResultKeyResponse<ListMeshesResponse, MeshRef>(this, (i) => i.Meshes); internal ListMeshesPaginator(IAmazonAppMesh client, ListMeshesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListMeshesResponse> IPaginator<ListMeshesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListMeshesResponse response; do { _request.NextToken = nextToken; response = _client.ListMeshes(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListMeshesResponse> IPaginator<ListMeshesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListMeshesResponse response; do { _request.NextToken = nextToken; response = await _client.ListMeshesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListRoutes paginators. /// </summary> internal sealed partial class ListRoutesPaginator : IPaginator<ListRoutesResponse>, IListRoutesPaginator { private readonly IAmazonAppMesh _client; private readonly ListRoutesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListRoutesResponse> Responses => new PaginatedResponse<ListRoutesResponse>(this); /// <summary> /// Enumerable containing all of the Routes /// </summary> public IPaginatedEnumerable<RouteRef> Routes => new PaginatedResultKeyResponse<ListRoutesResponse, RouteRef>(this, (i) => i.Routes); internal ListRoutesPaginator(IAmazonAppMesh client, ListRoutesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListRoutesResponse> IPaginator<ListRoutesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListRoutesResponse response; do { _request.NextToken = nextToken; response = _client.ListRoutes(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListRoutesResponse> IPaginator<ListRoutesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListRoutesResponse response; do { _request.NextToken = nextToken; response = await _client.ListRoutesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListTagsForResource paginators. /// </summary> internal sealed partial class ListTagsForResourcePaginator : IPaginator<ListTagsForResourceResponse>, IListTagsForResourcePaginator { private readonly IAmazonAppMesh _client; private readonly ListTagsForResourceRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListTagsForResourceResponse> Responses => new PaginatedResponse<ListTagsForResourceResponse>(this); /// <summary> /// Enumerable containing all of the Tags /// </summary> public IPaginatedEnumerable<TagRef> Tags => new PaginatedResultKeyResponse<ListTagsForResourceResponse, TagRef>(this, (i) => i.Tags); internal ListTagsForResourcePaginator(IAmazonAppMesh client, ListTagsForResourceRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListTagsForResourceResponse> IPaginator<ListTagsForResourceResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListTagsForResourceResponse response; do { _request.NextToken = nextToken; response = _client.ListTagsForResource(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListTagsForResourceResponse> IPaginator<ListTagsForResourceResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListTagsForResourceResponse response; do { _request.NextToken = nextToken; response = await _client.ListTagsForResourceAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListVirtualGateways paginators. /// </summary> internal sealed partial class ListVirtualGatewaysPaginator : IPaginator<ListVirtualGatewaysResponse>, IListVirtualGatewaysPaginator { private readonly IAmazonAppMesh _client; private readonly ListVirtualGatewaysRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListVirtualGatewaysResponse> Responses => new PaginatedResponse<ListVirtualGatewaysResponse>(this); /// <summary> /// Enumerable containing all of the VirtualGateways /// </summary> public IPaginatedEnumerable<VirtualGatewayRef> VirtualGateways => new PaginatedResultKeyResponse<ListVirtualGatewaysResponse, VirtualGatewayRef>(this, (i) => i.VirtualGateways); internal ListVirtualGatewaysPaginator(IAmazonAppMesh client, ListVirtualGatewaysRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListVirtualGatewaysResponse> IPaginator<ListVirtualGatewaysResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualGatewaysResponse response; do { _request.NextToken = nextToken; response = _client.ListVirtualGateways(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListVirtualGatewaysResponse> IPaginator<ListVirtualGatewaysResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualGatewaysResponse response; do { _request.NextToken = nextToken; response = await _client.ListVirtualGatewaysAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListVirtualNodes paginators. /// </summary> internal sealed partial class ListVirtualNodesPaginator : IPaginator<ListVirtualNodesResponse>, IListVirtualNodesPaginator { private readonly IAmazonAppMesh _client; private readonly ListVirtualNodesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListVirtualNodesResponse> Responses => new PaginatedResponse<ListVirtualNodesResponse>(this); /// <summary> /// Enumerable containing all of the VirtualNodes /// </summary> public IPaginatedEnumerable<VirtualNodeRef> VirtualNodes => new PaginatedResultKeyResponse<ListVirtualNodesResponse, VirtualNodeRef>(this, (i) => i.VirtualNodes); internal ListVirtualNodesPaginator(IAmazonAppMesh client, ListVirtualNodesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListVirtualNodesResponse> IPaginator<ListVirtualNodesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualNodesResponse response; do { _request.NextToken = nextToken; response = _client.ListVirtualNodes(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListVirtualNodesResponse> IPaginator<ListVirtualNodesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualNodesResponse response; do { _request.NextToken = nextToken; response = await _client.ListVirtualNodesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListVirtualRouters paginators. /// </summary> internal sealed partial class ListVirtualRoutersPaginator : IPaginator<ListVirtualRoutersResponse>, IListVirtualRoutersPaginator { private readonly IAmazonAppMesh _client; private readonly ListVirtualRoutersRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListVirtualRoutersResponse> Responses => new PaginatedResponse<ListVirtualRoutersResponse>(this); /// <summary> /// Enumerable containing all of the VirtualRouters /// </summary> public IPaginatedEnumerable<VirtualRouterRef> VirtualRouters => new PaginatedResultKeyResponse<ListVirtualRoutersResponse, VirtualRouterRef>(this, (i) => i.VirtualRouters); internal ListVirtualRoutersPaginator(IAmazonAppMesh client, ListVirtualRoutersRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListVirtualRoutersResponse> IPaginator<ListVirtualRoutersResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualRoutersResponse response; do { _request.NextToken = nextToken; response = _client.ListVirtualRouters(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListVirtualRoutersResponse> IPaginator<ListVirtualRoutersResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualRoutersResponse response; do { _request.NextToken = nextToken; response = await _client.ListVirtualRoutersAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; using System.Collections; using System.Threading; using System.Threading.Tasks; using Amazon.Runtime; namespace Amazon.AppMesh.Model { /// <summary> /// Base class for ListVirtualServices paginators. /// </summary> internal sealed partial class ListVirtualServicesPaginator : IPaginator<ListVirtualServicesResponse>, IListVirtualServicesPaginator { private readonly IAmazonAppMesh _client; private readonly ListVirtualServicesRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListVirtualServicesResponse> Responses => new PaginatedResponse<ListVirtualServicesResponse>(this); /// <summary> /// Enumerable containing all of the VirtualServices /// </summary> public IPaginatedEnumerable<VirtualServiceRef> VirtualServices => new PaginatedResultKeyResponse<ListVirtualServicesResponse, VirtualServiceRef>(this, (i) => i.VirtualServices); internal ListVirtualServicesPaginator(IAmazonAppMesh client, ListVirtualServicesRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListVirtualServicesResponse> IPaginator<ListVirtualServicesResponse>.Paginate() { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualServicesResponse response; do { _request.NextToken = nextToken; response = _client.ListVirtualServices(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListVirtualServicesResponse> IPaginator<ListVirtualServicesResponse>.PaginateAsync(CancellationToken cancellationToken = default) { if (Interlocked.Exchange(ref _isPaginatorInUse, 1) != 0) { throw new System.InvalidOperationException("Paginator has already been consumed and cannot be reused. Please create a new instance."); } PaginatorUtils.SetUserAgentAdditionOnRequest(_request); var nextToken = _request.NextToken; ListVirtualServicesResponse response; do { _request.NextToken = nextToken; response = await _client.ListVirtualServicesAsync(_request, cancellationToken).ConfigureAwait(false); nextToken = response.NextToken; cancellationToken.ThrowIfCancellationRequested(); yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif } }
97
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.AppMesh.Model; using Amazon.AppMesh.Model.Internal.MarshallTransformations; using Amazon.AppMesh.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppMesh { /// <summary> /// Implementation for accessing AppMesh /// /// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor /// and control microservices. App Mesh standardizes how your microservices communicate, /// giving you end-to-end visibility and helping to ensure high availability for your /// applications. /// /// /// <para> /// App Mesh gives you consistent visibility and network traffic controls for every microservice /// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, /// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2. /// </para> /// <note> /// <para> /// App Mesh supports microservice applications that use service discovery naming for /// their components. For more information about service discovery on Amazon ECS, see /// <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service /// Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes /// <code>kube-dns</code> and <code>coredns</code> are supported. For more information, /// see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS /// for Services and Pods</a> in the Kubernetes documentation. /// </para> /// </note> /// </summary> public partial class AmazonAppMeshClient : AmazonServiceClient, IAmazonAppMesh { private static IServiceMetadata serviceMetadata = new AmazonAppMeshMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IAppMeshPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppMeshPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppMeshPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppMeshClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(AmazonAppMeshConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppMeshClient(AWSCredentials credentials) : this(credentials, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(AWSCredentials credentials, AmazonAppMeshConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppMeshConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppMeshConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppMeshEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateGatewayRoute /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> public virtual CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return Invoke<CreateGatewayRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> public virtual IAsyncResult BeginCreateGatewayRoute(CreateGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateGatewayRoute.</param> /// /// <returns>Returns a CreateGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> public virtual CreateGatewayRouteResponse EndCreateGatewayRoute(IAsyncResult asyncResult) { return EndInvoke<CreateGatewayRouteResponse>(asyncResult); } #endregion #region CreateMesh /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> public virtual CreateMeshResponse CreateMesh(CreateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return Invoke<CreateMeshResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> public virtual IAsyncResult BeginCreateMesh(CreateMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateMesh.</param> /// /// <returns>Returns a CreateMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> public virtual CreateMeshResponse EndCreateMesh(IAsyncResult asyncResult) { return EndInvoke<CreateMeshResponse>(asyncResult); } #endregion #region CreateRoute /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return Invoke<CreateRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> public virtual IAsyncResult BeginCreateRoute(CreateRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRoute.</param> /// /// <returns>Returns a CreateRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> public virtual CreateRouteResponse EndCreateRoute(IAsyncResult asyncResult) { return EndInvoke<CreateRouteResponse>(asyncResult); } #endregion #region CreateVirtualGateway /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> public virtual CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return Invoke<CreateVirtualGatewayResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> public virtual IAsyncResult BeginCreateVirtualGateway(CreateVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualGateway.</param> /// /// <returns>Returns a CreateVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> public virtual CreateVirtualGatewayResponse EndCreateVirtualGateway(IAsyncResult asyncResult) { return EndInvoke<CreateVirtualGatewayResponse>(asyncResult); } #endregion #region CreateVirtualNode /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> public virtual CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return Invoke<CreateVirtualNodeResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> public virtual IAsyncResult BeginCreateVirtualNode(CreateVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualNode.</param> /// /// <returns>Returns a CreateVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> public virtual CreateVirtualNodeResponse EndCreateVirtualNode(IAsyncResult asyncResult) { return EndInvoke<CreateVirtualNodeResponse>(asyncResult); } #endregion #region CreateVirtualRouter /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> public virtual CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return Invoke<CreateVirtualRouterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> public virtual IAsyncResult BeginCreateVirtualRouter(CreateVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualRouter.</param> /// /// <returns>Returns a CreateVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> public virtual CreateVirtualRouterResponse EndCreateVirtualRouter(IAsyncResult asyncResult) { return EndInvoke<CreateVirtualRouterResponse>(asyncResult); } #endregion #region CreateVirtualService /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> public virtual CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return Invoke<CreateVirtualServiceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> public virtual IAsyncResult BeginCreateVirtualService(CreateVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualService.</param> /// /// <returns>Returns a CreateVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> public virtual CreateVirtualServiceResponse EndCreateVirtualService(IAsyncResult asyncResult) { return EndInvoke<CreateVirtualServiceResponse>(asyncResult); } #endregion #region DeleteGatewayRoute /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> public virtual DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return Invoke<DeleteGatewayRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> public virtual IAsyncResult BeginDeleteGatewayRoute(DeleteGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteGatewayRoute.</param> /// /// <returns>Returns a DeleteGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> public virtual DeleteGatewayRouteResponse EndDeleteGatewayRoute(IAsyncResult asyncResult) { return EndInvoke<DeleteGatewayRouteResponse>(asyncResult); } #endregion #region DeleteMesh /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> public virtual DeleteMeshResponse DeleteMesh(DeleteMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return Invoke<DeleteMeshResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> public virtual IAsyncResult BeginDeleteMesh(DeleteMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMesh.</param> /// /// <returns>Returns a DeleteMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> public virtual DeleteMeshResponse EndDeleteMesh(IAsyncResult asyncResult) { return EndInvoke<DeleteMeshResponse>(asyncResult); } #endregion #region DeleteRoute /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> public virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return Invoke<DeleteRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> public virtual IAsyncResult BeginDeleteRoute(DeleteRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRoute.</param> /// /// <returns>Returns a DeleteRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> public virtual DeleteRouteResponse EndDeleteRoute(IAsyncResult asyncResult) { return EndInvoke<DeleteRouteResponse>(asyncResult); } #endregion #region DeleteVirtualGateway /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> public virtual DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return Invoke<DeleteVirtualGatewayResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> public virtual IAsyncResult BeginDeleteVirtualGateway(DeleteVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualGateway.</param> /// /// <returns>Returns a DeleteVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> public virtual DeleteVirtualGatewayResponse EndDeleteVirtualGateway(IAsyncResult asyncResult) { return EndInvoke<DeleteVirtualGatewayResponse>(asyncResult); } #endregion #region DeleteVirtualNode /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> public virtual DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return Invoke<DeleteVirtualNodeResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> public virtual IAsyncResult BeginDeleteVirtualNode(DeleteVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualNode.</param> /// /// <returns>Returns a DeleteVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> public virtual DeleteVirtualNodeResponse EndDeleteVirtualNode(IAsyncResult asyncResult) { return EndInvoke<DeleteVirtualNodeResponse>(asyncResult); } #endregion #region DeleteVirtualRouter /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> public virtual DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return Invoke<DeleteVirtualRouterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> public virtual IAsyncResult BeginDeleteVirtualRouter(DeleteVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualRouter.</param> /// /// <returns>Returns a DeleteVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> public virtual DeleteVirtualRouterResponse EndDeleteVirtualRouter(IAsyncResult asyncResult) { return EndInvoke<DeleteVirtualRouterResponse>(asyncResult); } #endregion #region DeleteVirtualService /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> public virtual DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return Invoke<DeleteVirtualServiceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> public virtual IAsyncResult BeginDeleteVirtualService(DeleteVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualService.</param> /// /// <returns>Returns a DeleteVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> public virtual DeleteVirtualServiceResponse EndDeleteVirtualService(IAsyncResult asyncResult) { return EndInvoke<DeleteVirtualServiceResponse>(asyncResult); } #endregion #region DescribeGatewayRoute /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> public virtual DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return Invoke<DescribeGatewayRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> public virtual IAsyncResult BeginDescribeGatewayRoute(DescribeGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeGatewayRoute.</param> /// /// <returns>Returns a DescribeGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> public virtual DescribeGatewayRouteResponse EndDescribeGatewayRoute(IAsyncResult asyncResult) { return EndInvoke<DescribeGatewayRouteResponse>(asyncResult); } #endregion #region DescribeMesh /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual DescribeMeshResponse DescribeMesh(DescribeMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return Invoke<DescribeMeshResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual IAsyncResult BeginDescribeMesh(DescribeMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeMesh.</param> /// /// <returns>Returns a DescribeMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual DescribeMeshResponse EndDescribeMesh(IAsyncResult asyncResult) { return EndInvoke<DescribeMeshResponse>(asyncResult); } #endregion #region DescribeRoute /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> public virtual DescribeRouteResponse DescribeRoute(DescribeRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return Invoke<DescribeRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> public virtual IAsyncResult BeginDescribeRoute(DescribeRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeRoute.</param> /// /// <returns>Returns a DescribeRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> public virtual DescribeRouteResponse EndDescribeRoute(IAsyncResult asyncResult) { return EndInvoke<DescribeRouteResponse>(asyncResult); } #endregion #region DescribeVirtualGateway /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> public virtual DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return Invoke<DescribeVirtualGatewayResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> public virtual IAsyncResult BeginDescribeVirtualGateway(DescribeVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualGateway.</param> /// /// <returns>Returns a DescribeVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> public virtual DescribeVirtualGatewayResponse EndDescribeVirtualGateway(IAsyncResult asyncResult) { return EndInvoke<DescribeVirtualGatewayResponse>(asyncResult); } #endregion #region DescribeVirtualNode /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> public virtual DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return Invoke<DescribeVirtualNodeResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> public virtual IAsyncResult BeginDescribeVirtualNode(DescribeVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualNode.</param> /// /// <returns>Returns a DescribeVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> public virtual DescribeVirtualNodeResponse EndDescribeVirtualNode(IAsyncResult asyncResult) { return EndInvoke<DescribeVirtualNodeResponse>(asyncResult); } #endregion #region DescribeVirtualRouter /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> public virtual DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return Invoke<DescribeVirtualRouterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> public virtual IAsyncResult BeginDescribeVirtualRouter(DescribeVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualRouter.</param> /// /// <returns>Returns a DescribeVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> public virtual DescribeVirtualRouterResponse EndDescribeVirtualRouter(IAsyncResult asyncResult) { return EndInvoke<DescribeVirtualRouterResponse>(asyncResult); } #endregion #region DescribeVirtualService /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> public virtual DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return Invoke<DescribeVirtualServiceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> public virtual IAsyncResult BeginDescribeVirtualService(DescribeVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualService.</param> /// /// <returns>Returns a DescribeVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> public virtual DescribeVirtualServiceResponse EndDescribeVirtualService(IAsyncResult asyncResult) { return EndInvoke<DescribeVirtualServiceResponse>(asyncResult); } #endregion #region ListGatewayRoutes /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> public virtual ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return Invoke<ListGatewayRoutesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListGatewayRoutes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGatewayRoutes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> public virtual IAsyncResult BeginListGatewayRoutes(ListGatewayRoutesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListGatewayRoutes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListGatewayRoutes.</param> /// /// <returns>Returns a ListGatewayRoutesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> public virtual ListGatewayRoutesResponse EndListGatewayRoutes(IAsyncResult asyncResult) { return EndInvoke<ListGatewayRoutesResponse>(asyncResult); } #endregion #region ListMeshes /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> public virtual ListMeshesResponse ListMeshes(ListMeshesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return Invoke<ListMeshesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListMeshes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListMeshes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMeshes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> public virtual IAsyncResult BeginListMeshes(ListMeshesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListMeshes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMeshes.</param> /// /// <returns>Returns a ListMeshesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> public virtual ListMeshesResponse EndListMeshes(IAsyncResult asyncResult) { return EndInvoke<ListMeshesResponse>(asyncResult); } #endregion #region ListRoutes /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> public virtual ListRoutesResponse ListRoutes(ListRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return Invoke<ListRoutesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListRoutes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListRoutes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRoutes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> public virtual IAsyncResult BeginListRoutes(ListRoutesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListRoutes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListRoutes.</param> /// /// <returns>Returns a ListRoutesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> public virtual ListRoutesResponse EndListRoutes(IAsyncResult asyncResult) { return EndInvoke<ListRoutesResponse>(asyncResult); } #endregion #region ListTagsForResource /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke<ListTagsForResourceResponse>(asyncResult); } #endregion #region ListVirtualGateways /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> public virtual ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return Invoke<ListVirtualGatewaysResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListVirtualGateways operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualGateways /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> public virtual IAsyncResult BeginListVirtualGateways(ListVirtualGatewaysRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListVirtualGateways operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualGateways.</param> /// /// <returns>Returns a ListVirtualGatewaysResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> public virtual ListVirtualGatewaysResponse EndListVirtualGateways(IAsyncResult asyncResult) { return EndInvoke<ListVirtualGatewaysResponse>(asyncResult); } #endregion #region ListVirtualNodes /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> public virtual ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return Invoke<ListVirtualNodesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListVirtualNodes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualNodes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> public virtual IAsyncResult BeginListVirtualNodes(ListVirtualNodesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListVirtualNodes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualNodes.</param> /// /// <returns>Returns a ListVirtualNodesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> public virtual ListVirtualNodesResponse EndListVirtualNodes(IAsyncResult asyncResult) { return EndInvoke<ListVirtualNodesResponse>(asyncResult); } #endregion #region ListVirtualRouters /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> public virtual ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return Invoke<ListVirtualRoutersResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListVirtualRouters operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualRouters /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> public virtual IAsyncResult BeginListVirtualRouters(ListVirtualRoutersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListVirtualRouters operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualRouters.</param> /// /// <returns>Returns a ListVirtualRoutersResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> public virtual ListVirtualRoutersResponse EndListVirtualRouters(IAsyncResult asyncResult) { return EndInvoke<ListVirtualRoutersResponse>(asyncResult); } #endregion #region ListVirtualServices /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> public virtual ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return Invoke<ListVirtualServicesResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListVirtualServices operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualServices /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> public virtual IAsyncResult BeginListVirtualServices(ListVirtualServicesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListVirtualServices operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualServices.</param> /// /// <returns>Returns a ListVirtualServicesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> public virtual ListVirtualServicesResponse EndListVirtualServices(IAsyncResult asyncResult) { return EndInvoke<ListVirtualServicesResponse>(asyncResult); } #endregion #region TagResource /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke<TagResourceResponse>(asyncResult); } #endregion #region UntagResource /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke<UntagResourceResponse>(asyncResult); } #endregion #region UpdateGatewayRoute /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> public virtual UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return Invoke<UpdateGatewayRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> public virtual IAsyncResult BeginUpdateGatewayRoute(UpdateGatewayRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateGatewayRoute.</param> /// /// <returns>Returns a UpdateGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> public virtual UpdateGatewayRouteResponse EndUpdateGatewayRoute(IAsyncResult asyncResult) { return EndInvoke<UpdateGatewayRouteResponse>(asyncResult); } #endregion #region UpdateMesh /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> public virtual UpdateMeshResponse UpdateMesh(UpdateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return Invoke<UpdateMeshResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> public virtual IAsyncResult BeginUpdateMesh(UpdateMeshRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMesh.</param> /// /// <returns>Returns a UpdateMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> public virtual UpdateMeshResponse EndUpdateMesh(IAsyncResult asyncResult) { return EndInvoke<UpdateMeshResponse>(asyncResult); } #endregion #region UpdateRoute /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> public virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return Invoke<UpdateRouteResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> public virtual IAsyncResult BeginUpdateRoute(UpdateRouteRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRoute.</param> /// /// <returns>Returns a UpdateRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> public virtual UpdateRouteResponse EndUpdateRoute(IAsyncResult asyncResult) { return EndInvoke<UpdateRouteResponse>(asyncResult); } #endregion #region UpdateVirtualGateway /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> public virtual UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return Invoke<UpdateVirtualGatewayResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> public virtual IAsyncResult BeginUpdateVirtualGateway(UpdateVirtualGatewayRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualGateway.</param> /// /// <returns>Returns a UpdateVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> public virtual UpdateVirtualGatewayResponse EndUpdateVirtualGateway(IAsyncResult asyncResult) { return EndInvoke<UpdateVirtualGatewayResponse>(asyncResult); } #endregion #region UpdateVirtualNode /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return Invoke<UpdateVirtualNodeResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual IAsyncResult BeginUpdateVirtualNode(UpdateVirtualNodeRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualNode.</param> /// /// <returns>Returns a UpdateVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual UpdateVirtualNodeResponse EndUpdateVirtualNode(IAsyncResult asyncResult) { return EndInvoke<UpdateVirtualNodeResponse>(asyncResult); } #endregion #region UpdateVirtualRouter /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> public virtual UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return Invoke<UpdateVirtualRouterResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> public virtual IAsyncResult BeginUpdateVirtualRouter(UpdateVirtualRouterRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualRouter.</param> /// /// <returns>Returns a UpdateVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> public virtual UpdateVirtualRouterResponse EndUpdateVirtualRouter(IAsyncResult asyncResult) { return EndInvoke<UpdateVirtualRouterResponse>(asyncResult); } #endregion #region UpdateVirtualService /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> public virtual UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return Invoke<UpdateVirtualServiceResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> public virtual IAsyncResult BeginUpdateVirtualService(UpdateVirtualServiceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualService.</param> /// /// <returns>Returns a UpdateVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> public virtual UpdateVirtualServiceResponse EndUpdateVirtualService(IAsyncResult asyncResult) { return EndInvoke<UpdateVirtualServiceResponse>(asyncResult); } #endregion } }
3,343
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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 Amazon.Runtime; using Amazon.AppMesh.Model; namespace Amazon.AppMesh { /// <summary> /// Interface for accessing AppMesh /// /// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor /// and control microservices. App Mesh standardizes how your microservices communicate, /// giving you end-to-end visibility and helping to ensure high availability for your /// applications. /// /// /// <para> /// App Mesh gives you consistent visibility and network traffic controls for every microservice /// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, /// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2. /// </para> /// <note> /// <para> /// App Mesh supports microservice applications that use service discovery naming for /// their components. For more information about service discovery on Amazon ECS, see /// <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service /// Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes /// <code>kube-dns</code> and <code>coredns</code> are supported. For more information, /// see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS /// for Services and Pods</a> in the Kubernetes documentation. /// </para> /// </note> /// </summary> public partial interface IAmazonAppMesh : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAppMeshPaginatorFactory Paginators { get; } #endif #region CreateGatewayRoute /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> IAsyncResult BeginCreateGatewayRoute(CreateGatewayRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateGatewayRoute.</param> /// /// <returns>Returns a CreateGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> CreateGatewayRouteResponse EndCreateGatewayRoute(IAsyncResult asyncResult); #endregion #region CreateMesh /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> CreateMeshResponse CreateMesh(CreateMeshRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> IAsyncResult BeginCreateMesh(CreateMeshRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateMesh.</param> /// /// <returns>Returns a CreateMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> CreateMeshResponse EndCreateMesh(IAsyncResult asyncResult); #endregion #region CreateRoute /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> CreateRouteResponse CreateRoute(CreateRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> IAsyncResult BeginCreateRoute(CreateRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateRoute.</param> /// /// <returns>Returns a CreateRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> CreateRouteResponse EndCreateRoute(IAsyncResult asyncResult); #endregion #region CreateVirtualGateway /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> IAsyncResult BeginCreateVirtualGateway(CreateVirtualGatewayRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualGateway.</param> /// /// <returns>Returns a CreateVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> CreateVirtualGatewayResponse EndCreateVirtualGateway(IAsyncResult asyncResult); #endregion #region CreateVirtualNode /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> IAsyncResult BeginCreateVirtualNode(CreateVirtualNodeRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualNode.</param> /// /// <returns>Returns a CreateVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> CreateVirtualNodeResponse EndCreateVirtualNode(IAsyncResult asyncResult); #endregion #region CreateVirtualRouter /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> IAsyncResult BeginCreateVirtualRouter(CreateVirtualRouterRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualRouter.</param> /// /// <returns>Returns a CreateVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> CreateVirtualRouterResponse EndCreateVirtualRouter(IAsyncResult asyncResult); #endregion #region CreateVirtualService /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> IAsyncResult BeginCreateVirtualService(CreateVirtualServiceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateVirtualService.</param> /// /// <returns>Returns a CreateVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> CreateVirtualServiceResponse EndCreateVirtualService(IAsyncResult asyncResult); #endregion #region DeleteGatewayRoute /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> IAsyncResult BeginDeleteGatewayRoute(DeleteGatewayRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteGatewayRoute.</param> /// /// <returns>Returns a DeleteGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> DeleteGatewayRouteResponse EndDeleteGatewayRoute(IAsyncResult asyncResult); #endregion #region DeleteMesh /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> DeleteMeshResponse DeleteMesh(DeleteMeshRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> IAsyncResult BeginDeleteMesh(DeleteMeshRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteMesh.</param> /// /// <returns>Returns a DeleteMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> DeleteMeshResponse EndDeleteMesh(IAsyncResult asyncResult); #endregion #region DeleteRoute /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> DeleteRouteResponse DeleteRoute(DeleteRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> IAsyncResult BeginDeleteRoute(DeleteRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteRoute.</param> /// /// <returns>Returns a DeleteRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> DeleteRouteResponse EndDeleteRoute(IAsyncResult asyncResult); #endregion #region DeleteVirtualGateway /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> IAsyncResult BeginDeleteVirtualGateway(DeleteVirtualGatewayRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualGateway.</param> /// /// <returns>Returns a DeleteVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> DeleteVirtualGatewayResponse EndDeleteVirtualGateway(IAsyncResult asyncResult); #endregion #region DeleteVirtualNode /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> IAsyncResult BeginDeleteVirtualNode(DeleteVirtualNodeRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualNode.</param> /// /// <returns>Returns a DeleteVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> DeleteVirtualNodeResponse EndDeleteVirtualNode(IAsyncResult asyncResult); #endregion #region DeleteVirtualRouter /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> IAsyncResult BeginDeleteVirtualRouter(DeleteVirtualRouterRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualRouter.</param> /// /// <returns>Returns a DeleteVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> DeleteVirtualRouterResponse EndDeleteVirtualRouter(IAsyncResult asyncResult); #endregion #region DeleteVirtualService /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> IAsyncResult BeginDeleteVirtualService(DeleteVirtualServiceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteVirtualService.</param> /// /// <returns>Returns a DeleteVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> DeleteVirtualServiceResponse EndDeleteVirtualService(IAsyncResult asyncResult); #endregion #region DescribeGatewayRoute /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> IAsyncResult BeginDescribeGatewayRoute(DescribeGatewayRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeGatewayRoute.</param> /// /// <returns>Returns a DescribeGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> DescribeGatewayRouteResponse EndDescribeGatewayRoute(IAsyncResult asyncResult); #endregion #region DescribeMesh /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> DescribeMeshResponse DescribeMesh(DescribeMeshRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> IAsyncResult BeginDescribeMesh(DescribeMeshRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeMesh.</param> /// /// <returns>Returns a DescribeMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> DescribeMeshResponse EndDescribeMesh(IAsyncResult asyncResult); #endregion #region DescribeRoute /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> DescribeRouteResponse DescribeRoute(DescribeRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> IAsyncResult BeginDescribeRoute(DescribeRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeRoute.</param> /// /// <returns>Returns a DescribeRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> DescribeRouteResponse EndDescribeRoute(IAsyncResult asyncResult); #endregion #region DescribeVirtualGateway /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> IAsyncResult BeginDescribeVirtualGateway(DescribeVirtualGatewayRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualGateway.</param> /// /// <returns>Returns a DescribeVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> DescribeVirtualGatewayResponse EndDescribeVirtualGateway(IAsyncResult asyncResult); #endregion #region DescribeVirtualNode /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> IAsyncResult BeginDescribeVirtualNode(DescribeVirtualNodeRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualNode.</param> /// /// <returns>Returns a DescribeVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> DescribeVirtualNodeResponse EndDescribeVirtualNode(IAsyncResult asyncResult); #endregion #region DescribeVirtualRouter /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> IAsyncResult BeginDescribeVirtualRouter(DescribeVirtualRouterRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualRouter.</param> /// /// <returns>Returns a DescribeVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> DescribeVirtualRouterResponse EndDescribeVirtualRouter(IAsyncResult asyncResult); #endregion #region DescribeVirtualService /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request); /// <summary> /// Initiates the asynchronous execution of the DescribeVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> IAsyncResult BeginDescribeVirtualService(DescribeVirtualServiceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DescribeVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDescribeVirtualService.</param> /// /// <returns>Returns a DescribeVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> DescribeVirtualServiceResponse EndDescribeVirtualService(IAsyncResult asyncResult); #endregion #region ListGatewayRoutes /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListGatewayRoutes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListGatewayRoutes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> IAsyncResult BeginListGatewayRoutes(ListGatewayRoutesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListGatewayRoutes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListGatewayRoutes.</param> /// /// <returns>Returns a ListGatewayRoutesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> ListGatewayRoutesResponse EndListGatewayRoutes(IAsyncResult asyncResult); #endregion #region ListMeshes /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> ListMeshesResponse ListMeshes(ListMeshesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListMeshes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListMeshes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMeshes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> IAsyncResult BeginListMeshes(ListMeshesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListMeshes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListMeshes.</param> /// /// <returns>Returns a ListMeshesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> ListMeshesResponse EndListMeshes(IAsyncResult asyncResult); #endregion #region ListRoutes /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> ListRoutesResponse ListRoutes(ListRoutesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListRoutes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListRoutes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListRoutes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> IAsyncResult BeginListRoutes(ListRoutesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListRoutes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListRoutes.</param> /// /// <returns>Returns a ListRoutesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> ListRoutesResponse EndListRoutes(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListTagsForResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param> /// /// <returns>Returns a ListTagsForResourceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region ListVirtualGateways /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request); /// <summary> /// Initiates the asynchronous execution of the ListVirtualGateways operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualGateways /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> IAsyncResult BeginListVirtualGateways(ListVirtualGatewaysRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListVirtualGateways operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualGateways.</param> /// /// <returns>Returns a ListVirtualGatewaysResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> ListVirtualGatewaysResponse EndListVirtualGateways(IAsyncResult asyncResult); #endregion #region ListVirtualNodes /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListVirtualNodes operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualNodes /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> IAsyncResult BeginListVirtualNodes(ListVirtualNodesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListVirtualNodes operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualNodes.</param> /// /// <returns>Returns a ListVirtualNodesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> ListVirtualNodesResponse EndListVirtualNodes(IAsyncResult asyncResult); #endregion #region ListVirtualRouters /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request); /// <summary> /// Initiates the asynchronous execution of the ListVirtualRouters operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualRouters /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> IAsyncResult BeginListVirtualRouters(ListVirtualRoutersRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListVirtualRouters operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualRouters.</param> /// /// <returns>Returns a ListVirtualRoutersResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> ListVirtualRoutersResponse EndListVirtualRouters(IAsyncResult asyncResult); #endregion #region ListVirtualServices /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request); /// <summary> /// Initiates the asynchronous execution of the ListVirtualServices operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVirtualServices /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> IAsyncResult BeginListVirtualServices(ListVirtualServicesRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListVirtualServices operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListVirtualServices.</param> /// /// <returns>Returns a ListVirtualServicesResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> ListVirtualServicesResponse EndListVirtualServices(IAsyncResult asyncResult); #endregion #region TagResource /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the TagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param> /// /// <returns>Returns a TagResourceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Initiates the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UntagResource operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param> /// /// <returns>Returns a UntagResourceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateGatewayRoute /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateGatewayRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateGatewayRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> IAsyncResult BeginUpdateGatewayRoute(UpdateGatewayRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateGatewayRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateGatewayRoute.</param> /// /// <returns>Returns a UpdateGatewayRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> UpdateGatewayRouteResponse EndUpdateGatewayRoute(IAsyncResult asyncResult); #endregion #region UpdateMesh /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> UpdateMeshResponse UpdateMesh(UpdateMeshRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateMesh operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateMesh operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateMesh /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> IAsyncResult BeginUpdateMesh(UpdateMeshRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateMesh operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateMesh.</param> /// /// <returns>Returns a UpdateMeshResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> UpdateMeshResponse EndUpdateMesh(IAsyncResult asyncResult); #endregion #region UpdateRoute /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> UpdateRouteResponse UpdateRoute(UpdateRouteRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateRoute operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateRoute operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateRoute /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> IAsyncResult BeginUpdateRoute(UpdateRouteRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateRoute operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateRoute.</param> /// /// <returns>Returns a UpdateRouteResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> UpdateRouteResponse EndUpdateRoute(IAsyncResult asyncResult); #endregion #region UpdateVirtualGateway /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualGateway operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualGateway /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> IAsyncResult BeginUpdateVirtualGateway(UpdateVirtualGatewayRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualGateway operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualGateway.</param> /// /// <returns>Returns a UpdateVirtualGatewayResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> UpdateVirtualGatewayResponse EndUpdateVirtualGateway(IAsyncResult asyncResult); #endregion #region UpdateVirtualNode /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualNode operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualNode /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> IAsyncResult BeginUpdateVirtualNode(UpdateVirtualNodeRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualNode operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualNode.</param> /// /// <returns>Returns a UpdateVirtualNodeResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> UpdateVirtualNodeResponse EndUpdateVirtualNode(IAsyncResult asyncResult); #endregion #region UpdateVirtualRouter /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualRouter operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualRouter /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> IAsyncResult BeginUpdateVirtualRouter(UpdateVirtualRouterRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualRouter operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualRouter.</param> /// /// <returns>Returns a UpdateVirtualRouterResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> UpdateVirtualRouterResponse EndUpdateVirtualRouter(IAsyncResult asyncResult); #endregion #region UpdateVirtualService /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateVirtualService operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService operation on AmazonAppMeshClient.</param> /// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param> /// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property.</param> /// /// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVirtualService /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> IAsyncResult BeginUpdateVirtualService(UpdateVirtualServiceRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateVirtualService operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateVirtualService.</param> /// /// <returns>Returns a UpdateVirtualServiceResult from AppMesh.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> UpdateVirtualServiceResponse EndUpdateVirtualService(IAsyncResult asyncResult); #endregion } }
2,591
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AppMesh.Model; using Amazon.AppMesh.Model.Internal.MarshallTransformations; using Amazon.AppMesh.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppMesh { /// <summary> /// Implementation for accessing AppMesh /// /// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor /// and control microservices. App Mesh standardizes how your microservices communicate, /// giving you end-to-end visibility and helping to ensure high availability for your /// applications. /// /// /// <para> /// App Mesh gives you consistent visibility and network traffic controls for every microservice /// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, /// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2. /// </para> /// <note> /// <para> /// App Mesh supports microservice applications that use service discovery naming for /// their components. For more information about service discovery on Amazon ECS, see /// <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service /// Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes /// <code>kube-dns</code> and <code>coredns</code> are supported. For more information, /// see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS /// for Services and Pods</a> in the Kubernetes documentation. /// </para> /// </note> /// </summary> public partial class AmazonAppMeshClient : AmazonServiceClient, IAmazonAppMesh { private static IServiceMetadata serviceMetadata = new AmazonAppMeshMetadata(); private IAppMeshPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppMeshPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppMeshPaginatorFactory(this); } return this._paginators; } } #region Constructors /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppMeshClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(AmazonAppMeshConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppMeshClient(AWSCredentials credentials) : this(credentials, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(AWSCredentials credentials, AmazonAppMeshConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppMeshConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppMeshConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customize the pipeline /// </summary> /// <param name="pipeline"></param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppMeshEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateGatewayRoute /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> public virtual CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return Invoke<CreateGatewayRouteResponse>(request, options); } /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> public virtual Task<CreateGatewayRouteResponse> CreateGatewayRouteAsync(CreateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<CreateGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region CreateMesh /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> public virtual CreateMeshResponse CreateMesh(CreateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return Invoke<CreateMeshResponse>(request, options); } /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> public virtual Task<CreateMeshResponse> CreateMeshAsync(CreateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return InvokeAsync<CreateMeshResponse>(request, options, cancellationToken); } #endregion #region CreateRoute /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> public virtual CreateRouteResponse CreateRoute(CreateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return Invoke<CreateRouteResponse>(request, options); } /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> public virtual Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return InvokeAsync<CreateRouteResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualGateway /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> public virtual CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return Invoke<CreateVirtualGatewayResponse>(request, options); } /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> public virtual Task<CreateVirtualGatewayResponse> CreateVirtualGatewayAsync(CreateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualNode /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> public virtual CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return Invoke<CreateVirtualNodeResponse>(request, options); } /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> public virtual Task<CreateVirtualNodeResponse> CreateVirtualNodeAsync(CreateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualRouter /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> public virtual CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return Invoke<CreateVirtualRouterResponse>(request, options); } /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> public virtual Task<CreateVirtualRouterResponse> CreateVirtualRouterAsync(CreateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualService /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> public virtual CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return Invoke<CreateVirtualServiceResponse>(request, options); } /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> public virtual Task<CreateVirtualServiceResponse> CreateVirtualServiceAsync(CreateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualServiceResponse>(request, options, cancellationToken); } #endregion #region DeleteGatewayRoute /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> public virtual DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return Invoke<DeleteGatewayRouteResponse>(request, options); } /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> public virtual Task<DeleteGatewayRouteResponse> DeleteGatewayRouteAsync(DeleteGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<DeleteGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region DeleteMesh /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> public virtual DeleteMeshResponse DeleteMesh(DeleteMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return Invoke<DeleteMeshResponse>(request, options); } /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> public virtual Task<DeleteMeshResponse> DeleteMeshAsync(DeleteMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return InvokeAsync<DeleteMeshResponse>(request, options, cancellationToken); } #endregion #region DeleteRoute /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> public virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return Invoke<DeleteRouteResponse>(request, options); } /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> public virtual Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return InvokeAsync<DeleteRouteResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualGateway /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> public virtual DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return Invoke<DeleteVirtualGatewayResponse>(request, options); } /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> public virtual Task<DeleteVirtualGatewayResponse> DeleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualNode /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> public virtual DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return Invoke<DeleteVirtualNodeResponse>(request, options); } /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> public virtual Task<DeleteVirtualNodeResponse> DeleteVirtualNodeAsync(DeleteVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualRouter /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> public virtual DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return Invoke<DeleteVirtualRouterResponse>(request, options); } /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> public virtual Task<DeleteVirtualRouterResponse> DeleteVirtualRouterAsync(DeleteVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualService /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> public virtual DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return Invoke<DeleteVirtualServiceResponse>(request, options); } /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> public virtual Task<DeleteVirtualServiceResponse> DeleteVirtualServiceAsync(DeleteVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualServiceResponse>(request, options, cancellationToken); } #endregion #region DescribeGatewayRoute /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> public virtual DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return Invoke<DescribeGatewayRouteResponse>(request, options); } /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> public virtual Task<DescribeGatewayRouteResponse> DescribeGatewayRouteAsync(DescribeGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<DescribeGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region DescribeMesh /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual DescribeMeshResponse DescribeMesh(DescribeMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return Invoke<DescribeMeshResponse>(request, options); } /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual Task<DescribeMeshResponse> DescribeMeshAsync(DescribeMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return InvokeAsync<DescribeMeshResponse>(request, options, cancellationToken); } #endregion #region DescribeRoute /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> public virtual DescribeRouteResponse DescribeRoute(DescribeRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return Invoke<DescribeRouteResponse>(request, options); } /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> public virtual Task<DescribeRouteResponse> DescribeRouteAsync(DescribeRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return InvokeAsync<DescribeRouteResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualGateway /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> public virtual DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return Invoke<DescribeVirtualGatewayResponse>(request, options); } /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> public virtual Task<DescribeVirtualGatewayResponse> DescribeVirtualGatewayAsync(DescribeVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualNode /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> public virtual DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return Invoke<DescribeVirtualNodeResponse>(request, options); } /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> public virtual Task<DescribeVirtualNodeResponse> DescribeVirtualNodeAsync(DescribeVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualRouter /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> public virtual DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return Invoke<DescribeVirtualRouterResponse>(request, options); } /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> public virtual Task<DescribeVirtualRouterResponse> DescribeVirtualRouterAsync(DescribeVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualService /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> public virtual DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return Invoke<DescribeVirtualServiceResponse>(request, options); } /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> public virtual Task<DescribeVirtualServiceResponse> DescribeVirtualServiceAsync(DescribeVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualServiceResponse>(request, options, cancellationToken); } #endregion #region ListGatewayRoutes /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> public virtual ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return Invoke<ListGatewayRoutesResponse>(request, options); } /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> public virtual Task<ListGatewayRoutesResponse> ListGatewayRoutesAsync(ListGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return InvokeAsync<ListGatewayRoutesResponse>(request, options, cancellationToken); } #endregion #region ListMeshes /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> public virtual ListMeshesResponse ListMeshes(ListMeshesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return Invoke<ListMeshesResponse>(request, options); } /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> public virtual Task<ListMeshesResponse> ListMeshesAsync(ListMeshesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return InvokeAsync<ListMeshesResponse>(request, options, cancellationToken); } #endregion #region ListRoutes /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> public virtual ListRoutesResponse ListRoutes(ListRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return Invoke<ListRoutesResponse>(request, options); } /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> public virtual Task<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return InvokeAsync<ListRoutesResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken); } #endregion #region ListVirtualGateways /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> public virtual ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return Invoke<ListVirtualGatewaysResponse>(request, options); } /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> public virtual Task<ListVirtualGatewaysResponse> ListVirtualGatewaysAsync(ListVirtualGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualGatewaysResponse>(request, options, cancellationToken); } #endregion #region ListVirtualNodes /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> public virtual ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return Invoke<ListVirtualNodesResponse>(request, options); } /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> public virtual Task<ListVirtualNodesResponse> ListVirtualNodesAsync(ListVirtualNodesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualNodesResponse>(request, options, cancellationToken); } #endregion #region ListVirtualRouters /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> public virtual ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return Invoke<ListVirtualRoutersResponse>(request, options); } /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> public virtual Task<ListVirtualRoutersResponse> ListVirtualRoutersAsync(ListVirtualRoutersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualRoutersResponse>(request, options, cancellationToken); } #endregion #region ListVirtualServices /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> public virtual ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return Invoke<ListVirtualServicesResponse>(request, options); } /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> public virtual Task<ListVirtualServicesResponse> ListVirtualServicesAsync(ListVirtualServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualServicesResponse>(request, options, cancellationToken); } #endregion #region TagResource /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync<TagResourceResponse>(request, options, cancellationToken); } #endregion #region UntagResource /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken); } #endregion #region UpdateGatewayRoute /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> public virtual UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return Invoke<UpdateGatewayRouteResponse>(request, options); } /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> public virtual Task<UpdateGatewayRouteResponse> UpdateGatewayRouteAsync(UpdateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<UpdateGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region UpdateMesh /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> public virtual UpdateMeshResponse UpdateMesh(UpdateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return Invoke<UpdateMeshResponse>(request, options); } /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> public virtual Task<UpdateMeshResponse> UpdateMeshAsync(UpdateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return InvokeAsync<UpdateMeshResponse>(request, options, cancellationToken); } #endregion #region UpdateRoute /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> public virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return Invoke<UpdateRouteResponse>(request, options); } /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> public virtual Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return InvokeAsync<UpdateRouteResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualGateway /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> public virtual UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return Invoke<UpdateVirtualGatewayResponse>(request, options); } /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> public virtual Task<UpdateVirtualGatewayResponse> UpdateVirtualGatewayAsync(UpdateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualNode /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return Invoke<UpdateVirtualNodeResponse>(request, options); } /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual Task<UpdateVirtualNodeResponse> UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualRouter /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> public virtual UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return Invoke<UpdateVirtualRouterResponse>(request, options); } /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> public virtual Task<UpdateVirtualRouterResponse> UpdateVirtualRouterAsync(UpdateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualService /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> public virtual UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return Invoke<UpdateVirtualServiceResponse>(request, options); } /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> public virtual Task<UpdateVirtualServiceResponse> UpdateVirtualServiceAsync(UpdateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualServiceResponse>(request, options, cancellationToken); } #endregion } }
3,850
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See 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.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppMesh.Model; namespace Amazon.AppMesh { /// <summary> /// Interface for accessing AppMesh /// /// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor /// and control microservices. App Mesh standardizes how your microservices communicate, /// giving you end-to-end visibility and helping to ensure high availability for your /// applications. /// /// /// <para> /// App Mesh gives you consistent visibility and network traffic controls for every microservice /// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, /// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2. /// </para> /// <note> /// <para> /// App Mesh supports microservice applications that use service discovery naming for /// their components. For more information about service discovery on Amazon ECS, see /// <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service /// Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes /// <code>kube-dns</code> and <code>coredns</code> are supported. For more information, /// see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS /// for Services and Pods</a> in the Kubernetes documentation. /// </para> /// </note> /// </summary> public partial interface IAmazonAppMesh : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IAppMeshPaginatorFactory Paginators { get; } #region CreateGatewayRoute /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request); /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> Task<CreateGatewayRouteResponse> CreateGatewayRouteAsync(CreateGatewayRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateMesh /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> CreateMeshResponse CreateMesh(CreateMeshRequest request); /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> Task<CreateMeshResponse> CreateMeshAsync(CreateMeshRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateRoute /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> CreateRouteResponse CreateRoute(CreateRouteRequest request); /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualGateway /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request); /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> Task<CreateVirtualGatewayResponse> CreateVirtualGatewayAsync(CreateVirtualGatewayRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualNode /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request); /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> Task<CreateVirtualNodeResponse> CreateVirtualNodeAsync(CreateVirtualNodeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualRouter /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request); /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> Task<CreateVirtualRouterResponse> CreateVirtualRouterAsync(CreateVirtualRouterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualService /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request); /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> Task<CreateVirtualServiceResponse> CreateVirtualServiceAsync(CreateVirtualServiceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteGatewayRoute /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request); /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> Task<DeleteGatewayRouteResponse> DeleteGatewayRouteAsync(DeleteGatewayRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMesh /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> DeleteMeshResponse DeleteMesh(DeleteMeshRequest request); /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> Task<DeleteMeshResponse> DeleteMeshAsync(DeleteMeshRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteRoute /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> DeleteRouteResponse DeleteRoute(DeleteRouteRequest request); /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualGateway /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request); /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> Task<DeleteVirtualGatewayResponse> DeleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualNode /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request); /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> Task<DeleteVirtualNodeResponse> DeleteVirtualNodeAsync(DeleteVirtualNodeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualRouter /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request); /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> Task<DeleteVirtualRouterResponse> DeleteVirtualRouterAsync(DeleteVirtualRouterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualService /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request); /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> Task<DeleteVirtualServiceResponse> DeleteVirtualServiceAsync(DeleteVirtualServiceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeGatewayRoute /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request); /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> Task<DescribeGatewayRouteResponse> DescribeGatewayRouteAsync(DescribeGatewayRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeMesh /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> DescribeMeshResponse DescribeMesh(DescribeMeshRequest request); /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> Task<DescribeMeshResponse> DescribeMeshAsync(DescribeMeshRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeRoute /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> DescribeRouteResponse DescribeRoute(DescribeRouteRequest request); /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> Task<DescribeRouteResponse> DescribeRouteAsync(DescribeRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualGateway /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request); /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> Task<DescribeVirtualGatewayResponse> DescribeVirtualGatewayAsync(DescribeVirtualGatewayRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualNode /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request); /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> Task<DescribeVirtualNodeResponse> DescribeVirtualNodeAsync(DescribeVirtualNodeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualRouter /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request); /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> Task<DescribeVirtualRouterResponse> DescribeVirtualRouterAsync(DescribeVirtualRouterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualService /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request); /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> Task<DescribeVirtualServiceResponse> DescribeVirtualServiceAsync(DescribeVirtualServiceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListGatewayRoutes /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request); /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> Task<ListGatewayRoutesResponse> ListGatewayRoutesAsync(ListGatewayRoutesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListMeshes /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> ListMeshesResponse ListMeshes(ListMeshesRequest request); /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> Task<ListMeshesResponse> ListMeshesAsync(ListMeshesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListRoutes /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> ListRoutesResponse ListRoutes(ListRoutesRequest request); /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> Task<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualGateways /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request); /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> Task<ListVirtualGatewaysResponse> ListVirtualGatewaysAsync(ListVirtualGatewaysRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualNodes /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request); /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> Task<ListVirtualNodesResponse> ListVirtualNodesAsync(ListVirtualNodesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualRouters /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request); /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> Task<ListVirtualRoutersResponse> ListVirtualRoutersAsync(ListVirtualRoutersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualServices /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request); /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> Task<ListVirtualServicesResponse> ListVirtualServicesAsync(ListVirtualServicesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateGatewayRoute /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request); /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> Task<UpdateGatewayRouteResponse> UpdateGatewayRouteAsync(UpdateGatewayRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateMesh /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> UpdateMeshResponse UpdateMesh(UpdateMeshRequest request); /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> Task<UpdateMeshResponse> UpdateMeshAsync(UpdateMeshRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateRoute /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> UpdateRouteResponse UpdateRoute(UpdateRouteRequest request); /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualGateway /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request); /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> Task<UpdateVirtualGatewayResponse> UpdateVirtualGatewayAsync(UpdateVirtualGatewayRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualNode /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request); /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> Task<UpdateVirtualNodeResponse> UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualRouter /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request); /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> Task<UpdateVirtualRouterResponse> UpdateVirtualRouterAsync(UpdateVirtualRouterRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualService /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request); /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> Task<UpdateVirtualServiceResponse> UpdateVirtualServiceAsync(UpdateVirtualServiceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
3,135
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Runtime.ExceptionServices; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using System.Net; using Amazon.AppMesh.Model; using Amazon.AppMesh.Model.Internal.MarshallTransformations; using Amazon.AppMesh.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AppMesh { /// <summary> /// Implementation for accessing AppMesh /// /// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor /// and control microservices. App Mesh standardizes how your microservices communicate, /// giving you end-to-end visibility and helping to ensure high availability for your /// applications. /// /// /// <para> /// App Mesh gives you consistent visibility and network traffic controls for every microservice /// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, /// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2. /// </para> /// <note> /// <para> /// App Mesh supports microservice applications that use service discovery naming for /// their components. For more information about service discovery on Amazon ECS, see /// <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service /// Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes /// <code>kube-dns</code> and <code>coredns</code> are supported. For more information, /// see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS /// for Services and Pods</a> in the Kubernetes documentation. /// </para> /// </note> /// </summary> public partial class AmazonAppMeshClient : AmazonServiceClient, IAmazonAppMesh { private static IServiceMetadata serviceMetadata = new AmazonAppMeshMetadata(); #region Constructors /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> public AmazonAppMeshClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with the credentials loaded from the application's /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. /// /// Example App.config with credentials set. /// <code> /// &lt;?xml version="1.0" encoding="utf-8" ?&gt; /// &lt;configuration&gt; /// &lt;appSettings&gt; /// &lt;add key="AWSProfileName" value="AWS Default"/&gt; /// &lt;/appSettings&gt; /// &lt;/configuration&gt; /// </code> /// /// </summary> /// <param name="config">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(AmazonAppMeshConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAppMeshClient(AWSCredentials credentials) : this(credentials, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Credentials and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(AWSCredentials credentials, AmazonAppMeshConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppMeshConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppMeshConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig()) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID and AWS Secret Key /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="region">The region to connect.</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppMeshConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAppMeshClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAppMeshClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="awsSessionToken">AWS Session Token</param> /// <param name="clientConfig">The AmazonAppMeshClient Configuration Object</param> public AmazonAppMeshClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppMeshConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IAppMeshPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAppMeshPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AppMeshPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// <summary> /// Creates the signer for the service. /// </summary> protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// <summary> /// Customizes the runtime pipeline. /// </summary> /// <param name="pipeline">Runtime pipeline for the current client.</param> protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler<Amazon.Runtime.Internal.EndpointResolver>(); pipeline.AddHandlerAfter<Amazon.Runtime.Internal.Marshaller>(new AmazonAppMeshEndpointResolver()); } /// <summary> /// Capture metadata for the service. /// </summary> protected override IServiceMetadata ServiceMetadata { get { return serviceMetadata; } } #endregion #region Dispose /// <summary> /// Disposes the service client. /// </summary> protected override void Dispose(bool disposing) { base.Dispose(disposing); } #endregion #region CreateGatewayRoute internal virtual CreateGatewayRouteResponse CreateGatewayRoute(CreateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return Invoke<CreateGatewayRouteResponse>(request, options); } /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> public virtual Task<CreateGatewayRouteResponse> CreateGatewayRouteAsync(CreateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<CreateGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region CreateMesh internal virtual CreateMeshResponse CreateMesh(CreateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return Invoke<CreateMeshResponse>(request, options); } /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> public virtual Task<CreateMeshResponse> CreateMeshAsync(CreateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateMeshResponseUnmarshaller.Instance; return InvokeAsync<CreateMeshResponse>(request, options, cancellationToken); } #endregion #region CreateRoute internal virtual CreateRouteResponse CreateRoute(CreateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return Invoke<CreateRouteResponse>(request, options); } /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> public virtual Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRouteResponseUnmarshaller.Instance; return InvokeAsync<CreateRouteResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualGateway internal virtual CreateVirtualGatewayResponse CreateVirtualGateway(CreateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return Invoke<CreateVirtualGatewayResponse>(request, options); } /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> public virtual Task<CreateVirtualGatewayResponse> CreateVirtualGatewayAsync(CreateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualNode internal virtual CreateVirtualNodeResponse CreateVirtualNode(CreateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return Invoke<CreateVirtualNodeResponse>(request, options); } /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> public virtual Task<CreateVirtualNodeResponse> CreateVirtualNodeAsync(CreateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualRouter internal virtual CreateVirtualRouterResponse CreateVirtualRouter(CreateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return Invoke<CreateVirtualRouterResponse>(request, options); } /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> public virtual Task<CreateVirtualRouterResponse> CreateVirtualRouterAsync(CreateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region CreateVirtualService internal virtual CreateVirtualServiceResponse CreateVirtualService(CreateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return Invoke<CreateVirtualServiceResponse>(request, options); } /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> public virtual Task<CreateVirtualServiceResponse> CreateVirtualServiceAsync(CreateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<CreateVirtualServiceResponse>(request, options, cancellationToken); } #endregion #region DeleteGatewayRoute internal virtual DeleteGatewayRouteResponse DeleteGatewayRoute(DeleteGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return Invoke<DeleteGatewayRouteResponse>(request, options); } /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> public virtual Task<DeleteGatewayRouteResponse> DeleteGatewayRouteAsync(DeleteGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<DeleteGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region DeleteMesh internal virtual DeleteMeshResponse DeleteMesh(DeleteMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return Invoke<DeleteMeshResponse>(request, options); } /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> public virtual Task<DeleteMeshResponse> DeleteMeshAsync(DeleteMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteMeshResponseUnmarshaller.Instance; return InvokeAsync<DeleteMeshResponse>(request, options, cancellationToken); } #endregion #region DeleteRoute internal virtual DeleteRouteResponse DeleteRoute(DeleteRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return Invoke<DeleteRouteResponse>(request, options); } /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> public virtual Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRouteResponseUnmarshaller.Instance; return InvokeAsync<DeleteRouteResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualGateway internal virtual DeleteVirtualGatewayResponse DeleteVirtualGateway(DeleteVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return Invoke<DeleteVirtualGatewayResponse>(request, options); } /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> public virtual Task<DeleteVirtualGatewayResponse> DeleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualNode internal virtual DeleteVirtualNodeResponse DeleteVirtualNode(DeleteVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return Invoke<DeleteVirtualNodeResponse>(request, options); } /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> public virtual Task<DeleteVirtualNodeResponse> DeleteVirtualNodeAsync(DeleteVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualRouter internal virtual DeleteVirtualRouterResponse DeleteVirtualRouter(DeleteVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return Invoke<DeleteVirtualRouterResponse>(request, options); } /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> public virtual Task<DeleteVirtualRouterResponse> DeleteVirtualRouterAsync(DeleteVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region DeleteVirtualService internal virtual DeleteVirtualServiceResponse DeleteVirtualService(DeleteVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return Invoke<DeleteVirtualServiceResponse>(request, options); } /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> public virtual Task<DeleteVirtualServiceResponse> DeleteVirtualServiceAsync(DeleteVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<DeleteVirtualServiceResponse>(request, options, cancellationToken); } #endregion #region DescribeGatewayRoute internal virtual DescribeGatewayRouteResponse DescribeGatewayRoute(DescribeGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return Invoke<DescribeGatewayRouteResponse>(request, options); } /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> public virtual Task<DescribeGatewayRouteResponse> DescribeGatewayRouteAsync(DescribeGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<DescribeGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region DescribeMesh internal virtual DescribeMeshResponse DescribeMesh(DescribeMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return Invoke<DescribeMeshResponse>(request, options); } /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> public virtual Task<DescribeMeshResponse> DescribeMeshAsync(DescribeMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeMeshResponseUnmarshaller.Instance; return InvokeAsync<DescribeMeshResponse>(request, options, cancellationToken); } #endregion #region DescribeRoute internal virtual DescribeRouteResponse DescribeRoute(DescribeRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return Invoke<DescribeRouteResponse>(request, options); } /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> public virtual Task<DescribeRouteResponse> DescribeRouteAsync(DescribeRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRouteResponseUnmarshaller.Instance; return InvokeAsync<DescribeRouteResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualGateway internal virtual DescribeVirtualGatewayResponse DescribeVirtualGateway(DescribeVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return Invoke<DescribeVirtualGatewayResponse>(request, options); } /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> public virtual Task<DescribeVirtualGatewayResponse> DescribeVirtualGatewayAsync(DescribeVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualNode internal virtual DescribeVirtualNodeResponse DescribeVirtualNode(DescribeVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return Invoke<DescribeVirtualNodeResponse>(request, options); } /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> public virtual Task<DescribeVirtualNodeResponse> DescribeVirtualNodeAsync(DescribeVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualRouter internal virtual DescribeVirtualRouterResponse DescribeVirtualRouter(DescribeVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return Invoke<DescribeVirtualRouterResponse>(request, options); } /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> public virtual Task<DescribeVirtualRouterResponse> DescribeVirtualRouterAsync(DescribeVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region DescribeVirtualService internal virtual DescribeVirtualServiceResponse DescribeVirtualService(DescribeVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return Invoke<DescribeVirtualServiceResponse>(request, options); } /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> public virtual Task<DescribeVirtualServiceResponse> DescribeVirtualServiceAsync(DescribeVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<DescribeVirtualServiceResponse>(request, options, cancellationToken); } #endregion #region ListGatewayRoutes internal virtual ListGatewayRoutesResponse ListGatewayRoutes(ListGatewayRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return Invoke<ListGatewayRoutesResponse>(request, options); } /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> public virtual Task<ListGatewayRoutesResponse> ListGatewayRoutesAsync(ListGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListGatewayRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListGatewayRoutesResponseUnmarshaller.Instance; return InvokeAsync<ListGatewayRoutesResponse>(request, options, cancellationToken); } #endregion #region ListMeshes internal virtual ListMeshesResponse ListMeshes(ListMeshesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return Invoke<ListMeshesResponse>(request, options); } /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> public virtual Task<ListMeshesResponse> ListMeshesAsync(ListMeshesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListMeshesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListMeshesResponseUnmarshaller.Instance; return InvokeAsync<ListMeshesResponse>(request, options, cancellationToken); } #endregion #region ListRoutes internal virtual ListRoutesResponse ListRoutes(ListRoutesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return Invoke<ListRoutesResponse>(request, options); } /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> public virtual Task<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutesResponseUnmarshaller.Instance; return InvokeAsync<ListRoutesResponse>(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke<ListTagsForResourceResponse>(request, options); } /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken); } #endregion #region ListVirtualGateways internal virtual ListVirtualGatewaysResponse ListVirtualGateways(ListVirtualGatewaysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return Invoke<ListVirtualGatewaysResponse>(request, options); } /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> public virtual Task<ListVirtualGatewaysResponse> ListVirtualGatewaysAsync(ListVirtualGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualGatewaysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualGatewaysResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualGatewaysResponse>(request, options, cancellationToken); } #endregion #region ListVirtualNodes internal virtual ListVirtualNodesResponse ListVirtualNodes(ListVirtualNodesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return Invoke<ListVirtualNodesResponse>(request, options); } /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> public virtual Task<ListVirtualNodesResponse> ListVirtualNodesAsync(ListVirtualNodesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualNodesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualNodesResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualNodesResponse>(request, options, cancellationToken); } #endregion #region ListVirtualRouters internal virtual ListVirtualRoutersResponse ListVirtualRouters(ListVirtualRoutersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return Invoke<ListVirtualRoutersResponse>(request, options); } /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> public virtual Task<ListVirtualRoutersResponse> ListVirtualRoutersAsync(ListVirtualRoutersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualRoutersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualRoutersResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualRoutersResponse>(request, options, cancellationToken); } #endregion #region ListVirtualServices internal virtual ListVirtualServicesResponse ListVirtualServices(ListVirtualServicesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return Invoke<ListVirtualServicesResponse>(request, options); } /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> public virtual Task<ListVirtualServicesResponse> ListVirtualServicesAsync(ListVirtualServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListVirtualServicesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVirtualServicesResponseUnmarshaller.Instance; return InvokeAsync<ListVirtualServicesResponse>(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke<TagResourceResponse>(request, options); } /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync<TagResourceResponse>(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke<UntagResourceResponse>(request, options); } /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken); } #endregion #region UpdateGatewayRoute internal virtual UpdateGatewayRouteResponse UpdateGatewayRoute(UpdateGatewayRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return Invoke<UpdateGatewayRouteResponse>(request, options); } /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> public virtual Task<UpdateGatewayRouteResponse> UpdateGatewayRouteAsync(UpdateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateGatewayRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateGatewayRouteResponseUnmarshaller.Instance; return InvokeAsync<UpdateGatewayRouteResponse>(request, options, cancellationToken); } #endregion #region UpdateMesh internal virtual UpdateMeshResponse UpdateMesh(UpdateMeshRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return Invoke<UpdateMeshResponse>(request, options); } /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> public virtual Task<UpdateMeshResponse> UpdateMeshAsync(UpdateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateMeshRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateMeshResponseUnmarshaller.Instance; return InvokeAsync<UpdateMeshResponse>(request, options, cancellationToken); } #endregion #region UpdateRoute internal virtual UpdateRouteResponse UpdateRoute(UpdateRouteRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return Invoke<UpdateRouteResponse>(request, options); } /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> public virtual Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRouteRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRouteResponseUnmarshaller.Instance; return InvokeAsync<UpdateRouteResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualGateway internal virtual UpdateVirtualGatewayResponse UpdateVirtualGateway(UpdateVirtualGatewayRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return Invoke<UpdateVirtualGatewayResponse>(request, options); } /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> public virtual Task<UpdateVirtualGatewayResponse> UpdateVirtualGatewayAsync(UpdateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualGatewayRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualGatewayResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualGatewayResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualNode internal virtual UpdateVirtualNodeResponse UpdateVirtualNode(UpdateVirtualNodeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return Invoke<UpdateVirtualNodeResponse>(request, options); } /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> public virtual Task<UpdateVirtualNodeResponse> UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualNodeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualNodeResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualNodeResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualRouter internal virtual UpdateVirtualRouterResponse UpdateVirtualRouter(UpdateVirtualRouterRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return Invoke<UpdateVirtualRouterResponse>(request, options); } /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> public virtual Task<UpdateVirtualRouterResponse> UpdateVirtualRouterAsync(UpdateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualRouterRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualRouterResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualRouterResponse>(request, options, cancellationToken); } #endregion #region UpdateVirtualService internal virtual UpdateVirtualServiceResponse UpdateVirtualService(UpdateVirtualServiceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return Invoke<UpdateVirtualServiceResponse>(request, options); } /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> public virtual Task<UpdateVirtualServiceResponse> UpdateVirtualServiceAsync(UpdateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVirtualServiceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVirtualServiceResponseUnmarshaller.Instance; return InvokeAsync<UpdateVirtualServiceResponse>(request, options, cancellationToken); } #endregion } }
2,586
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the appmesh-2019-01-25.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AppMesh.Model; namespace Amazon.AppMesh { /// <summary> /// Interface for accessing AppMesh /// /// App Mesh is a service mesh based on the Envoy proxy that makes it easy to monitor /// and control microservices. App Mesh standardizes how your microservices communicate, /// giving you end-to-end visibility and helping to ensure high availability for your /// applications. /// /// /// <para> /// App Mesh gives you consistent visibility and network traffic controls for every microservice /// in an application. You can use App Mesh with Amazon Web Services Fargate, Amazon ECS, /// Amazon EKS, Kubernetes on Amazon Web Services, and Amazon EC2. /// </para> /// <note> /// <para> /// App Mesh supports microservice applications that use service discovery naming for /// their components. For more information about service discovery on Amazon ECS, see /// <a href="https://docs.aws.amazon.com/AmazonECS/latest/developerguide/service-discovery.html">Service /// Discovery</a> in the <i>Amazon Elastic Container Service Developer Guide</i>. Kubernetes /// <code>kube-dns</code> and <code>coredns</code> are supported. For more information, /// see <a href="https://kubernetes.io/docs/concepts/services-networking/dns-pod-service/">DNS /// for Services and Pods</a> in the Kubernetes documentation. /// </para> /// </note> /// </summary> public partial interface IAmazonAppMesh : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAppMeshPaginatorFactory Paginators { get; } #endif #region CreateGatewayRoute /// <summary> /// Creates a gateway route. /// /// /// <para> /// A gateway route is attached to a virtual gateway and routes traffic to an existing /// virtual service. If a route matches a request, it can distribute traffic to a target /// virtual service. /// </para> /// /// <para> /// For more information about gateway routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/gateway-routes.html">Gateway /// routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateGatewayRoute">REST API Reference for CreateGatewayRoute Operation</seealso> Task<CreateGatewayRouteResponse> CreateGatewayRouteAsync(CreateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateMesh /// <summary> /// Creates a service mesh. /// /// /// <para> /// A service mesh is a logical boundary for network traffic between services that are /// represented by resources within the mesh. After you create your service mesh, you /// can create virtual services, virtual nodes, virtual routers, and routes to distribute /// traffic between the applications in your mesh. /// </para> /// /// <para> /// For more information about service meshes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/meshes.html">Service /// meshes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateMesh">REST API Reference for CreateMesh Operation</seealso> Task<CreateMeshResponse> CreateMeshAsync(CreateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateRoute /// <summary> /// Creates a route that is associated with a virtual router. /// /// /// <para> /// You can route several different protocols and define a retry policy for a route. /// Traffic can be routed to one or more virtual nodes. /// </para> /// /// <para> /// For more information about routes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/routes.html">Routes</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateRoute">REST API Reference for CreateRoute Operation</seealso> Task<CreateRouteResponse> CreateRouteAsync(CreateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualGateway /// <summary> /// Creates a virtual gateway. /// /// /// <para> /// A virtual gateway allows resources outside your mesh to communicate to resources that /// are inside your mesh. The virtual gateway represents an Envoy proxy running in an /// Amazon ECS task, in a Kubernetes service, or on an Amazon EC2 instance. Unlike a virtual /// node, which represents an Envoy running with an application, a virtual gateway represents /// Envoy deployed by itself. /// </para> /// /// <para> /// For more information about virtual gateways, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_gateways.html">Virtual /// gateways</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualGateway">REST API Reference for CreateVirtualGateway Operation</seealso> Task<CreateVirtualGatewayResponse> CreateVirtualGatewayAsync(CreateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualNode /// <summary> /// Creates a virtual node within a service mesh. /// /// /// <para> /// A virtual node acts as a logical pointer to a particular task group, such as an Amazon /// ECS service or a Kubernetes deployment. When you create a virtual node, you can specify /// the service discovery information for your task group, and whether the proxy running /// in a task group will communicate with other proxies using Transport Layer Security /// (TLS). /// </para> /// /// <para> /// You define a <code>listener</code> for any inbound traffic that your virtual node /// expects. Any virtual service that your virtual node expects to communicate to is specified /// as a <code>backend</code>. /// </para> /// /// <para> /// The response metadata for your new virtual node contains the <code>arn</code> that /// is associated with the virtual node. Set this value to the full ARN; for example, /// <code>arn:aws:appmesh:us-west-2:123456789012:myMesh/default/virtualNode/myApp</code>) /// as the <code>APPMESH_RESOURCE_ARN</code> environment variable for your task group's /// Envoy proxy container in your task definition or pod spec. This is then mapped to /// the <code>node.id</code> and <code>node.cluster</code> Envoy parameters. /// </para> /// <note> /// <para> /// By default, App Mesh uses the name of the resource you specified in <code>APPMESH_RESOURCE_ARN</code> /// when Envoy is referring to itself in metrics and traces. You can override this behavior /// by setting the <code>APPMESH_RESOURCE_CLUSTER</code> environment variable with your /// own name. /// </para> /// </note> /// <para> /// For more information about virtual nodes, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_nodes.html">Virtual /// nodes</a>. You must be using <code>1.15.0</code> or later of the Envoy image when /// setting these variables. For more information aboutApp Mesh Envoy variables, see <a /// href="https://docs.aws.amazon.com/app-mesh/latest/userguide/envoy.html">Envoy image</a> /// in the App Mesh User Guide. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualNode">REST API Reference for CreateVirtualNode Operation</seealso> Task<CreateVirtualNodeResponse> CreateVirtualNodeAsync(CreateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualRouter /// <summary> /// Creates a virtual router within a service mesh. /// /// /// <para> /// Specify a <code>listener</code> for any inbound traffic that your virtual router receives. /// Create a virtual router for each protocol and port that you need to route. Virtual /// routers handle traffic for one or more virtual services within your mesh. After you /// create your virtual router, create and associate routes for your virtual router that /// direct incoming requests to different virtual nodes. /// </para> /// /// <para> /// For more information about virtual routers, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_routers.html">Virtual /// routers</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualRouter">REST API Reference for CreateVirtualRouter Operation</seealso> Task<CreateVirtualRouterResponse> CreateVirtualRouterAsync(CreateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateVirtualService /// <summary> /// Creates a virtual service within a service mesh. /// /// /// <para> /// A virtual service is an abstraction of a real service that is provided by a virtual /// node directly or indirectly by means of a virtual router. Dependent services call /// your virtual service by its <code>virtualServiceName</code>, and those requests are /// routed to the virtual node or virtual router that is specified as the provider for /// the virtual service. /// </para> /// /// <para> /// For more information about virtual services, see <a href="https://docs.aws.amazon.com/app-mesh/latest/userguide/virtual_services.html">Virtual /// services</a>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/CreateVirtualService">REST API Reference for CreateVirtualService Operation</seealso> Task<CreateVirtualServiceResponse> CreateVirtualServiceAsync(CreateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteGatewayRoute /// <summary> /// Deletes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteGatewayRoute">REST API Reference for DeleteGatewayRoute Operation</seealso> Task<DeleteGatewayRouteResponse> DeleteGatewayRouteAsync(DeleteGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMesh /// <summary> /// Deletes an existing service mesh. /// /// /// <para> /// You must delete all resources (virtual services, routes, virtual routers, and virtual /// nodes) in the service mesh before you can delete the mesh itself. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteMesh">REST API Reference for DeleteMesh Operation</seealso> Task<DeleteMeshResponse> DeleteMeshAsync(DeleteMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteRoute /// <summary> /// Deletes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteRoute">REST API Reference for DeleteRoute Operation</seealso> Task<DeleteRouteResponse> DeleteRouteAsync(DeleteRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualGateway /// <summary> /// Deletes an existing virtual gateway. You cannot delete a virtual gateway if any gateway /// routes are associated to it. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualGateway">REST API Reference for DeleteVirtualGateway Operation</seealso> Task<DeleteVirtualGatewayResponse> DeleteVirtualGatewayAsync(DeleteVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualNode /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualNode">REST API Reference for DeleteVirtualNode Operation</seealso> Task<DeleteVirtualNodeResponse> DeleteVirtualNodeAsync(DeleteVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualRouter /// <summary> /// 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> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualRouter">REST API Reference for DeleteVirtualRouter Operation</seealso> Task<DeleteVirtualRouterResponse> DeleteVirtualRouterAsync(DeleteVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteVirtualService /// <summary> /// Deletes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ResourceInUseException"> /// You can't delete the specified resource because it's in use or required by another /// resource. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DeleteVirtualService">REST API Reference for DeleteVirtualService Operation</seealso> Task<DeleteVirtualServiceResponse> DeleteVirtualServiceAsync(DeleteVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeGatewayRoute /// <summary> /// Describes an existing gateway route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeGatewayRoute">REST API Reference for DescribeGatewayRoute Operation</seealso> Task<DescribeGatewayRouteResponse> DescribeGatewayRouteAsync(DescribeGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeMesh /// <summary> /// Describes an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeMesh">REST API Reference for DescribeMesh Operation</seealso> Task<DescribeMeshResponse> DescribeMeshAsync(DescribeMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeRoute /// <summary> /// Describes an existing route. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeRoute">REST API Reference for DescribeRoute Operation</seealso> Task<DescribeRouteResponse> DescribeRouteAsync(DescribeRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualGateway /// <summary> /// Describes an existing virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualGateway">REST API Reference for DescribeVirtualGateway Operation</seealso> Task<DescribeVirtualGatewayResponse> DescribeVirtualGatewayAsync(DescribeVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualNode /// <summary> /// Describes an existing virtual node. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualNode">REST API Reference for DescribeVirtualNode Operation</seealso> Task<DescribeVirtualNodeResponse> DescribeVirtualNodeAsync(DescribeVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualRouter /// <summary> /// Describes an existing virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualRouter">REST API Reference for DescribeVirtualRouter Operation</seealso> Task<DescribeVirtualRouterResponse> DescribeVirtualRouterAsync(DescribeVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeVirtualService /// <summary> /// Describes an existing virtual service. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/DescribeVirtualService">REST API Reference for DescribeVirtualService Operation</seealso> Task<DescribeVirtualServiceResponse> DescribeVirtualServiceAsync(DescribeVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListGatewayRoutes /// <summary> /// Returns a list of existing gateway routes that are associated to a virtual gateway. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListGatewayRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListGatewayRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListGatewayRoutes">REST API Reference for ListGatewayRoutes Operation</seealso> Task<ListGatewayRoutesResponse> ListGatewayRoutesAsync(ListGatewayRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListMeshes /// <summary> /// Returns a list of existing service meshes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMeshes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListMeshes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListMeshes">REST API Reference for ListMeshes Operation</seealso> Task<ListMeshesResponse> ListMeshesAsync(ListMeshesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListRoutes /// <summary> /// Returns a list of existing routes in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListRoutes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListRoutes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListRoutes">REST API Reference for ListRoutes Operation</seealso> Task<ListRoutesResponse> ListRoutesAsync(ListRoutesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// List the tags for an App Mesh resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualGateways /// <summary> /// Returns a list of existing virtual gateways in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualGateways service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualGateways service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualGateways">REST API Reference for ListVirtualGateways Operation</seealso> Task<ListVirtualGatewaysResponse> ListVirtualGatewaysAsync(ListVirtualGatewaysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualNodes /// <summary> /// Returns a list of existing virtual nodes. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualNodes service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualNodes service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualNodes">REST API Reference for ListVirtualNodes Operation</seealso> Task<ListVirtualNodesResponse> ListVirtualNodesAsync(ListVirtualNodesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualRouters /// <summary> /// Returns a list of existing virtual routers in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualRouters service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualRouters service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualRouters">REST API Reference for ListVirtualRouters Operation</seealso> Task<ListVirtualRoutersResponse> ListVirtualRoutersAsync(ListVirtualRoutersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListVirtualServices /// <summary> /// Returns a list of existing virtual services in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListVirtualServices service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListVirtualServices service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/ListVirtualServices">REST API Reference for ListVirtualServices Operation</seealso> Task<ListVirtualServicesResponse> ListVirtualServicesAsync(ListVirtualServicesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Associates the specified tags to a resource with the specified <code>resourceArn</code>. /// If existing tags on a resource aren't specified in the request parameters, they aren't /// changed. When a resource is deleted, the tags associated with that resource are also /// deleted. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyTagsException"> /// The request exceeds the maximum allowed number of tags allowed per resource. The current /// limit is 50 user tags per resource. You must reduce the number of tags in the request. /// None of the tags in this request were applied. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Deletes specified tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateGatewayRoute /// <summary> /// Updates an existing gateway route that is associated to a specified virtual gateway /// in a service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateGatewayRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateGatewayRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateGatewayRoute">REST API Reference for UpdateGatewayRoute Operation</seealso> Task<UpdateGatewayRouteResponse> UpdateGatewayRouteAsync(UpdateGatewayRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateMesh /// <summary> /// Updates an existing service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateMesh service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateMesh service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateMesh">REST API Reference for UpdateMesh Operation</seealso> Task<UpdateMeshResponse> UpdateMeshAsync(UpdateMeshRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateRoute /// <summary> /// Updates an existing route for a specified service mesh and virtual router. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateRoute service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateRoute service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateRoute">REST API Reference for UpdateRoute Operation</seealso> Task<UpdateRouteResponse> UpdateRouteAsync(UpdateRouteRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualGateway /// <summary> /// Updates an existing virtual gateway in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualGateway service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualGateway service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualGateway">REST API Reference for UpdateVirtualGateway Operation</seealso> Task<UpdateVirtualGatewayResponse> UpdateVirtualGatewayAsync(UpdateVirtualGatewayRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualNode /// <summary> /// Updates an existing virtual node in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualNode service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualNode service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualNode">REST API Reference for UpdateVirtualNode Operation</seealso> Task<UpdateVirtualNodeResponse> UpdateVirtualNodeAsync(UpdateVirtualNodeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualRouter /// <summary> /// Updates an existing virtual router in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualRouter service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualRouter service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualRouter">REST API Reference for UpdateVirtualRouter Operation</seealso> Task<UpdateVirtualRouterResponse> UpdateVirtualRouterAsync(UpdateVirtualRouterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateVirtualService /// <summary> /// Updates an existing virtual service in a specified service mesh. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateVirtualService service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateVirtualService service method, as returned by AppMesh.</returns> /// <exception cref="Amazon.AppMesh.Model.BadRequestException"> /// The request syntax was malformed. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ConflictException"> /// The request contains a client token that was used for a previous update resource call /// with different specifications. Try the request again with a new client token. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ForbiddenException"> /// You don't have permissions to perform this action. /// </exception> /// <exception cref="Amazon.AppMesh.Model.InternalServerErrorException"> /// The request processing has failed because of an unknown error, exception, or failure. /// </exception> /// <exception cref="Amazon.AppMesh.Model.LimitExceededException"> /// 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>. /// </exception> /// <exception cref="Amazon.AppMesh.Model.NotFoundException"> /// The specified resource doesn't exist. Check your request syntax and try again. /// </exception> /// <exception cref="Amazon.AppMesh.Model.ServiceUnavailableException"> /// The request has failed due to a temporary failure of the service. /// </exception> /// <exception cref="Amazon.AppMesh.Model.TooManyRequestsException"> /// The maximum request rate permitted by the App Mesh APIs has been exceeded for your /// account. For best results, use an increasing or variable sleep interval between requests. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appmesh-2019-01-25/UpdateVirtualService">REST API Reference for UpdateVirtualService Operation</seealso> Task<UpdateVirtualServiceResponse> UpdateVirtualServiceAsync(UpdateVirtualServiceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
1,753
aws-sdk-net
aws
C#
using System; using System.Reflection; using System.Runtime.InteropServices; using System.Runtime.CompilerServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AWSSDK.AppMesh")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS App Mesh. AWS App Mesh is a service mesh that makes it easy to monitor and control communications between microservices of an application. AWS App Mesh APIs are available for preview in eu-west-1, us-east-1, us-east-2, and us-west-2 regions.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS App Mesh. AWS App Mesh is a service mesh that makes it easy to monitor and control communications between microservices of an application. AWS App Mesh APIs are available for preview in eu-west-1, us-east-1, us-east-2, and us-west-2 regions.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS App Mesh. AWS App Mesh is a service mesh that makes it easy to monitor and control communications between microservices of an application. AWS App Mesh APIs are available for preview in eu-west-1, us-east-1, us-east-2, and us-west-2 regions.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS App Mesh. AWS App Mesh is a service mesh that makes it easy to monitor and control communications between microservices of an application. AWS App Mesh APIs are available for preview in eu-west-1, us-east-1, us-east-2, and us-west-2 regions.")] #else #error Unknown platform constant - unable to set correct AssemblyDescription #endif [assembly: AssemblyConfiguration("")] [assembly: AssemblyProduct("Amazon Web Services SDK for .NET")] [assembly: AssemblyCompany("Amazon.com, Inc")] [assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("3.3")] [assembly: AssemblyFileVersion("3.7.100.147")] [assembly: System.CLSCompliant(true)] #if BCL [assembly: System.Security.AllowPartiallyTrustedCallers] #endif
51
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.AppRegistry.Internal; namespace Amazon.AppRegistry { /// <summary> /// Configuration for accessing Amazon AppRegistry service /// </summary> [AWSSignerType("v4")] public partial class AmazonAppRegistryConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.102.48"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonAppRegistryConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppRegistryDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "servicecatalog"; this.EndpointProvider = new AmazonAppRegistryEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "servicecatalog-appregistry"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2020-06-24"; } } /// <summary> /// Gets the value of UserAgent property. /// </summary> public override string UserAgent { get { return _userAgent; } } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.AppRegistry { /// <summary> /// Configuration for accessing Amazon AppRegistry service /// </summary> public static class AmazonAppRegistryDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// AppRegistry /// </summary> public static ReadOnlyCollection<IDefaultConfiguration> GetAllConfigurations() { return new ReadOnlyCollection<IDefaultConfiguration>(new List<IDefaultConfiguration> { Standard, InRegion, CrossRegion, Mobile, Auto, Legacy }); } /// <summary> /// <p>The STANDARD mode provides the latest recommended default values that should be safe to run in most scenarios</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Standard {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Standard, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The IN_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services from within the same AWS region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration InRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.InRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The CROSS_REGION mode builds on the standard mode and includes optimization tailored for applications which call AWS services in a different region</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration CrossRegion {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.CrossRegion, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:03.1 ConnectTimeout = TimeSpan.FromMilliseconds(3100L), // 0:00:03.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(3100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The MOBILE mode builds on the standard mode and includes optimization tailored for mobile applications</p><p>Note that the default values vended from this mode might change as best practices may evolve. As a result, it is encouraged to perform tests when upgrading the SDK</p> /// </summary> public static IDefaultConfiguration Mobile {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Mobile, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:30 ConnectTimeout = TimeSpan.FromMilliseconds(30000L), // 0:00:30 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(30000L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The AUTO mode is an experimental mode that builds on the standard mode. The SDK will attempt to discover the execution environment to determine the appropriate settings automatically.</p><p>Note that the auto detection is heuristics-based and does not guarantee 100% accuracy. STANDARD mode will be used if the execution environment cannot be determined. The auto detection might query <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-metadata.html">EC2 Instance Metadata service</a>, which might introduce latency. Therefore we recommend choosing an explicit defaults_mode instead if startup latency is critical to your application</p> /// </summary> public static IDefaultConfiguration Auto {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Auto, RetryMode = RequestRetryMode.Standard, StsRegionalEndpoints = StsRegionalEndpointsValue.Regional, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Regional, // 0:00:01.1 ConnectTimeout = TimeSpan.FromMilliseconds(1100L), // 0:00:01.1 TlsNegotiationTimeout = TimeSpan.FromMilliseconds(1100L), TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; /// <summary> /// <p>The LEGACY mode provides default settings that vary per SDK and were used prior to establishment of defaults_mode</p> /// </summary> public static IDefaultConfiguration Legacy {get;} = new DefaultConfiguration { Name = DefaultConfigurationMode.Legacy, RetryMode = RequestRetryMode.Legacy, StsRegionalEndpoints = StsRegionalEndpointsValue.Legacy, S3UsEast1RegionalEndpoint = S3UsEast1RegionalEndpointValue.Legacy, ConnectTimeout = null, TlsNegotiationTimeout = null, TimeToFirstByteTimeout = null, HttpRequestTimeout = null }; } }
146
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.AppRegistry.Endpoints { /// <summary> /// Contains parameters used for resolving AppRegistry endpoints /// Parameters can be sourced from client config and service operations /// Used by internal AppRegistryEndpointProvider and AppRegistryEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class AppRegistryEndpointParameters : EndpointParameters { /// <summary> /// AppRegistryEndpointParameters constructor /// </summary> public AppRegistryEndpointParameters() { UseDualStack = false; UseFIPS = false; } /// <summary> /// Region parameter /// </summary> public string Region { get { return (string)this["Region"]; } set { this["Region"] = value; } } /// <summary> /// UseDualStack parameter /// </summary> public bool? UseDualStack { get { return (bool?)this["UseDualStack"]; } set { this["UseDualStack"] = value; } } /// <summary> /// UseFIPS parameter /// </summary> public bool? UseFIPS { get { return (bool?)this["UseFIPS"]; } set { this["UseFIPS"] = value; } } /// <summary> /// Endpoint parameter /// </summary> public string Endpoint { get { return (string)this["Endpoint"]; } set { this["Endpoint"] = value; } } } }
78
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.AppRegistry { ///<summary> /// Common exception for the AppRegistry service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonAppRegistryException : AmazonServiceException { /// <summary> /// Construct instance of AmazonAppRegistryException /// </summary> /// <param name="message"></param> public AmazonAppRegistryException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonAppRegistryException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonAppRegistryException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonAppRegistryException /// </summary> /// <param name="innerException"></param> public AmazonAppRegistryException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonAppRegistryException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAppRegistryException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonAppRegistryException /// </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 AmazonAppRegistryException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) { } #if !NETSTANDARD /// <summary> /// Constructs a new instance of the AmazonAppRegistryException 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 AmazonAppRegistryException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } #endif } }
105
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AppRegistry { /// <summary> /// Constants used for properties of type ResourceGroupState. /// </summary> public class ResourceGroupState : ConstantClass { /// <summary> /// Constant CREATE_COMPLETE for ResourceGroupState /// </summary> public static readonly ResourceGroupState CREATE_COMPLETE = new ResourceGroupState("CREATE_COMPLETE"); /// <summary> /// Constant CREATE_FAILED for ResourceGroupState /// </summary> public static readonly ResourceGroupState CREATE_FAILED = new ResourceGroupState("CREATE_FAILED"); /// <summary> /// Constant CREATING for ResourceGroupState /// </summary> public static readonly ResourceGroupState CREATING = new ResourceGroupState("CREATING"); /// <summary> /// Constant UPDATE_COMPLETE for ResourceGroupState /// </summary> public static readonly ResourceGroupState UPDATE_COMPLETE = new ResourceGroupState("UPDATE_COMPLETE"); /// <summary> /// Constant UPDATE_FAILED for ResourceGroupState /// </summary> public static readonly ResourceGroupState UPDATE_FAILED = new ResourceGroupState("UPDATE_FAILED"); /// <summary> /// Constant UPDATING for ResourceGroupState /// </summary> public static readonly ResourceGroupState UPDATING = new ResourceGroupState("UPDATING"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ResourceGroupState(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ResourceGroupState FindValue(string value) { return FindValue<ResourceGroupState>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ResourceGroupState(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type ResourceType. /// </summary> public class ResourceType : ConstantClass { /// <summary> /// Constant CFN_STACK for ResourceType /// </summary> public static readonly ResourceType CFN_STACK = new ResourceType("CFN_STACK"); /// <summary> /// Constant RESOURCE_TAG_VALUE for ResourceType /// </summary> public static readonly ResourceType RESOURCE_TAG_VALUE = new ResourceType("RESOURCE_TAG_VALUE"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public ResourceType(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static ResourceType FindValue(string value) { return FindValue<ResourceType>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator ResourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SyncAction. /// </summary> public class SyncAction : ConstantClass { /// <summary> /// Constant NO_ACTION for SyncAction /// </summary> public static readonly SyncAction NO_ACTION = new SyncAction("NO_ACTION"); /// <summary> /// Constant START_SYNC for SyncAction /// </summary> public static readonly SyncAction START_SYNC = new SyncAction("START_SYNC"); /// <summary> /// This constant constructor does not need to be called if the constant /// you are attempting to use is already defined as a static instance of /// this class. /// This constructor should be used to construct constants that are not /// defined as statics, for instance if attempting to use a feature that is /// newer than the current version of the SDK. /// </summary> public SyncAction(string value) : base(value) { } /// <summary> /// Finds the constant for the unique value. /// </summary> /// <param name="value">The unique value for the constant</param> /// <returns>The constant for the unique value</returns> public static SyncAction FindValue(string value) { return FindValue<SyncAction>(value); } /// <summary> /// Utility method to convert strings to the constant class. /// </summary> /// <param name="value">The string value to convert to the constant class.</param> /// <returns></returns> public static implicit operator SyncAction(string value) { return FindValue(value); } } }
192
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.Runtime.Endpoints; using static Amazon.Runtime.Internal.Endpoints.StandardLibrary.Fn; namespace Amazon.AppRegistry.Internal { /// <summary> /// Amazon AppRegistry endpoint provider. /// Resolves endpoint for given set of AppRegistryEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonAppRegistryEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for AppRegistryEndpointParameters /// </summary> public Endpoint ResolveEndpoint(EndpointParameters parameters) { if (parameters == null) throw new ArgumentNullException("parameters"); if (parameters["UseDualStack"] == null) throw new AmazonClientException("UseDualStack parameter must be set for endpoint resolution"); if (parameters["UseFIPS"] == null) throw new AmazonClientException("UseFIPS parameter must be set for endpoint resolution"); var refs = new Dictionary<string, object>() { ["Region"] = parameters["Region"], ["UseDualStack"] = parameters["UseDualStack"], ["UseFIPS"] = parameters["UseFIPS"], ["Endpoint"] = parameters["Endpoint"], }; if (IsSet(refs["Endpoint"])) { if (Equals(refs["UseFIPS"], true)) { throw new AmazonClientException("Invalid Configuration: FIPS and custom endpoint are not supported"); } if (Equals(refs["UseDualStack"], true)) { throw new AmazonClientException("Invalid Configuration: Dualstack and custom endpoint are not supported"); } return new Endpoint((string)refs["Endpoint"], InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } if (IsSet(refs["Region"])) { if ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null) { if (Equals(refs["UseFIPS"], true) && Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS")) && Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { if (Equals("aws-us-gov", GetAttr(refs["PartitionResult"], "name"))) { return new Endpoint(Interpolate(@"https://servicecatalog-appregistry.{Region}.amazonaws.com", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } return new Endpoint(Interpolate(@"https://servicecatalog-appregistry-fips.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS is enabled but this partition does not support FIPS"); } if (Equals(refs["UseDualStack"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsDualStack"))) { return new Endpoint(Interpolate(@"https://servicecatalog-appregistry.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("DualStack is enabled but this partition does not support DualStack"); } return new Endpoint(Interpolate(@"https://servicecatalog-appregistry.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using Amazon.AppRegistry.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.AppRegistry.Endpoints; #pragma warning disable 1591 namespace Amazon.AppRegistry.Internal { /// <summary> /// Amazon AppRegistry endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AppRegistry service requests. /// Collects values for AppRegistryEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppRegistryEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonAppRegistryEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonAppRegistryConfig)requestContext.ClientConfig; var result = new AppRegistryEndpointParameters(); result.Region = config.RegionEndpoint?.SystemName; result.UseDualStack = config.UseDualstackEndpoint; result.UseFIPS = config.UseFIPSEndpoint; result.Endpoint = config.ServiceURL; // The region needs to be determined from the ServiceURL if not set. var regionEndpoint = config.RegionEndpoint; if (regionEndpoint == null && !string.IsNullOrEmpty(config.ServiceURL)) { var regionName = AWSSDKUtils.DetermineRegion(config.ServiceURL); result.Region = RegionEndpoint.GetBySystemName(regionName).SystemName; } // To support legacy endpoint overridding rules in the endpoints.json if (result.Region == "us-east-1-regional") { result.Region = "us-east-1"; } // Use AlternateEndpoint region override if set if (requestContext.Request.AlternateEndpoint != null) { result.Region = requestContext.Request.AlternateEndpoint.SystemName; } // Assign staticContextParams and contextParam per operation return result; } } }
83
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Internal { /// <summary> /// Service metadata for Amazon AppRegistry service /// </summary> public partial class AmazonAppRegistryMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "Service Catalog AppRegistry"; } } /// <summary> /// Gets the dictionary that gives mapping of renamed operations /// </summary> public System.Collections.Generic.IDictionary<string, string> OperationNameMapping { get { return new System.Collections.Generic.Dictionary<string, string>(0) { }; } } } }
55
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AppRegistry { /// <summary> /// Base class for AppRegistry operation requests. /// </summary> public partial class AmazonAppRegistryRequest : AmazonWebServiceRequest { } }
30
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Represents a Amazon Web Services Service Catalog AppRegistry application that is the /// top-level node in a hierarchy of related cloud resource abstractions. /// </summary> public partial class Application { private string _arn; private DateTime? _creationTime; private string _description; private string _id; private DateTime? _lastUpdateTime; private string _name; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon resource name (ARN) that specifies the application across services. /// </para> /// </summary> 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 CreationTime. /// <para> /// The ISO-8601 formatted timestamp of the moment when the application was created. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the application. /// </para> /// </summary> [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the application. /// </para> /// </summary> [AWSProperty(Min=26, Max=26)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastUpdateTime. /// <para> /// The ISO-8601 formatted timestamp of the moment when the application was last updated. /// </para> /// </summary> public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the application. The name must be unique in the region in which you are /// creating the application. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Key-value pairs you can use to associate with the application. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
177
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Summary of a Amazon Web Services Service Catalog AppRegistry application. /// </summary> public partial class ApplicationSummary { private string _arn; private DateTime? _creationTime; private string _description; private string _id; private DateTime? _lastUpdateTime; private string _name; /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon resource name (ARN) that specifies the application across services. /// </para> /// </summary> 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 CreationTime. /// <para> /// The ISO-8601 formatted timestamp of the moment when the application was created. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the application. /// </para> /// </summary> [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The identifier of the application. /// </para> /// </summary> [AWSProperty(Min=26, Max=26)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastUpdateTime. /// <para> /// The ISO-8601 formatted timestamp of the moment when the application was last updated. /// </para> /// </summary> public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the application. The name must be unique in the region in which you are /// creating the application. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] 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; } } }
156
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Includes all of the AppRegistry settings. /// </summary> public partial class AppRegistryConfiguration { private TagQueryConfiguration _tagQueryConfiguration; /// <summary> /// Gets and sets the property TagQueryConfiguration. /// <para> /// Includes the definition of a <code>tagQuery</code>. /// </para> /// </summary> public TagQueryConfiguration TagQueryConfiguration { get { return this._tagQueryConfiguration; } set { this._tagQueryConfiguration = value; } } // Check to see if TagQueryConfiguration property is set internal bool IsSetTagQueryConfiguration() { return this._tagQueryConfiguration != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the AssociateAttributeGroup operation. /// Associates an attribute group with an application to augment the application's metadata /// with the group's attributes. This feature enables applications to be described with /// user-defined details that are machine-readable, such as third-party integrations. /// </summary> public partial class AssociateAttributeGroupRequest : AmazonAppRegistryRequest { private string _application; private string _attributeGroup; /// <summary> /// Gets and sets the property Application. /// <para> /// The name, ID, or ARN of the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != null; } /// <summary> /// Gets and sets the property AttributeGroup. /// <para> /// The name, ID, or ARN of the attribute group that holds the attributes to describe /// the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=512)] public string AttributeGroup { get { return this._attributeGroup; } set { this._attributeGroup = value; } } // Check to see if AttributeGroup property is set internal bool IsSetAttributeGroup() { return this._attributeGroup != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the AssociateAttributeGroup operation. /// </summary> public partial class AssociateAttributeGroupResponse : AmazonWebServiceResponse { private string _applicationArn; private string _attributeGroupArn; /// <summary> /// Gets and sets the property ApplicationArn. /// <para> /// The Amazon resource name (ARN) of the application that was augmented with attributes. /// </para> /// </summary> public string ApplicationArn { get { return this._applicationArn; } set { this._applicationArn = value; } } // Check to see if ApplicationArn property is set internal bool IsSetApplicationArn() { return this._applicationArn != null; } /// <summary> /// Gets and sets the property AttributeGroupArn. /// <para> /// The Amazon resource name (ARN) of the attribute group that contains the application's /// new attributes. /// </para> /// </summary> public string AttributeGroupArn { get { return this._attributeGroupArn; } set { this._attributeGroupArn = value; } } // Check to see if AttributeGroupArn property is set internal bool IsSetAttributeGroupArn() { return this._attributeGroupArn != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the AssociateResource operation. /// Associates a resource with an application. The resource can be specified by its ARN /// or name. The application can be specified by ARN, ID, or name. /// </summary> public partial class AssociateResourceRequest : AmazonAppRegistryRequest { private string _application; private string _resource; private ResourceType _resourceType; /// <summary> /// Gets and sets the property Application. /// <para> /// The name, ID, or ARN of the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != null; } /// <summary> /// Gets and sets the property Resource. /// <para> /// The name or ID of the resource of which the application will be associated. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Resource { get { return this._resource; } set { this._resource = value; } } // Check to see if Resource property is set internal bool IsSetResource() { return this._resource != null; } /// <summary> /// Gets and sets the property ResourceType. /// <para> /// The type of resource of which the application will be associated. /// </para> /// </summary> [AWSProperty(Required=true)] public ResourceType ResourceType { get { return this._resourceType; } set { this._resourceType = value; } } // Check to see if ResourceType property is set internal bool IsSetResourceType() { return this._resourceType != null; } } }
100
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the AssociateResource operation. /// </summary> public partial class AssociateResourceResponse : AmazonWebServiceResponse { private string _applicationArn; private string _resourceArn; /// <summary> /// Gets and sets the property ApplicationArn. /// <para> /// The Amazon resource name (ARN) of the application that was augmented with attributes. /// </para> /// </summary> public string ApplicationArn { get { return this._applicationArn; } set { this._applicationArn = value; } } // Check to see if ApplicationArn property is set internal bool IsSetApplicationArn() { return this._applicationArn != null; } /// <summary> /// Gets and sets the property ResourceArn. /// <para> /// The Amazon resource name (ARN) that specifies the resource. /// </para> /// </summary> [AWSProperty(Min=1, Max=1600)] 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; } } }
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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Represents a Amazon Web Services Service Catalog AppRegistry attribute group that /// is rich metadata which describes an application and its components. /// </summary> public partial class AttributeGroup { private string _arn; private DateTime? _creationTime; private string _description; private string _id; private DateTime? _lastUpdateTime; private string _name; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon resource name (ARN) that specifies the attribute group across services. /// </para> /// </summary> 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 CreationTime. /// <para> /// The ISO-8601 formatted timestamp of the moment the attribute group was created. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the attribute group that the user provides. /// </para> /// </summary> [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The globally unique attribute group identifier of the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastUpdateTime. /// <para> /// The ISO-8601 formatted timestamp of the moment the attribute group was last updated. /// This time is the same as the creationTime for a newly created attribute group. /// </para> /// </summary> public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Key-value pairs you can use to associate with the attribute group. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
177
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// The details related to a specific AttributeGroup. /// </summary> public partial class AttributeGroupDetails { private string _arn; private string _createdBy; private string _id; private string _name; /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon resource name (ARN) that specifies the attribute group. /// </para> /// </summary> 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 CreatedBy. /// <para> /// The service principal that created the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique identifier of the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property Name. <important> /// <para> /// This field is no longer supported. We recommend you don't use the field when using /// <code>ListAttributeGroupsForApplication</code>. /// </para> /// </important> /// <para> /// The name of the attribute group. /// </para> /// </summary> [Obsolete("This field is deprecated. We recommend not using the field when using ListAttributeGroupsForApplication.")] [AWSProperty(Min=1, Max=256)] 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; } } }
123
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Summary of a Amazon Web Services Service Catalog AppRegistry attribute group. /// </summary> public partial class AttributeGroupSummary { private string _arn; private string _createdBy; private DateTime? _creationTime; private string _description; private string _id; private DateTime? _lastUpdateTime; private string _name; /// <summary> /// Gets and sets the property Arn. /// <para> /// The Amazon resource name (ARN) that specifies the attribute group across services. /// </para> /// </summary> 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 CreatedBy. /// <para> /// The service principal that created the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string CreatedBy { get { return this._createdBy; } set { this._createdBy = value; } } // Check to see if CreatedBy property is set internal bool IsSetCreatedBy() { return this._createdBy != null; } /// <summary> /// Gets and sets the property CreationTime. /// <para> /// The ISO-8601 formatted timestamp of the moment the attribute group was created. /// </para> /// </summary> public DateTime CreationTime { get { return this._creationTime.GetValueOrDefault(); } set { this._creationTime = value; } } // Check to see if CreationTime property is set internal bool IsSetCreationTime() { return this._creationTime.HasValue; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the attribute group that the user provides. /// </para> /// </summary> [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The globally unique attribute group identifier of the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property LastUpdateTime. /// <para> /// The ISO-8601 formatted timestamp of the moment the attribute group was last updated. /// This time is the same as the creationTime for a newly created attribute group. /// </para> /// </summary> public DateTime LastUpdateTime { get { return this._lastUpdateTime.GetValueOrDefault(); } set { this._lastUpdateTime = value; } } // Check to see if LastUpdateTime property is set internal bool IsSetLastUpdateTime() { return this._lastUpdateTime.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the attribute group. /// </para> /// </summary> [AWSProperty(Min=1, Max=256)] 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; } } }
176
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// There was a conflict when processing the request (for example, a resource with the /// given name already exists within the account). /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class ConflictException : AmazonAppRegistryException { /// <summary> /// Constructs a new ConflictException with the specified error /// message. /// </summary> /// <param name="message"> /// Describes the error encountered. /// </param> public ConflictException(string message) : base(message) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public ConflictException(string message, Exception innerException) : base(message, innerException) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="innerException"></param> public ConflictException(Exception innerException) : base(innerException) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, innerException, errorType, errorCode, requestId, statusCode) {} /// <summary> /// Construct instance of ConflictException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public ConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) {} #if !NETSTANDARD /// <summary> /// Constructs a new instance of the ConflictException class with serialized data. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception> /// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception> protected ConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) : base(info, context) { } /// <summary> /// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception. /// </summary> /// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param> /// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param> /// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception> #if BCL35 [System.Security.Permissions.SecurityPermission( System.Security.Permissions.SecurityAction.LinkDemand, Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)] #endif [System.Security.SecurityCritical] // These FxCop rules are giving false-positives for this method [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")] [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")] public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { base.GetObjectData(info, context); } #endif } }
125
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the CreateApplication operation. /// Creates a new application that is the top-level node in a hierarchy of related cloud /// resource abstractions. /// </summary> public partial class CreateApplicationRequest : AmazonAppRegistryRequest { private string _clientToken; private string _description; private string _name; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property ClientToken. /// <para> /// A unique identifier that you provide to ensure idempotency. If you retry a request /// that completed successfully using the same client token and the same parameters, the /// retry succeeds without performing any further actions. If you retry a successful request /// using the same client token, but one or more of the parameters are different, the /// retry fails. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the application. /// </para> /// </summary> [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the application. The name must be unique in the region in which you are /// creating the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Key-value pairs you can use to associate with the application. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the CreateApplication operation. /// </summary> public partial class CreateApplicationResponse : AmazonWebServiceResponse { private Application _application; /// <summary> /// Gets and sets the property Application. /// <para> /// Information about the application. /// </para> /// </summary> public Application Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the CreateAttributeGroup operation. /// Creates a new attribute group as a container for user-defined attributes. This feature /// enables users to have full control over their cloud application's metadata in a rich /// machine-readable format to facilitate integration with automated workflows and third-party /// tools. /// </summary> public partial class CreateAttributeGroupRequest : AmazonAppRegistryRequest { private string _attributes; private string _clientToken; private string _description; private string _name; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Attributes. /// <para> /// A JSON string in the form of nested key-value pairs that represent the attributes /// in the group and describes an application and its components. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=8000)] public string Attributes { get { return this._attributes; } set { this._attributes = value; } } // Check to see if Attributes property is set internal bool IsSetAttributes() { return this._attributes != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// A unique identifier that you provide to ensure idempotency. If you retry a request /// that completed successfully using the same client token and the same parameters, the /// retry succeeds without performing any further actions. If you retry a successful request /// using the same client token, but one or more of the parameters are different, the /// retry fails. /// </para> /// </summary> [AWSProperty(Min=1, Max=128)] public string ClientToken { get { return this._clientToken; } set { this._clientToken = value; } } // Check to see if ClientToken property is set internal bool IsSetClientToken() { return this._clientToken != null; } /// <summary> /// Gets and sets the property Description. /// <para> /// The description of the attribute group that the user provides. /// </para> /// </summary> [AWSProperty(Max=1024)] public string Description { get { return this._description; } set { this._description = value; } } // Check to see if Description property is set internal bool IsSetDescription() { return this._description != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the attribute group. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// Key-value pairs you can use to associate with the attribute group. /// </para> /// </summary> [AWSProperty(Min=0, Max=50)] public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
147
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the CreateAttributeGroup operation. /// </summary> public partial class CreateAttributeGroupResponse : AmazonWebServiceResponse { private AttributeGroup _attributeGroup; /// <summary> /// Gets and sets the property AttributeGroup. /// <para> /// Information about the attribute group. /// </para> /// </summary> public AttributeGroup AttributeGroup { get { return this._attributeGroup; } set { this._attributeGroup = value; } } // Check to see if AttributeGroup property is set internal bool IsSetAttributeGroup() { return this._attributeGroup != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the DeleteApplication operation. /// Deletes an application that is specified either by its application ID, name, or ARN. /// All associated attribute groups and resources must be disassociated from it before /// deleting an application. /// </summary> public partial class DeleteApplicationRequest : AmazonAppRegistryRequest { private string _application; /// <summary> /// Gets and sets the property Application. /// <para> /// The name, ID, or ARN of the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the DeleteApplication operation. /// </summary> public partial class DeleteApplicationResponse : AmazonWebServiceResponse { private ApplicationSummary _application; /// <summary> /// Gets and sets the property Application. /// <para> /// Information about the deleted application. /// </para> /// </summary> public ApplicationSummary Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the DeleteAttributeGroup operation. /// Deletes an attribute group, specified either by its attribute group ID, name, or ARN. /// </summary> public partial class DeleteAttributeGroupRequest : AmazonAppRegistryRequest { private string _attributeGroup; /// <summary> /// Gets and sets the property AttributeGroup. /// <para> /// The name, ID, or ARN of the attribute group that holds the attributes to describe /// the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=512)] public string AttributeGroup { get { return this._attributeGroup; } set { this._attributeGroup = value; } } // Check to see if AttributeGroup property is set internal bool IsSetAttributeGroup() { return this._attributeGroup != null; } } }
60
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the DeleteAttributeGroup operation. /// </summary> public partial class DeleteAttributeGroupResponse : AmazonWebServiceResponse { private AttributeGroupSummary _attributeGroup; /// <summary> /// Gets and sets the property AttributeGroup. /// <para> /// Information about the deleted attribute group. /// </para> /// </summary> public AttributeGroupSummary AttributeGroup { get { return this._attributeGroup; } set { this._attributeGroup = value; } } // Check to see if AttributeGroup property is set internal bool IsSetAttributeGroup() { return this._attributeGroup != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// Container for the parameters to the DisassociateAttributeGroup operation. /// Disassociates an attribute group from an application to remove the extra attributes /// contained in the attribute group from the application's metadata. This operation reverts /// <code>AssociateAttributeGroup</code>. /// </summary> public partial class DisassociateAttributeGroupRequest : AmazonAppRegistryRequest { private string _application; private string _attributeGroup; /// <summary> /// Gets and sets the property Application. /// <para> /// The name, ID, or ARN of the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=256)] public string Application { get { return this._application; } set { this._application = value; } } // Check to see if Application property is set internal bool IsSetApplication() { return this._application != null; } /// <summary> /// Gets and sets the property AttributeGroup. /// <para> /// The name, ID, or ARN of the attribute group that holds the attributes to describe /// the application. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=512)] public string AttributeGroup { get { return this._attributeGroup; } set { this._attributeGroup = value; } } // Check to see if AttributeGroup property is set internal bool IsSetAttributeGroup() { return this._attributeGroup != 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 servicecatalog-appregistry-2020-06-24.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AppRegistry.Model { /// <summary> /// This is the response object from the DisassociateAttributeGroup operation. /// </summary> public partial class DisassociateAttributeGroupResponse : AmazonWebServiceResponse { private string _applicationArn; private string _attributeGroupArn; /// <summary> /// Gets and sets the property ApplicationArn. /// <para> /// The Amazon resource name (ARN) that specifies the application. /// </para> /// </summary> public string ApplicationArn { get { return this._applicationArn; } set { this._applicationArn = value; } } // Check to see if ApplicationArn property is set internal bool IsSetApplicationArn() { return this._applicationArn != null; } /// <summary> /// Gets and sets the property AttributeGroupArn. /// <para> /// The Amazon resource name (ARN) that specifies the attribute group. /// </para> /// </summary> public string AttributeGroupArn { get { return this._attributeGroupArn; } set { this._attributeGroupArn = value; } } // Check to see if AttributeGroupArn property is set internal bool IsSetAttributeGroupArn() { return this._attributeGroupArn != null; } } }
76