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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// ListS3Buckets Request Marshaller /// </summary> public class ListS3BucketsRequestMarshaller : IMarshaller<IRequest, ListS3BucketsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((ListS3BucketsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(ListS3BucketsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; request.ResourcePath = "/s3Buckets"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetNextToken()) { context.Writer.WritePropertyName("nextToken"); context.Writer.Write(publicRequest.NextToken); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static ListS3BucketsRequestMarshaller _instance = new ListS3BucketsRequestMarshaller(); internal static ListS3BucketsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListS3BucketsRequestMarshaller Instance { get { return _instance; } } } }
101
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for ListS3Buckets operation /// </summary> public class ListS3BucketsResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { ListS3BucketsResponse response = new ListS3BucketsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("buckets", targetDepth)) { var unmarshaller = new ListUnmarshaller<S3BucketInfo, S3BucketInfoUnmarshaller>(S3BucketInfoUnmarshaller.Instance); response.Buckets = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("nextToken", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.NextToken = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static ListS3BucketsResponseUnmarshaller _instance = new ListS3BucketsResponseUnmarshaller(); internal static ListS3BucketsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static ListS3BucketsResponseUnmarshaller Instance { get { return _instance; } } } }
128
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// LoginAuthConfigReqObj Marshaller /// </summary> public class LoginAuthConfigReqObjMarshaller : IRequestMarshaller<LoginAuthConfigReqObj, 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(LoginAuthConfigReqObj requestObject, JsonMarshallerContext context) { if(requestObject.IsSetAwsCognitoIdentityPoolId()) { context.Writer.WritePropertyName("aws_cognito_identity_pool_id"); context.Writer.Write(requestObject.AwsCognitoIdentityPoolId); } if(requestObject.IsSetAwsCognitoRegion()) { context.Writer.WritePropertyName("aws_cognito_region"); context.Writer.Write(requestObject.AwsCognitoRegion); } if(requestObject.IsSetAwsUserPoolsId()) { context.Writer.WritePropertyName("aws_user_pools_id"); context.Writer.Write(requestObject.AwsUserPoolsId); } if(requestObject.IsSetAwsUserPoolsWebClientId()) { context.Writer.WritePropertyName("aws_user_pools_web_client_id"); context.Writer.Write(requestObject.AwsUserPoolsWebClientId); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static LoginAuthConfigReqObjMarshaller Instance = new LoginAuthConfigReqObjMarshaller(); } }
80
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for LoginAuthConfigReqObj Object /// </summary> public class LoginAuthConfigReqObjUnmarshaller : IUnmarshaller<LoginAuthConfigReqObj, XmlUnmarshallerContext>, IUnmarshaller<LoginAuthConfigReqObj, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> LoginAuthConfigReqObj IUnmarshaller<LoginAuthConfigReqObj, 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 LoginAuthConfigReqObj Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; LoginAuthConfigReqObj unmarshalledObject = new LoginAuthConfigReqObj(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("aws_cognito_identity_pool_id", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AwsCognitoIdentityPoolId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("aws_cognito_region", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AwsCognitoRegion = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("aws_user_pools_id", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AwsUserPoolsId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("aws_user_pools_web_client_id", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.AwsUserPoolsWebClientId = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static LoginAuthConfigReqObjUnmarshaller _instance = new LoginAuthConfigReqObjUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static LoginAuthConfigReqObjUnmarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for NotFoundException Object /// </summary> public class NotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<NotFoundException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public NotFoundException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public NotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); NotFoundException unmarshalledObject = new NotFoundException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("resourceType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static NotFoundExceptionUnmarshaller _instance = new NotFoundExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static NotFoundExceptionUnmarshaller Instance { get { return _instance; } } } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// RemoveAllBackends Request Marshaller /// </summary> public class RemoveAllBackendsRequestMarshaller : IMarshaller<IRequest, RemoveAllBackendsRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((RemoveAllBackendsRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(RemoveAllBackendsRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); request.ResourcePath = "/backend/{appId}/remove"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetCleanAmplifyApp()) { context.Writer.WritePropertyName("cleanAmplifyApp"); context.Writer.Write(publicRequest.CleanAmplifyApp); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static RemoveAllBackendsRequestMarshaller _instance = new RemoveAllBackendsRequestMarshaller(); internal static RemoveAllBackendsRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RemoveAllBackendsRequestMarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for RemoveAllBackends operation /// </summary> public class RemoveAllBackendsResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { RemoveAllBackendsResponse response = new RemoveAllBackendsResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("appId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("error", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Error = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("jobId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.JobId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("operation", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Operation = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static RemoveAllBackendsResponseUnmarshaller _instance = new RemoveAllBackendsResponseUnmarshaller(); internal static RemoveAllBackendsResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RemoveAllBackendsResponseUnmarshaller Instance { get { return _instance; } } } }
146
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// RemoveBackendConfig Request Marshaller /// </summary> public class RemoveBackendConfigRequestMarshaller : IMarshaller<IRequest, RemoveBackendConfigRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((RemoveBackendConfigRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(RemoveBackendConfigRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); request.ResourcePath = "/backend/{appId}/config/remove"; return request; } private static RemoveBackendConfigRequestMarshaller _instance = new RemoveBackendConfigRequestMarshaller(); internal static RemoveBackendConfigRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RemoveBackendConfigRequestMarshaller Instance { get { return _instance; } } } }
88
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for RemoveBackendConfig operation /// </summary> public class RemoveBackendConfigResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { RemoveBackendConfigResponse response = new RemoveBackendConfigResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("error", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Error = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static RemoveBackendConfigResponseUnmarshaller _instance = new RemoveBackendConfigResponseUnmarshaller(); internal static RemoveBackendConfigResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static RemoveBackendConfigResponseUnmarshaller Instance { get { return _instance; } } } }
122
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// ResourceConfig Marshaller /// </summary> public class ResourceConfigMarshaller : IRequestMarshaller<ResourceConfig, 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(ResourceConfig requestObject, JsonMarshallerContext context) { } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static ResourceConfigMarshaller Instance = new ResourceConfigMarshaller(); } }
56
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for S3BucketInfo Object /// </summary> public class S3BucketInfoUnmarshaller : IUnmarshaller<S3BucketInfo, XmlUnmarshallerContext>, IUnmarshaller<S3BucketInfo, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> S3BucketInfo IUnmarshaller<S3BucketInfo, 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 S3BucketInfo Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; S3BucketInfo unmarshalledObject = new S3BucketInfo(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("creationDate", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.CreationDate = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("name", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.Name = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static S3BucketInfoUnmarshaller _instance = new S3BucketInfoUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static S3BucketInfoUnmarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Settings Marshaller /// </summary> public class SettingsMarshaller : IRequestMarshaller<Settings, 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(Settings requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMfaTypes()) { context.Writer.WritePropertyName("mfaTypes"); context.Writer.WriteArrayStart(); foreach(var requestObjectMfaTypesListValue in requestObject.MfaTypes) { context.Writer.Write(requestObjectMfaTypesListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetSmsMessage()) { context.Writer.WritePropertyName("smsMessage"); context.Writer.Write(requestObject.SmsMessage); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static SettingsMarshaller Instance = new SettingsMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for Settings Object /// </summary> public class SettingsUnmarshaller : IUnmarshaller<Settings, XmlUnmarshallerContext>, IUnmarshaller<Settings, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> Settings IUnmarshaller<Settings, 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 Settings Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; Settings unmarshalledObject = new Settings(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("mfaTypes", targetDepth)) { var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance); unmarshalledObject.MfaTypes = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("smsMessage", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.SmsMessage = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static SettingsUnmarshaller _instance = new SettingsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static SettingsUnmarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// SmsSettings Marshaller /// </summary> public class SmsSettingsMarshaller : IRequestMarshaller<SmsSettings, 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(SmsSettings requestObject, JsonMarshallerContext context) { if(requestObject.IsSetSmsMessage()) { context.Writer.WritePropertyName("smsMessage"); context.Writer.Write(requestObject.SmsMessage); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static SmsSettingsMarshaller Instance = new SmsSettingsMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for SmsSettings Object /// </summary> public class SmsSettingsUnmarshaller : IUnmarshaller<SmsSettings, XmlUnmarshallerContext>, IUnmarshaller<SmsSettings, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> SmsSettings IUnmarshaller<SmsSettings, 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 SmsSettings Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; SmsSettings unmarshalledObject = new SmsSettings(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("smsMessage", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.SmsMessage = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static SmsSettingsUnmarshaller _instance = new SmsSettingsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static SmsSettingsUnmarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// SocialProviderSettings Marshaller /// </summary> public class SocialProviderSettingsMarshaller : IRequestMarshaller<SocialProviderSettings, 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(SocialProviderSettings requestObject, JsonMarshallerContext context) { if(requestObject.IsSetFacebook()) { context.Writer.WritePropertyName("Facebook"); context.Writer.WriteObjectStart(); var marshaller = BackendAuthSocialProviderConfigMarshaller.Instance; marshaller.Marshall(requestObject.Facebook, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetGoogle()) { context.Writer.WritePropertyName("Google"); context.Writer.WriteObjectStart(); var marshaller = BackendAuthSocialProviderConfigMarshaller.Instance; marshaller.Marshall(requestObject.Google, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetLoginWithAmazon()) { context.Writer.WritePropertyName("LoginWithAmazon"); context.Writer.WriteObjectStart(); var marshaller = BackendAuthSocialProviderConfigMarshaller.Instance; marshaller.Marshall(requestObject.LoginWithAmazon, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetSignInWithApple()) { context.Writer.WritePropertyName("SignInWithApple"); context.Writer.WriteObjectStart(); var marshaller = BackendAuthAppleProviderConfigMarshaller.Instance; marshaller.Marshall(requestObject.SignInWithApple, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static SocialProviderSettingsMarshaller Instance = new SocialProviderSettingsMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for SocialProviderSettings Object /// </summary> public class SocialProviderSettingsUnmarshaller : IUnmarshaller<SocialProviderSettings, XmlUnmarshallerContext>, IUnmarshaller<SocialProviderSettings, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> SocialProviderSettings IUnmarshaller<SocialProviderSettings, 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 SocialProviderSettings Unmarshall(JsonUnmarshallerContext context) { context.Read(); if (context.CurrentTokenType == JsonToken.Null) return null; SocialProviderSettings unmarshalledObject = new SocialProviderSettings(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("Facebook", targetDepth)) { var unmarshaller = BackendAuthSocialProviderConfigUnmarshaller.Instance; unmarshalledObject.Facebook = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("Google", targetDepth)) { var unmarshaller = BackendAuthSocialProviderConfigUnmarshaller.Instance; unmarshalledObject.Google = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("LoginWithAmazon", targetDepth)) { var unmarshaller = BackendAuthSocialProviderConfigUnmarshaller.Instance; unmarshalledObject.LoginWithAmazon = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("SignInWithApple", targetDepth)) { var unmarshaller = BackendAuthAppleProviderConfigUnmarshaller.Instance; unmarshalledObject.SignInWithApple = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static SocialProviderSettingsUnmarshaller _instance = new SocialProviderSettingsUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static SocialProviderSettingsUnmarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for TooManyRequestsException Object /// </summary> public class TooManyRequestsExceptionUnmarshaller : IErrorResponseUnmarshaller<TooManyRequestsException, JsonUnmarshallerContext> { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public TooManyRequestsException Unmarshall(JsonUnmarshallerContext context) { return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse()); } /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <param name="errorResponse"></param> /// <returns></returns> public TooManyRequestsException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse) { context.Read(); TooManyRequestsException unmarshalledObject = new TooManyRequestsException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("limitType", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; unmarshalledObject.LimitType = unmarshaller.Unmarshall(context); continue; } } return unmarshalledObject; } private static TooManyRequestsExceptionUnmarshaller _instance = new TooManyRequestsExceptionUnmarshaller(); /// <summary> /// Gets the singleton. /// </summary> public static TooManyRequestsExceptionUnmarshaller Instance { get { return _instance; } } } }
91
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAPI Request Marshaller /// </summary> public class UpdateBackendAPIRequestMarshaller : IMarshaller<IRequest, UpdateBackendAPIRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateBackendAPIRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateBackendAPIRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); if (!publicRequest.IsSetBackendEnvironmentName()) throw new AmazonAmplifyBackendException("Request object does not have required field BackendEnvironmentName set"); request.AddPathResource("{backendEnvironmentName}", StringUtils.FromString(publicRequest.BackendEnvironmentName)); request.ResourcePath = "/backend/{appId}/api/{backendEnvironmentName}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetResourceConfig()) { context.Writer.WritePropertyName("resourceConfig"); context.Writer.WriteObjectStart(); var marshaller = BackendAPIResourceConfigMarshaller.Instance; marshaller.Marshall(publicRequest.ResourceConfig, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetResourceName()) { context.Writer.WritePropertyName("resourceName"); context.Writer.Write(publicRequest.ResourceName); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateBackendAPIRequestMarshaller _instance = new UpdateBackendAPIRequestMarshaller(); internal static UpdateBackendAPIRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendAPIRequestMarshaller Instance { get { return _instance; } } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateBackendAPI operation /// </summary> public class UpdateBackendAPIResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateBackendAPIResponse response = new UpdateBackendAPIResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("appId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("backendEnvironmentName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackendEnvironmentName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("error", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Error = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("jobId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.JobId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("operation", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Operation = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateBackendAPIResponseUnmarshaller _instance = new UpdateBackendAPIResponseUnmarshaller(); internal static UpdateBackendAPIResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendAPIResponseUnmarshaller Instance { get { return _instance; } } } }
152
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthForgotPasswordConfig Marshaller /// </summary> public class UpdateBackendAuthForgotPasswordConfigMarshaller : IRequestMarshaller<UpdateBackendAuthForgotPasswordConfig, 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(UpdateBackendAuthForgotPasswordConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetDeliveryMethod()) { context.Writer.WritePropertyName("deliveryMethod"); context.Writer.Write(requestObject.DeliveryMethod); } if(requestObject.IsSetEmailSettings()) { context.Writer.WritePropertyName("emailSettings"); context.Writer.WriteObjectStart(); var marshaller = EmailSettingsMarshaller.Instance; marshaller.Marshall(requestObject.EmailSettings, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetSmsSettings()) { context.Writer.WritePropertyName("smsSettings"); context.Writer.WriteObjectStart(); var marshaller = SmsSettingsMarshaller.Instance; marshaller.Marshall(requestObject.SmsSettings, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthForgotPasswordConfigMarshaller Instance = new UpdateBackendAuthForgotPasswordConfigMarshaller(); } }
84
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthIdentityPoolConfig Marshaller /// </summary> public class UpdateBackendAuthIdentityPoolConfigMarshaller : IRequestMarshaller<UpdateBackendAuthIdentityPoolConfig, 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(UpdateBackendAuthIdentityPoolConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetUnauthenticatedLogin()) { context.Writer.WritePropertyName("unauthenticatedLogin"); context.Writer.Write(requestObject.UnauthenticatedLogin); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthIdentityPoolConfigMarshaller Instance = new UpdateBackendAuthIdentityPoolConfigMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthMFAConfig Marshaller /// </summary> public class UpdateBackendAuthMFAConfigMarshaller : IRequestMarshaller<UpdateBackendAuthMFAConfig, 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(UpdateBackendAuthMFAConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetMFAMode()) { context.Writer.WritePropertyName("MFAMode"); context.Writer.Write(requestObject.MFAMode); } if(requestObject.IsSetSettings()) { context.Writer.WritePropertyName("settings"); context.Writer.WriteObjectStart(); var marshaller = SettingsMarshaller.Instance; marshaller.Marshall(requestObject.Settings, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthMFAConfigMarshaller Instance = new UpdateBackendAuthMFAConfigMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthOAuthConfig Marshaller /// </summary> public class UpdateBackendAuthOAuthConfigMarshaller : IRequestMarshaller<UpdateBackendAuthOAuthConfig, 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(UpdateBackendAuthOAuthConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetDomainPrefix()) { context.Writer.WritePropertyName("domainPrefix"); context.Writer.Write(requestObject.DomainPrefix); } if(requestObject.IsSetOAuthGrantType()) { context.Writer.WritePropertyName("oAuthGrantType"); context.Writer.Write(requestObject.OAuthGrantType); } if(requestObject.IsSetOAuthScopes()) { context.Writer.WritePropertyName("oAuthScopes"); context.Writer.WriteArrayStart(); foreach(var requestObjectOAuthScopesListValue in requestObject.OAuthScopes) { context.Writer.Write(requestObjectOAuthScopesListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetRedirectSignInURIs()) { context.Writer.WritePropertyName("redirectSignInURIs"); context.Writer.WriteArrayStart(); foreach(var requestObjectRedirectSignInURIsListValue in requestObject.RedirectSignInURIs) { context.Writer.Write(requestObjectRedirectSignInURIsListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetRedirectSignOutURIs()) { context.Writer.WritePropertyName("redirectSignOutURIs"); context.Writer.WriteArrayStart(); foreach(var requestObjectRedirectSignOutURIsListValue in requestObject.RedirectSignOutURIs) { context.Writer.Write(requestObjectRedirectSignOutURIsListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetSocialProviderSettings()) { context.Writer.WritePropertyName("socialProviderSettings"); context.Writer.WriteObjectStart(); var marshaller = SocialProviderSettingsMarshaller.Instance; marshaller.Marshall(requestObject.SocialProviderSettings, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthOAuthConfigMarshaller Instance = new UpdateBackendAuthOAuthConfigMarshaller(); } }
112
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthPasswordPolicyConfig Marshaller /// </summary> public class UpdateBackendAuthPasswordPolicyConfigMarshaller : IRequestMarshaller<UpdateBackendAuthPasswordPolicyConfig, 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(UpdateBackendAuthPasswordPolicyConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetAdditionalConstraints()) { context.Writer.WritePropertyName("additionalConstraints"); context.Writer.WriteArrayStart(); foreach(var requestObjectAdditionalConstraintsListValue in requestObject.AdditionalConstraints) { context.Writer.Write(requestObjectAdditionalConstraintsListValue); } context.Writer.WriteArrayEnd(); } if(requestObject.IsSetMinimumLength()) { context.Writer.WritePropertyName("minimumLength"); context.Writer.Write(requestObject.MinimumLength); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthPasswordPolicyConfigMarshaller Instance = new UpdateBackendAuthPasswordPolicyConfigMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuth Request Marshaller /// </summary> public class UpdateBackendAuthRequestMarshaller : IMarshaller<IRequest, UpdateBackendAuthRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateBackendAuthRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateBackendAuthRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); if (!publicRequest.IsSetBackendEnvironmentName()) throw new AmazonAmplifyBackendException("Request object does not have required field BackendEnvironmentName set"); request.AddPathResource("{backendEnvironmentName}", StringUtils.FromString(publicRequest.BackendEnvironmentName)); request.ResourcePath = "/backend/{appId}/auth/{backendEnvironmentName}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetResourceConfig()) { context.Writer.WritePropertyName("resourceConfig"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthResourceConfigMarshaller.Instance; marshaller.Marshall(publicRequest.ResourceConfig, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetResourceName()) { context.Writer.WritePropertyName("resourceName"); context.Writer.Write(publicRequest.ResourceName); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateBackendAuthRequestMarshaller _instance = new UpdateBackendAuthRequestMarshaller(); internal static UpdateBackendAuthRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendAuthRequestMarshaller Instance { get { return _instance; } } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthResourceConfig Marshaller /// </summary> public class UpdateBackendAuthResourceConfigMarshaller : IRequestMarshaller<UpdateBackendAuthResourceConfig, 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(UpdateBackendAuthResourceConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetAuthResources()) { context.Writer.WritePropertyName("authResources"); context.Writer.Write(requestObject.AuthResources); } if(requestObject.IsSetIdentityPoolConfigs()) { context.Writer.WritePropertyName("identityPoolConfigs"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthIdentityPoolConfigMarshaller.Instance; marshaller.Marshall(requestObject.IdentityPoolConfigs, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetService()) { context.Writer.WritePropertyName("service"); context.Writer.Write(requestObject.Service); } if(requestObject.IsSetUserPoolConfigs()) { context.Writer.WritePropertyName("userPoolConfigs"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthUserPoolConfigMarshaller.Instance; marshaller.Marshall(requestObject.UserPoolConfigs, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthResourceConfigMarshaller Instance = new UpdateBackendAuthResourceConfigMarshaller(); } }
90
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateBackendAuth operation /// </summary> public class UpdateBackendAuthResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateBackendAuthResponse response = new UpdateBackendAuthResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("appId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("backendEnvironmentName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackendEnvironmentName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("error", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Error = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("jobId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.JobId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("operation", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Operation = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateBackendAuthResponseUnmarshaller _instance = new UpdateBackendAuthResponseUnmarshaller(); internal static UpdateBackendAuthResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendAuthResponseUnmarshaller Instance { get { return _instance; } } } }
152
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthUserPoolConfig Marshaller /// </summary> public class UpdateBackendAuthUserPoolConfigMarshaller : IRequestMarshaller<UpdateBackendAuthUserPoolConfig, 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(UpdateBackendAuthUserPoolConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetForgotPassword()) { context.Writer.WritePropertyName("forgotPassword"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthForgotPasswordConfigMarshaller.Instance; marshaller.Marshall(requestObject.ForgotPassword, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetMfa()) { context.Writer.WritePropertyName("mfa"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthMFAConfigMarshaller.Instance; marshaller.Marshall(requestObject.Mfa, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetOAuth()) { context.Writer.WritePropertyName("oAuth"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthOAuthConfigMarshaller.Instance; marshaller.Marshall(requestObject.OAuth, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetPasswordPolicy()) { context.Writer.WritePropertyName("passwordPolicy"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthPasswordPolicyConfigMarshaller.Instance; marshaller.Marshall(requestObject.PasswordPolicy, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetVerificationMessage()) { context.Writer.WritePropertyName("verificationMessage"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendAuthVerificationMessageConfigMarshaller.Instance; marshaller.Marshall(requestObject.VerificationMessage, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthUserPoolConfigMarshaller Instance = new UpdateBackendAuthUserPoolConfigMarshaller(); } }
111
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendAuthVerificationMessageConfig Marshaller /// </summary> public class UpdateBackendAuthVerificationMessageConfigMarshaller : IRequestMarshaller<UpdateBackendAuthVerificationMessageConfig, 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(UpdateBackendAuthVerificationMessageConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetDeliveryMethod()) { context.Writer.WritePropertyName("deliveryMethod"); context.Writer.Write(requestObject.DeliveryMethod); } if(requestObject.IsSetEmailSettings()) { context.Writer.WritePropertyName("emailSettings"); context.Writer.WriteObjectStart(); var marshaller = EmailSettingsMarshaller.Instance; marshaller.Marshall(requestObject.EmailSettings, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetSmsSettings()) { context.Writer.WritePropertyName("smsSettings"); context.Writer.WriteObjectStart(); var marshaller = SmsSettingsMarshaller.Instance; marshaller.Marshall(requestObject.SmsSettings, context); context.Writer.WriteObjectEnd(); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendAuthVerificationMessageConfigMarshaller Instance = new UpdateBackendAuthVerificationMessageConfigMarshaller(); } }
84
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendConfig Request Marshaller /// </summary> public class UpdateBackendConfigRequestMarshaller : IMarshaller<IRequest, UpdateBackendConfigRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateBackendConfigRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateBackendConfigRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); request.ResourcePath = "/backend/{appId}/config/update"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetLoginAuthConfig()) { context.Writer.WritePropertyName("loginAuthConfig"); context.Writer.WriteObjectStart(); var marshaller = LoginAuthConfigReqObjMarshaller.Instance; marshaller.Marshall(publicRequest.LoginAuthConfig, context); context.Writer.WriteObjectEnd(); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateBackendConfigRequestMarshaller _instance = new UpdateBackendConfigRequestMarshaller(); internal static UpdateBackendConfigRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendConfigRequestMarshaller Instance { get { return _instance; } } } }
109
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateBackendConfig operation /// </summary> public class UpdateBackendConfigResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateBackendConfigResponse response = new UpdateBackendConfigResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("appId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("backendManagerAppId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackendManagerAppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("error", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Error = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("loginAuthConfig", targetDepth)) { var unmarshaller = LoginAuthConfigReqObjUnmarshaller.Instance; response.LoginAuthConfig = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateBackendConfigResponseUnmarshaller _instance = new UpdateBackendConfigResponseUnmarshaller(); internal static UpdateBackendConfigResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendConfigResponseUnmarshaller Instance { get { return _instance; } } } }
140
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendJob Request Marshaller /// </summary> public class UpdateBackendJobRequestMarshaller : IMarshaller<IRequest, UpdateBackendJobRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateBackendJobRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateBackendJobRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); if (!publicRequest.IsSetBackendEnvironmentName()) throw new AmazonAmplifyBackendException("Request object does not have required field BackendEnvironmentName set"); request.AddPathResource("{backendEnvironmentName}", StringUtils.FromString(publicRequest.BackendEnvironmentName)); if (!publicRequest.IsSetJobId()) throw new AmazonAmplifyBackendException("Request object does not have required field JobId set"); request.AddPathResource("{jobId}", StringUtils.FromString(publicRequest.JobId)); request.ResourcePath = "/backend/{appId}/job/{backendEnvironmentName}/{jobId}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetOperation()) { context.Writer.WritePropertyName("operation"); context.Writer.Write(publicRequest.Operation); } if(publicRequest.IsSetStatus()) { context.Writer.WritePropertyName("status"); context.Writer.Write(publicRequest.Status); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateBackendJobRequestMarshaller _instance = new UpdateBackendJobRequestMarshaller(); internal static UpdateBackendJobRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendJobRequestMarshaller 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateBackendJob operation /// </summary> public class UpdateBackendJobResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateBackendJobResponse response = new UpdateBackendJobResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("appId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("backendEnvironmentName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackendEnvironmentName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("createTime", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.CreateTime = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("error", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Error = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("jobId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.JobId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("operation", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Operation = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("updateTime", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.UpdateTime = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateBackendJobResponseUnmarshaller _instance = new UpdateBackendJobResponseUnmarshaller(); internal static UpdateBackendJobResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendJobResponseUnmarshaller Instance { get { return _instance; } } } }
164
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendStorage Request Marshaller /// </summary> public class UpdateBackendStorageRequestMarshaller : IMarshaller<IRequest, UpdateBackendStorageRequest> , IMarshaller<IRequest,AmazonWebServiceRequest> { /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="input"></param> /// <returns></returns> public IRequest Marshall(AmazonWebServiceRequest input) { return this.Marshall((UpdateBackendStorageRequest)input); } /// <summary> /// Marshaller the request object to the HTTP request. /// </summary> /// <param name="publicRequest"></param> /// <returns></returns> public IRequest Marshall(UpdateBackendStorageRequest publicRequest) { IRequest request = new DefaultRequest(publicRequest, "Amazon.AmplifyBackend"); request.Headers["Content-Type"] = "application/json"; request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-08-11"; request.HttpMethod = "POST"; if (!publicRequest.IsSetAppId()) throw new AmazonAmplifyBackendException("Request object does not have required field AppId set"); request.AddPathResource("{appId}", StringUtils.FromString(publicRequest.AppId)); if (!publicRequest.IsSetBackendEnvironmentName()) throw new AmazonAmplifyBackendException("Request object does not have required field BackendEnvironmentName set"); request.AddPathResource("{backendEnvironmentName}", StringUtils.FromString(publicRequest.BackendEnvironmentName)); request.ResourcePath = "/backend/{appId}/storage/{backendEnvironmentName}"; using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture)) { JsonWriter writer = new JsonWriter(stringWriter); writer.WriteObjectStart(); var context = new JsonMarshallerContext(request, writer); if(publicRequest.IsSetResourceConfig()) { context.Writer.WritePropertyName("resourceConfig"); context.Writer.WriteObjectStart(); var marshaller = UpdateBackendStorageResourceConfigMarshaller.Instance; marshaller.Marshall(publicRequest.ResourceConfig, context); context.Writer.WriteObjectEnd(); } if(publicRequest.IsSetResourceName()) { context.Writer.WritePropertyName("resourceName"); context.Writer.Write(publicRequest.ResourceName); } writer.WriteObjectEnd(); string snippet = stringWriter.ToString(); request.Content = System.Text.Encoding.UTF8.GetBytes(snippet); } return request; } private static UpdateBackendStorageRequestMarshaller _instance = new UpdateBackendStorageRequestMarshaller(); internal static UpdateBackendStorageRequestMarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendStorageRequestMarshaller Instance { get { return _instance; } } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// UpdateBackendStorageResourceConfig Marshaller /// </summary> public class UpdateBackendStorageResourceConfigMarshaller : IRequestMarshaller<UpdateBackendStorageResourceConfig, 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(UpdateBackendStorageResourceConfig requestObject, JsonMarshallerContext context) { if(requestObject.IsSetPermissions()) { context.Writer.WritePropertyName("permissions"); context.Writer.WriteObjectStart(); var marshaller = BackendStoragePermissionsMarshaller.Instance; marshaller.Marshall(requestObject.Permissions, context); context.Writer.WriteObjectEnd(); } if(requestObject.IsSetServiceName()) { context.Writer.WritePropertyName("serviceName"); context.Writer.Write(requestObject.ServiceName); } } /// <summary> /// Singleton Marshaller. /// </summary> public readonly static UpdateBackendStorageResourceConfigMarshaller Instance = new UpdateBackendStorageResourceConfigMarshaller(); } }
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 amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Transform; using Amazon.Runtime.Internal.Util; using ThirdParty.Json.LitJson; namespace Amazon.AmplifyBackend.Model.Internal.MarshallTransformations { /// <summary> /// Response Unmarshaller for UpdateBackendStorage operation /// </summary> public class UpdateBackendStorageResponseUnmarshaller : JsonResponseUnmarshaller { /// <summary> /// Unmarshaller the response from the service to the response class. /// </summary> /// <param name="context"></param> /// <returns></returns> public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context) { UpdateBackendStorageResponse response = new UpdateBackendStorageResponse(); context.Read(); int targetDepth = context.CurrentDepth; while (context.ReadAtDepth(targetDepth)) { if (context.TestExpression("appId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.AppId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("backendEnvironmentName", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.BackendEnvironmentName = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("jobId", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.JobId = unmarshaller.Unmarshall(context); continue; } if (context.TestExpression("status", targetDepth)) { var unmarshaller = StringUnmarshaller.Instance; response.Status = unmarshaller.Unmarshall(context); continue; } } return response; } /// <summary> /// Unmarshaller error response to exception. /// </summary> /// <param name="context"></param> /// <param name="innerException"></param> /// <param name="statusCode"></param> /// <returns></returns> public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode) { var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context); errorResponse.InnerException = innerException; errorResponse.StatusCode = statusCode; var responseBodyBytes = context.GetResponseBodyBytes(); using (var streamCopy = new MemoryStream(responseBodyBytes)) using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null)) { if (errorResponse.Code != null && errorResponse.Code.Equals("BadRequestException")) { return BadRequestExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("GatewayTimeoutException")) { return GatewayTimeoutExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("NotFoundException")) { return NotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } if (errorResponse.Code != null && errorResponse.Code.Equals("TooManyRequestsException")) { return TooManyRequestsExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse); } } return new AmazonAmplifyBackendException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode); } private static UpdateBackendStorageResponseUnmarshaller _instance = new UpdateBackendStorageResponseUnmarshaller(); internal static UpdateBackendStorageResponseUnmarshaller GetInstance() { return _instance; } /// <summary> /// Gets the singleton. /// </summary> public static UpdateBackendStorageResponseUnmarshaller Instance { get { return _instance; } } } }
140
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Text; namespace Amazon.AmplifyBackend.Model { /// <summary> /// Paginators for the AmplifyBackend service ///</summary> public class AmplifyBackendPaginatorFactory : IAmplifyBackendPaginatorFactory { private readonly IAmazonAmplifyBackend client; internal AmplifyBackendPaginatorFactory(IAmazonAmplifyBackend client) { this.client = client; } /// <summary> /// Paginator for ListBackendJobs operation ///</summary> public IListBackendJobsPaginator ListBackendJobs(ListBackendJobsRequest request) { return new ListBackendJobsPaginator(this.client, request); } } }
46
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model. */ namespace Amazon.AmplifyBackend.Model { /// <summary> /// Paginators for the AmplifyBackend service ///</summary> public interface IAmplifyBackendPaginatorFactory { /// <summary> /// Paginator for ListBackendJobs operation ///</summary> IListBackendJobsPaginator ListBackendJobs(ListBackendJobsRequest request); } }
33
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AmplifyBackend.Model { /// <summary> /// Paginator for the ListBackendJobs operation ///</summary> public interface IListBackendJobsPaginator { /// <summary> /// Enumerable containing all full responses for the operation /// </summary> IPaginatedEnumerable<ListBackendJobsResponse> Responses { get; } /// <summary> /// Enumerable containing all of the Jobs /// </summary> IPaginatedEnumerable<BackendJobRespObj> Jobs { 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 amplifybackend-2020-08-11.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.AmplifyBackend.Model { /// <summary> /// Base class for ListBackendJobs paginators. /// </summary> internal sealed partial class ListBackendJobsPaginator : IPaginator<ListBackendJobsResponse>, IListBackendJobsPaginator { private readonly IAmazonAmplifyBackend _client; private readonly ListBackendJobsRequest _request; private int _isPaginatorInUse = 0; /// <summary> /// Enumerable containing all full responses for the operation /// </summary> public IPaginatedEnumerable<ListBackendJobsResponse> Responses => new PaginatedResponse<ListBackendJobsResponse>(this); /// <summary> /// Enumerable containing all of the Jobs /// </summary> public IPaginatedEnumerable<BackendJobRespObj> Jobs => new PaginatedResultKeyResponse<ListBackendJobsResponse, BackendJobRespObj>(this, (i) => i.Jobs); internal ListBackendJobsPaginator(IAmazonAmplifyBackend client, ListBackendJobsRequest request) { this._client = client; this._request = request; } #if BCL IEnumerable<ListBackendJobsResponse> IPaginator<ListBackendJobsResponse>.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; ListBackendJobsResponse response; do { _request.NextToken = nextToken; response = _client.ListBackendJobs(_request); nextToken = response.NextToken; yield return response; } while (!string.IsNullOrEmpty(nextToken)); } #endif #if AWS_ASYNC_ENUMERABLES_API async IAsyncEnumerable<ListBackendJobsResponse> IPaginator<ListBackendJobsResponse>.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; ListBackendJobsResponse response; do { _request.NextToken = nextToken; response = await _client.ListBackendJobsAsync(_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 amplifybackend-2020-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.AmplifyBackend.Model; using Amazon.AmplifyBackend.Model.Internal.MarshallTransformations; using Amazon.AmplifyBackend.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AmplifyBackend { /// <summary> /// Implementation for accessing AmplifyBackend /// /// AWS Amplify Admin API /// </summary> public partial class AmazonAmplifyBackendClient : AmazonServiceClient, IAmazonAmplifyBackend { private static IServiceMetadata serviceMetadata = new AmazonAmplifyBackendMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IAmplifyBackendPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAmplifyBackendPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AmplifyBackendPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(AmazonAmplifyBackendConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAmplifyBackendClient(AWSCredentials credentials) : this(credentials, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAmplifyBackendClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials and an /// AmazonAmplifyBackendClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(AWSCredentials credentials, AmazonAmplifyBackendConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyBackendClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyBackendConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyBackendConfig 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 AmazonAmplifyBackendEndpointResolver()); } /// <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 CloneBackend /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> public virtual CloneBackendResponse CloneBackend(CloneBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CloneBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance; return Invoke<CloneBackendResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CloneBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CloneBackend operation on AmazonAmplifyBackendClient.</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 EndCloneBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> public virtual IAsyncResult BeginCloneBackend(CloneBackendRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CloneBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CloneBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCloneBackend.</param> /// /// <returns>Returns a CloneBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> public virtual CloneBackendResponse EndCloneBackend(IAsyncResult asyncResult) { return EndInvoke<CloneBackendResponse>(asyncResult); } #endregion #region CreateBackend /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> public virtual CreateBackendResponse CreateBackend(CreateBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance; return Invoke<CreateBackendResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackend operation on AmazonAmplifyBackendClient.</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 EndCreateBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> public virtual IAsyncResult BeginCreateBackend(CreateBackendRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackend.</param> /// /// <returns>Returns a CreateBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> public virtual CreateBackendResponse EndCreateBackend(IAsyncResult asyncResult) { return EndInvoke<CreateBackendResponse>(asyncResult); } #endregion #region CreateBackendAPI /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> public virtual CreateBackendAPIResponse CreateBackendAPI(CreateBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance; return Invoke<CreateBackendAPIResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI operation on AmazonAmplifyBackendClient.</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 EndCreateBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> public virtual IAsyncResult BeginCreateBackendAPI(CreateBackendAPIRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendAPI.</param> /// /// <returns>Returns a CreateBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> public virtual CreateBackendAPIResponse EndCreateBackendAPI(IAsyncResult asyncResult) { return EndInvoke<CreateBackendAPIResponse>(asyncResult); } #endregion #region CreateBackendAuth /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> public virtual CreateBackendAuthResponse CreateBackendAuth(CreateBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance; return Invoke<CreateBackendAuthResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth operation on AmazonAmplifyBackendClient.</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 EndCreateBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> public virtual IAsyncResult BeginCreateBackendAuth(CreateBackendAuthRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendAuth.</param> /// /// <returns>Returns a CreateBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> public virtual CreateBackendAuthResponse EndCreateBackendAuth(IAsyncResult asyncResult) { return EndInvoke<CreateBackendAuthResponse>(asyncResult); } #endregion #region CreateBackendConfig /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> public virtual CreateBackendConfigResponse CreateBackendConfig(CreateBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance; return Invoke<CreateBackendConfigResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateBackendConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig operation on AmazonAmplifyBackendClient.</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 EndCreateBackendConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> public virtual IAsyncResult BeginCreateBackendConfig(CreateBackendConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateBackendConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendConfig.</param> /// /// <returns>Returns a CreateBackendConfigResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> public virtual CreateBackendConfigResponse EndCreateBackendConfig(IAsyncResult asyncResult) { return EndInvoke<CreateBackendConfigResponse>(asyncResult); } #endregion #region CreateBackendStorage /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> public virtual CreateBackendStorageResponse CreateBackendStorage(CreateBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance; return Invoke<CreateBackendStorageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage operation on AmazonAmplifyBackendClient.</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 EndCreateBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> public virtual IAsyncResult BeginCreateBackendStorage(CreateBackendStorageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendStorage.</param> /// /// <returns>Returns a CreateBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> public virtual CreateBackendStorageResponse EndCreateBackendStorage(IAsyncResult asyncResult) { return EndInvoke<CreateBackendStorageResponse>(asyncResult); } #endregion #region CreateToken /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> public virtual CreateTokenResponse CreateToken(CreateTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance; return Invoke<CreateTokenResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the CreateToken operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateToken operation on AmazonAmplifyBackendClient.</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 EndCreateToken /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> public virtual IAsyncResult BeginCreateToken(CreateTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the CreateToken operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateToken.</param> /// /// <returns>Returns a CreateTokenResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> public virtual CreateTokenResponse EndCreateToken(IAsyncResult asyncResult) { return EndInvoke<CreateTokenResponse>(asyncResult); } #endregion #region DeleteBackend /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> public virtual DeleteBackendResponse DeleteBackend(DeleteBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance; return Invoke<DeleteBackendResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackend operation on AmazonAmplifyBackendClient.</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 EndDeleteBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> public virtual IAsyncResult BeginDeleteBackend(DeleteBackendRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackend.</param> /// /// <returns>Returns a DeleteBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> public virtual DeleteBackendResponse EndDeleteBackend(IAsyncResult asyncResult) { return EndInvoke<DeleteBackendResponse>(asyncResult); } #endregion #region DeleteBackendAPI /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> public virtual DeleteBackendAPIResponse DeleteBackendAPI(DeleteBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance; return Invoke<DeleteBackendAPIResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI operation on AmazonAmplifyBackendClient.</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 EndDeleteBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> public virtual IAsyncResult BeginDeleteBackendAPI(DeleteBackendAPIRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendAPI.</param> /// /// <returns>Returns a DeleteBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> public virtual DeleteBackendAPIResponse EndDeleteBackendAPI(IAsyncResult asyncResult) { return EndInvoke<DeleteBackendAPIResponse>(asyncResult); } #endregion #region DeleteBackendAuth /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> public virtual DeleteBackendAuthResponse DeleteBackendAuth(DeleteBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance; return Invoke<DeleteBackendAuthResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth operation on AmazonAmplifyBackendClient.</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 EndDeleteBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> public virtual IAsyncResult BeginDeleteBackendAuth(DeleteBackendAuthRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendAuth.</param> /// /// <returns>Returns a DeleteBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> public virtual DeleteBackendAuthResponse EndDeleteBackendAuth(IAsyncResult asyncResult) { return EndInvoke<DeleteBackendAuthResponse>(asyncResult); } #endregion #region DeleteBackendStorage /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> public virtual DeleteBackendStorageResponse DeleteBackendStorage(DeleteBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance; return Invoke<DeleteBackendStorageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage operation on AmazonAmplifyBackendClient.</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 EndDeleteBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> public virtual IAsyncResult BeginDeleteBackendStorage(DeleteBackendStorageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendStorage.</param> /// /// <returns>Returns a DeleteBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> public virtual DeleteBackendStorageResponse EndDeleteBackendStorage(IAsyncResult asyncResult) { return EndInvoke<DeleteBackendStorageResponse>(asyncResult); } #endregion #region DeleteToken /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> public virtual DeleteTokenResponse DeleteToken(DeleteTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance; return Invoke<DeleteTokenResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the DeleteToken operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteToken operation on AmazonAmplifyBackendClient.</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 EndDeleteToken /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> public virtual IAsyncResult BeginDeleteToken(DeleteTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the DeleteToken operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteToken.</param> /// /// <returns>Returns a DeleteTokenResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> public virtual DeleteTokenResponse EndDeleteToken(IAsyncResult asyncResult) { return EndInvoke<DeleteTokenResponse>(asyncResult); } #endregion #region GenerateBackendAPIModels /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> public virtual GenerateBackendAPIModelsResponse GenerateBackendAPIModels(GenerateBackendAPIModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance; return Invoke<GenerateBackendAPIModelsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GenerateBackendAPIModels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels operation on AmazonAmplifyBackendClient.</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 EndGenerateBackendAPIModels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> public virtual IAsyncResult BeginGenerateBackendAPIModels(GenerateBackendAPIModelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GenerateBackendAPIModels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGenerateBackendAPIModels.</param> /// /// <returns>Returns a GenerateBackendAPIModelsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> public virtual GenerateBackendAPIModelsResponse EndGenerateBackendAPIModels(IAsyncResult asyncResult) { return EndInvoke<GenerateBackendAPIModelsResponse>(asyncResult); } #endregion #region GetBackend /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> public virtual GetBackendResponse GetBackend(GetBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance; return Invoke<GetBackendResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackend operation on AmazonAmplifyBackendClient.</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 EndGetBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> public virtual IAsyncResult BeginGetBackend(GetBackendRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackend.</param> /// /// <returns>Returns a GetBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> public virtual GetBackendResponse EndGetBackend(IAsyncResult asyncResult) { return EndInvoke<GetBackendResponse>(asyncResult); } #endregion #region GetBackendAPI /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> public virtual GetBackendAPIResponse GetBackendAPI(GetBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance; return Invoke<GetBackendAPIResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI operation on AmazonAmplifyBackendClient.</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 EndGetBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> public virtual IAsyncResult BeginGetBackendAPI(GetBackendAPIRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendAPI.</param> /// /// <returns>Returns a GetBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> public virtual GetBackendAPIResponse EndGetBackendAPI(IAsyncResult asyncResult) { return EndInvoke<GetBackendAPIResponse>(asyncResult); } #endregion #region GetBackendAPIModels /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> public virtual GetBackendAPIModelsResponse GetBackendAPIModels(GetBackendAPIModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance; return Invoke<GetBackendAPIModelsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBackendAPIModels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels operation on AmazonAmplifyBackendClient.</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 EndGetBackendAPIModels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> public virtual IAsyncResult BeginGetBackendAPIModels(GetBackendAPIModelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBackendAPIModels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendAPIModels.</param> /// /// <returns>Returns a GetBackendAPIModelsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> public virtual GetBackendAPIModelsResponse EndGetBackendAPIModels(IAsyncResult asyncResult) { return EndInvoke<GetBackendAPIModelsResponse>(asyncResult); } #endregion #region GetBackendAuth /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> public virtual GetBackendAuthResponse GetBackendAuth(GetBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance; return Invoke<GetBackendAuthResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth operation on AmazonAmplifyBackendClient.</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 EndGetBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> public virtual IAsyncResult BeginGetBackendAuth(GetBackendAuthRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendAuth.</param> /// /// <returns>Returns a GetBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> public virtual GetBackendAuthResponse EndGetBackendAuth(IAsyncResult asyncResult) { return EndInvoke<GetBackendAuthResponse>(asyncResult); } #endregion #region GetBackendJob /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> public virtual GetBackendJobResponse GetBackendJob(GetBackendJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance; return Invoke<GetBackendJobResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBackendJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendJob operation on AmazonAmplifyBackendClient.</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 EndGetBackendJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> public virtual IAsyncResult BeginGetBackendJob(GetBackendJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBackendJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendJob.</param> /// /// <returns>Returns a GetBackendJobResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> public virtual GetBackendJobResponse EndGetBackendJob(IAsyncResult asyncResult) { return EndInvoke<GetBackendJobResponse>(asyncResult); } #endregion #region GetBackendStorage /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> public virtual GetBackendStorageResponse GetBackendStorage(GetBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance; return Invoke<GetBackendStorageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage operation on AmazonAmplifyBackendClient.</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 EndGetBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> public virtual IAsyncResult BeginGetBackendStorage(GetBackendStorageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendStorage.</param> /// /// <returns>Returns a GetBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> public virtual GetBackendStorageResponse EndGetBackendStorage(IAsyncResult asyncResult) { return EndInvoke<GetBackendStorageResponse>(asyncResult); } #endregion #region GetToken /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> public virtual GetTokenResponse GetToken(GetTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance; return Invoke<GetTokenResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the GetToken operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetToken operation on AmazonAmplifyBackendClient.</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 EndGetToken /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> public virtual IAsyncResult BeginGetToken(GetTokenRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the GetToken operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetToken.</param> /// /// <returns>Returns a GetTokenResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> public virtual GetTokenResponse EndGetToken(IAsyncResult asyncResult) { return EndInvoke<GetTokenResponse>(asyncResult); } #endregion #region ImportBackendAuth /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> public virtual ImportBackendAuthResponse ImportBackendAuth(ImportBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance; return Invoke<ImportBackendAuthResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ImportBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth operation on AmazonAmplifyBackendClient.</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 EndImportBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> public virtual IAsyncResult BeginImportBackendAuth(ImportBackendAuthRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ImportBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportBackendAuth.</param> /// /// <returns>Returns a ImportBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> public virtual ImportBackendAuthResponse EndImportBackendAuth(IAsyncResult asyncResult) { return EndInvoke<ImportBackendAuthResponse>(asyncResult); } #endregion #region ImportBackendStorage /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> public virtual ImportBackendStorageResponse ImportBackendStorage(ImportBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance; return Invoke<ImportBackendStorageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ImportBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage operation on AmazonAmplifyBackendClient.</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 EndImportBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> public virtual IAsyncResult BeginImportBackendStorage(ImportBackendStorageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ImportBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportBackendStorage.</param> /// /// <returns>Returns a ImportBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> public virtual ImportBackendStorageResponse EndImportBackendStorage(IAsyncResult asyncResult) { return EndInvoke<ImportBackendStorageResponse>(asyncResult); } #endregion #region ListBackendJobs /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> public virtual ListBackendJobsResponse ListBackendJobs(ListBackendJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance; return Invoke<ListBackendJobsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListBackendJobs operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs operation on AmazonAmplifyBackendClient.</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 EndListBackendJobs /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> public virtual IAsyncResult BeginListBackendJobs(ListBackendJobsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListBackendJobs operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListBackendJobs.</param> /// /// <returns>Returns a ListBackendJobsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> public virtual ListBackendJobsResponse EndListBackendJobs(IAsyncResult asyncResult) { return EndInvoke<ListBackendJobsResponse>(asyncResult); } #endregion #region ListS3Buckets /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> public virtual ListS3BucketsResponse ListS3Buckets(ListS3BucketsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance; return Invoke<ListS3BucketsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the ListS3Buckets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets operation on AmazonAmplifyBackendClient.</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 EndListS3Buckets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> public virtual IAsyncResult BeginListS3Buckets(ListS3BucketsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the ListS3Buckets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListS3Buckets.</param> /// /// <returns>Returns a ListS3BucketsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> public virtual ListS3BucketsResponse EndListS3Buckets(IAsyncResult asyncResult) { return EndInvoke<ListS3BucketsResponse>(asyncResult); } #endregion #region RemoveAllBackends /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> public virtual RemoveAllBackendsResponse RemoveAllBackends(RemoveAllBackendsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance; return Invoke<RemoveAllBackendsResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the RemoveAllBackends operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends operation on AmazonAmplifyBackendClient.</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 EndRemoveAllBackends /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> public virtual IAsyncResult BeginRemoveAllBackends(RemoveAllBackendsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the RemoveAllBackends operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRemoveAllBackends.</param> /// /// <returns>Returns a RemoveAllBackendsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> public virtual RemoveAllBackendsResponse EndRemoveAllBackends(IAsyncResult asyncResult) { return EndInvoke<RemoveAllBackendsResponse>(asyncResult); } #endregion #region RemoveBackendConfig /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> public virtual RemoveBackendConfigResponse RemoveBackendConfig(RemoveBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance; return Invoke<RemoveBackendConfigResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the RemoveBackendConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig operation on AmazonAmplifyBackendClient.</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 EndRemoveBackendConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> public virtual IAsyncResult BeginRemoveBackendConfig(RemoveBackendConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the RemoveBackendConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRemoveBackendConfig.</param> /// /// <returns>Returns a RemoveBackendConfigResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> public virtual RemoveBackendConfigResponse EndRemoveBackendConfig(IAsyncResult asyncResult) { return EndInvoke<RemoveBackendConfigResponse>(asyncResult); } #endregion #region UpdateBackendAPI /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> public virtual UpdateBackendAPIResponse UpdateBackendAPI(UpdateBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance; return Invoke<UpdateBackendAPIResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> public virtual IAsyncResult BeginUpdateBackendAPI(UpdateBackendAPIRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendAPI.</param> /// /// <returns>Returns a UpdateBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> public virtual UpdateBackendAPIResponse EndUpdateBackendAPI(IAsyncResult asyncResult) { return EndInvoke<UpdateBackendAPIResponse>(asyncResult); } #endregion #region UpdateBackendAuth /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> public virtual UpdateBackendAuthResponse UpdateBackendAuth(UpdateBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance; return Invoke<UpdateBackendAuthResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> public virtual IAsyncResult BeginUpdateBackendAuth(UpdateBackendAuthRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendAuth.</param> /// /// <returns>Returns a UpdateBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> public virtual UpdateBackendAuthResponse EndUpdateBackendAuth(IAsyncResult asyncResult) { return EndInvoke<UpdateBackendAuthResponse>(asyncResult); } #endregion #region UpdateBackendConfig /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> public virtual UpdateBackendConfigResponse UpdateBackendConfig(UpdateBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance; return Invoke<UpdateBackendConfigResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateBackendConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> public virtual IAsyncResult BeginUpdateBackendConfig(UpdateBackendConfigRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateBackendConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendConfig.</param> /// /// <returns>Returns a UpdateBackendConfigResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> public virtual UpdateBackendConfigResponse EndUpdateBackendConfig(IAsyncResult asyncResult) { return EndInvoke<UpdateBackendConfigResponse>(asyncResult); } #endregion #region UpdateBackendJob /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> public virtual UpdateBackendJobResponse UpdateBackendJob(UpdateBackendJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance; return Invoke<UpdateBackendJobResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateBackendJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> public virtual IAsyncResult BeginUpdateBackendJob(UpdateBackendJobRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateBackendJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendJob.</param> /// /// <returns>Returns a UpdateBackendJobResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> public virtual UpdateBackendJobResponse EndUpdateBackendJob(IAsyncResult asyncResult) { return EndInvoke<UpdateBackendJobResponse>(asyncResult); } #endregion #region UpdateBackendStorage /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> public virtual UpdateBackendStorageResponse UpdateBackendStorage(UpdateBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance; return Invoke<UpdateBackendStorageResponse>(request, options); } /// <summary> /// Initiates the asynchronous execution of the UpdateBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> public virtual IAsyncResult BeginUpdateBackendStorage(UpdateBackendStorageRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// <summary> /// Finishes the asynchronous execution of the UpdateBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendStorage.</param> /// /// <returns>Returns a UpdateBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> public virtual UpdateBackendStorageResponse EndUpdateBackendStorage(IAsyncResult asyncResult) { return EndInvoke<UpdateBackendStorageResponse>(asyncResult); } #endregion } }
2,316
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AmplifyBackend.Model; namespace Amazon.AmplifyBackend { /// <summary> /// Interface for accessing AmplifyBackend /// /// AWS Amplify Admin API /// </summary> public partial interface IAmazonAmplifyBackend : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAmplifyBackendPaginatorFactory Paginators { get; } #endif #region CloneBackend /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> CloneBackendResponse CloneBackend(CloneBackendRequest request); /// <summary> /// Initiates the asynchronous execution of the CloneBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CloneBackend operation on AmazonAmplifyBackendClient.</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 EndCloneBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> IAsyncResult BeginCloneBackend(CloneBackendRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CloneBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCloneBackend.</param> /// /// <returns>Returns a CloneBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> CloneBackendResponse EndCloneBackend(IAsyncResult asyncResult); #endregion #region CreateBackend /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> CreateBackendResponse CreateBackend(CreateBackendRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackend operation on AmazonAmplifyBackendClient.</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 EndCreateBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> IAsyncResult BeginCreateBackend(CreateBackendRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackend.</param> /// /// <returns>Returns a CreateBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> CreateBackendResponse EndCreateBackend(IAsyncResult asyncResult); #endregion #region CreateBackendAPI /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> CreateBackendAPIResponse CreateBackendAPI(CreateBackendAPIRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI operation on AmazonAmplifyBackendClient.</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 EndCreateBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> IAsyncResult BeginCreateBackendAPI(CreateBackendAPIRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendAPI.</param> /// /// <returns>Returns a CreateBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> CreateBackendAPIResponse EndCreateBackendAPI(IAsyncResult asyncResult); #endregion #region CreateBackendAuth /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> CreateBackendAuthResponse CreateBackendAuth(CreateBackendAuthRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth operation on AmazonAmplifyBackendClient.</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 EndCreateBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> IAsyncResult BeginCreateBackendAuth(CreateBackendAuthRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendAuth.</param> /// /// <returns>Returns a CreateBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> CreateBackendAuthResponse EndCreateBackendAuth(IAsyncResult asyncResult); #endregion #region CreateBackendConfig /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> CreateBackendConfigResponse CreateBackendConfig(CreateBackendConfigRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateBackendConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig operation on AmazonAmplifyBackendClient.</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 EndCreateBackendConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> IAsyncResult BeginCreateBackendConfig(CreateBackendConfigRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateBackendConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendConfig.</param> /// /// <returns>Returns a CreateBackendConfigResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> CreateBackendConfigResponse EndCreateBackendConfig(IAsyncResult asyncResult); #endregion #region CreateBackendStorage /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> CreateBackendStorageResponse CreateBackendStorage(CreateBackendStorageRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage operation on AmazonAmplifyBackendClient.</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 EndCreateBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> IAsyncResult BeginCreateBackendStorage(CreateBackendStorageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateBackendStorage.</param> /// /// <returns>Returns a CreateBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> CreateBackendStorageResponse EndCreateBackendStorage(IAsyncResult asyncResult); #endregion #region CreateToken /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> CreateTokenResponse CreateToken(CreateTokenRequest request); /// <summary> /// Initiates the asynchronous execution of the CreateToken operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the CreateToken operation on AmazonAmplifyBackendClient.</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 EndCreateToken /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> IAsyncResult BeginCreateToken(CreateTokenRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the CreateToken operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateToken.</param> /// /// <returns>Returns a CreateTokenResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> CreateTokenResponse EndCreateToken(IAsyncResult asyncResult); #endregion #region DeleteBackend /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> DeleteBackendResponse DeleteBackend(DeleteBackendRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackend operation on AmazonAmplifyBackendClient.</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 EndDeleteBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> IAsyncResult BeginDeleteBackend(DeleteBackendRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackend.</param> /// /// <returns>Returns a DeleteBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> DeleteBackendResponse EndDeleteBackend(IAsyncResult asyncResult); #endregion #region DeleteBackendAPI /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> DeleteBackendAPIResponse DeleteBackendAPI(DeleteBackendAPIRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI operation on AmazonAmplifyBackendClient.</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 EndDeleteBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> IAsyncResult BeginDeleteBackendAPI(DeleteBackendAPIRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendAPI.</param> /// /// <returns>Returns a DeleteBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> DeleteBackendAPIResponse EndDeleteBackendAPI(IAsyncResult asyncResult); #endregion #region DeleteBackendAuth /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> DeleteBackendAuthResponse DeleteBackendAuth(DeleteBackendAuthRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth operation on AmazonAmplifyBackendClient.</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 EndDeleteBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> IAsyncResult BeginDeleteBackendAuth(DeleteBackendAuthRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendAuth.</param> /// /// <returns>Returns a DeleteBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> DeleteBackendAuthResponse EndDeleteBackendAuth(IAsyncResult asyncResult); #endregion #region DeleteBackendStorage /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> DeleteBackendStorageResponse DeleteBackendStorage(DeleteBackendStorageRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage operation on AmazonAmplifyBackendClient.</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 EndDeleteBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> IAsyncResult BeginDeleteBackendStorage(DeleteBackendStorageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteBackendStorage.</param> /// /// <returns>Returns a DeleteBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> DeleteBackendStorageResponse EndDeleteBackendStorage(IAsyncResult asyncResult); #endregion #region DeleteToken /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> DeleteTokenResponse DeleteToken(DeleteTokenRequest request); /// <summary> /// Initiates the asynchronous execution of the DeleteToken operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the DeleteToken operation on AmazonAmplifyBackendClient.</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 EndDeleteToken /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> IAsyncResult BeginDeleteToken(DeleteTokenRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the DeleteToken operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteToken.</param> /// /// <returns>Returns a DeleteTokenResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> DeleteTokenResponse EndDeleteToken(IAsyncResult asyncResult); #endregion #region GenerateBackendAPIModels /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> GenerateBackendAPIModelsResponse GenerateBackendAPIModels(GenerateBackendAPIModelsRequest request); /// <summary> /// Initiates the asynchronous execution of the GenerateBackendAPIModels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels operation on AmazonAmplifyBackendClient.</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 EndGenerateBackendAPIModels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> IAsyncResult BeginGenerateBackendAPIModels(GenerateBackendAPIModelsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GenerateBackendAPIModels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGenerateBackendAPIModels.</param> /// /// <returns>Returns a GenerateBackendAPIModelsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> GenerateBackendAPIModelsResponse EndGenerateBackendAPIModels(IAsyncResult asyncResult); #endregion #region GetBackend /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> GetBackendResponse GetBackend(GetBackendRequest request); /// <summary> /// Initiates the asynchronous execution of the GetBackend operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackend operation on AmazonAmplifyBackendClient.</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 EndGetBackend /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> IAsyncResult BeginGetBackend(GetBackendRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetBackend operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackend.</param> /// /// <returns>Returns a GetBackendResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> GetBackendResponse EndGetBackend(IAsyncResult asyncResult); #endregion #region GetBackendAPI /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> GetBackendAPIResponse GetBackendAPI(GetBackendAPIRequest request); /// <summary> /// Initiates the asynchronous execution of the GetBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI operation on AmazonAmplifyBackendClient.</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 EndGetBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> IAsyncResult BeginGetBackendAPI(GetBackendAPIRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendAPI.</param> /// /// <returns>Returns a GetBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> GetBackendAPIResponse EndGetBackendAPI(IAsyncResult asyncResult); #endregion #region GetBackendAPIModels /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> GetBackendAPIModelsResponse GetBackendAPIModels(GetBackendAPIModelsRequest request); /// <summary> /// Initiates the asynchronous execution of the GetBackendAPIModels operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels operation on AmazonAmplifyBackendClient.</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 EndGetBackendAPIModels /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> IAsyncResult BeginGetBackendAPIModels(GetBackendAPIModelsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetBackendAPIModels operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendAPIModels.</param> /// /// <returns>Returns a GetBackendAPIModelsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> GetBackendAPIModelsResponse EndGetBackendAPIModels(IAsyncResult asyncResult); #endregion #region GetBackendAuth /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> GetBackendAuthResponse GetBackendAuth(GetBackendAuthRequest request); /// <summary> /// Initiates the asynchronous execution of the GetBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth operation on AmazonAmplifyBackendClient.</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 EndGetBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> IAsyncResult BeginGetBackendAuth(GetBackendAuthRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendAuth.</param> /// /// <returns>Returns a GetBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> GetBackendAuthResponse EndGetBackendAuth(IAsyncResult asyncResult); #endregion #region GetBackendJob /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> GetBackendJobResponse GetBackendJob(GetBackendJobRequest request); /// <summary> /// Initiates the asynchronous execution of the GetBackendJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendJob operation on AmazonAmplifyBackendClient.</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 EndGetBackendJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> IAsyncResult BeginGetBackendJob(GetBackendJobRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetBackendJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendJob.</param> /// /// <returns>Returns a GetBackendJobResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> GetBackendJobResponse EndGetBackendJob(IAsyncResult asyncResult); #endregion #region GetBackendStorage /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> GetBackendStorageResponse GetBackendStorage(GetBackendStorageRequest request); /// <summary> /// Initiates the asynchronous execution of the GetBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage operation on AmazonAmplifyBackendClient.</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 EndGetBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> IAsyncResult BeginGetBackendStorage(GetBackendStorageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetBackendStorage.</param> /// /// <returns>Returns a GetBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> GetBackendStorageResponse EndGetBackendStorage(IAsyncResult asyncResult); #endregion #region GetToken /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> GetTokenResponse GetToken(GetTokenRequest request); /// <summary> /// Initiates the asynchronous execution of the GetToken operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the GetToken operation on AmazonAmplifyBackendClient.</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 EndGetToken /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> IAsyncResult BeginGetToken(GetTokenRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the GetToken operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetToken.</param> /// /// <returns>Returns a GetTokenResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> GetTokenResponse EndGetToken(IAsyncResult asyncResult); #endregion #region ImportBackendAuth /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> ImportBackendAuthResponse ImportBackendAuth(ImportBackendAuthRequest request); /// <summary> /// Initiates the asynchronous execution of the ImportBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth operation on AmazonAmplifyBackendClient.</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 EndImportBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> IAsyncResult BeginImportBackendAuth(ImportBackendAuthRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ImportBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportBackendAuth.</param> /// /// <returns>Returns a ImportBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> ImportBackendAuthResponse EndImportBackendAuth(IAsyncResult asyncResult); #endregion #region ImportBackendStorage /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> ImportBackendStorageResponse ImportBackendStorage(ImportBackendStorageRequest request); /// <summary> /// Initiates the asynchronous execution of the ImportBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage operation on AmazonAmplifyBackendClient.</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 EndImportBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> IAsyncResult BeginImportBackendStorage(ImportBackendStorageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ImportBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginImportBackendStorage.</param> /// /// <returns>Returns a ImportBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> ImportBackendStorageResponse EndImportBackendStorage(IAsyncResult asyncResult); #endregion #region ListBackendJobs /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> ListBackendJobsResponse ListBackendJobs(ListBackendJobsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListBackendJobs operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs operation on AmazonAmplifyBackendClient.</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 EndListBackendJobs /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> IAsyncResult BeginListBackendJobs(ListBackendJobsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListBackendJobs operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListBackendJobs.</param> /// /// <returns>Returns a ListBackendJobsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> ListBackendJobsResponse EndListBackendJobs(IAsyncResult asyncResult); #endregion #region ListS3Buckets /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> ListS3BucketsResponse ListS3Buckets(ListS3BucketsRequest request); /// <summary> /// Initiates the asynchronous execution of the ListS3Buckets operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets operation on AmazonAmplifyBackendClient.</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 EndListS3Buckets /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> IAsyncResult BeginListS3Buckets(ListS3BucketsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the ListS3Buckets operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginListS3Buckets.</param> /// /// <returns>Returns a ListS3BucketsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> ListS3BucketsResponse EndListS3Buckets(IAsyncResult asyncResult); #endregion #region RemoveAllBackends /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> RemoveAllBackendsResponse RemoveAllBackends(RemoveAllBackendsRequest request); /// <summary> /// Initiates the asynchronous execution of the RemoveAllBackends operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends operation on AmazonAmplifyBackendClient.</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 EndRemoveAllBackends /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> IAsyncResult BeginRemoveAllBackends(RemoveAllBackendsRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the RemoveAllBackends operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRemoveAllBackends.</param> /// /// <returns>Returns a RemoveAllBackendsResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> RemoveAllBackendsResponse EndRemoveAllBackends(IAsyncResult asyncResult); #endregion #region RemoveBackendConfig /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> RemoveBackendConfigResponse RemoveBackendConfig(RemoveBackendConfigRequest request); /// <summary> /// Initiates the asynchronous execution of the RemoveBackendConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig operation on AmazonAmplifyBackendClient.</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 EndRemoveBackendConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> IAsyncResult BeginRemoveBackendConfig(RemoveBackendConfigRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the RemoveBackendConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginRemoveBackendConfig.</param> /// /// <returns>Returns a RemoveBackendConfigResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> RemoveBackendConfigResponse EndRemoveBackendConfig(IAsyncResult asyncResult); #endregion #region UpdateBackendAPI /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> UpdateBackendAPIResponse UpdateBackendAPI(UpdateBackendAPIRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateBackendAPI operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendAPI /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> IAsyncResult BeginUpdateBackendAPI(UpdateBackendAPIRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateBackendAPI operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendAPI.</param> /// /// <returns>Returns a UpdateBackendAPIResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> UpdateBackendAPIResponse EndUpdateBackendAPI(IAsyncResult asyncResult); #endregion #region UpdateBackendAuth /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> UpdateBackendAuthResponse UpdateBackendAuth(UpdateBackendAuthRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateBackendAuth operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendAuth /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> IAsyncResult BeginUpdateBackendAuth(UpdateBackendAuthRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateBackendAuth operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendAuth.</param> /// /// <returns>Returns a UpdateBackendAuthResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> UpdateBackendAuthResponse EndUpdateBackendAuth(IAsyncResult asyncResult); #endregion #region UpdateBackendConfig /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> UpdateBackendConfigResponse UpdateBackendConfig(UpdateBackendConfigRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateBackendConfig operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendConfig /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> IAsyncResult BeginUpdateBackendConfig(UpdateBackendConfigRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateBackendConfig operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendConfig.</param> /// /// <returns>Returns a UpdateBackendConfigResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> UpdateBackendConfigResponse EndUpdateBackendConfig(IAsyncResult asyncResult); #endregion #region UpdateBackendJob /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> UpdateBackendJobResponse UpdateBackendJob(UpdateBackendJobRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateBackendJob operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendJob /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> IAsyncResult BeginUpdateBackendJob(UpdateBackendJobRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateBackendJob operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendJob.</param> /// /// <returns>Returns a UpdateBackendJobResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> UpdateBackendJobResponse EndUpdateBackendJob(IAsyncResult asyncResult); #endregion #region UpdateBackendStorage /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> UpdateBackendStorageResponse UpdateBackendStorage(UpdateBackendStorageRequest request); /// <summary> /// Initiates the asynchronous execution of the UpdateBackendStorage operation. /// </summary> /// /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage operation on AmazonAmplifyBackendClient.</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 EndUpdateBackendStorage /// operation.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> IAsyncResult BeginUpdateBackendStorage(UpdateBackendStorageRequest request, AsyncCallback callback, object state); /// <summary> /// Finishes the asynchronous execution of the UpdateBackendStorage operation. /// </summary> /// /// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateBackendStorage.</param> /// /// <returns>Returns a UpdateBackendStorageResult from AmplifyBackend.</returns> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> UpdateBackendStorageResponse EndUpdateBackendStorage(IAsyncResult asyncResult); #endregion } }
1,662
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.AmplifyBackend.Model.Internal.MarshallTransformations; using Amazon.AmplifyBackend.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AmplifyBackend { /// <summary> /// Implementation for accessing AmplifyBackend /// /// AWS Amplify Admin API /// </summary> public partial class AmazonAmplifyBackendClient : AmazonServiceClient, IAmazonAmplifyBackend { private static IServiceMetadata serviceMetadata = new AmazonAmplifyBackendMetadata(); private IAmplifyBackendPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAmplifyBackendPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AmplifyBackendPaginatorFactory(this); } return this._paginators; } } #region Constructors /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(AmazonAmplifyBackendConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAmplifyBackendClient(AWSCredentials credentials) : this(credentials, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAmplifyBackendClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials and an /// AmazonAmplifyBackendClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(AWSCredentials credentials, AmazonAmplifyBackendConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyBackendClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyBackendConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyBackendConfig 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 AmazonAmplifyBackendEndpointResolver()); } /// <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 CloneBackend /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> public virtual CloneBackendResponse CloneBackend(CloneBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CloneBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance; return Invoke<CloneBackendResponse>(request, options); } /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> public virtual Task<CloneBackendResponse> CloneBackendAsync(CloneBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CloneBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance; return InvokeAsync<CloneBackendResponse>(request, options, cancellationToken); } #endregion #region CreateBackend /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> public virtual CreateBackendResponse CreateBackend(CreateBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance; return Invoke<CreateBackendResponse>(request, options); } /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> public virtual Task<CreateBackendResponse> CreateBackendAsync(CreateBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendResponse>(request, options, cancellationToken); } #endregion #region CreateBackendAPI /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> public virtual CreateBackendAPIResponse CreateBackendAPI(CreateBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance; return Invoke<CreateBackendAPIResponse>(request, options); } /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> public virtual Task<CreateBackendAPIResponse> CreateBackendAPIAsync(CreateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendAPIResponse>(request, options, cancellationToken); } #endregion #region CreateBackendAuth /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> public virtual CreateBackendAuthResponse CreateBackendAuth(CreateBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance; return Invoke<CreateBackendAuthResponse>(request, options); } /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> public virtual Task<CreateBackendAuthResponse> CreateBackendAuthAsync(CreateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendAuthResponse>(request, options, cancellationToken); } #endregion #region CreateBackendConfig /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> public virtual CreateBackendConfigResponse CreateBackendConfig(CreateBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance; return Invoke<CreateBackendConfigResponse>(request, options); } /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> public virtual Task<CreateBackendConfigResponse> CreateBackendConfigAsync(CreateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendConfigResponse>(request, options, cancellationToken); } #endregion #region CreateBackendStorage /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> public virtual CreateBackendStorageResponse CreateBackendStorage(CreateBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance; return Invoke<CreateBackendStorageResponse>(request, options); } /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> public virtual Task<CreateBackendStorageResponse> CreateBackendStorageAsync(CreateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendStorageResponse>(request, options, cancellationToken); } #endregion #region CreateToken /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> public virtual CreateTokenResponse CreateToken(CreateTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance; return Invoke<CreateTokenResponse>(request, options); } /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> public virtual Task<CreateTokenResponse> CreateTokenAsync(CreateTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance; return InvokeAsync<CreateTokenResponse>(request, options, cancellationToken); } #endregion #region DeleteBackend /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> public virtual DeleteBackendResponse DeleteBackend(DeleteBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance; return Invoke<DeleteBackendResponse>(request, options); } /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> public virtual Task<DeleteBackendResponse> DeleteBackendAsync(DeleteBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendResponse>(request, options, cancellationToken); } #endregion #region DeleteBackendAPI /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> public virtual DeleteBackendAPIResponse DeleteBackendAPI(DeleteBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance; return Invoke<DeleteBackendAPIResponse>(request, options); } /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> public virtual Task<DeleteBackendAPIResponse> DeleteBackendAPIAsync(DeleteBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendAPIResponse>(request, options, cancellationToken); } #endregion #region DeleteBackendAuth /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> public virtual DeleteBackendAuthResponse DeleteBackendAuth(DeleteBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance; return Invoke<DeleteBackendAuthResponse>(request, options); } /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> public virtual Task<DeleteBackendAuthResponse> DeleteBackendAuthAsync(DeleteBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendAuthResponse>(request, options, cancellationToken); } #endregion #region DeleteBackendStorage /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> public virtual DeleteBackendStorageResponse DeleteBackendStorage(DeleteBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance; return Invoke<DeleteBackendStorageResponse>(request, options); } /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> public virtual Task<DeleteBackendStorageResponse> DeleteBackendStorageAsync(DeleteBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendStorageResponse>(request, options, cancellationToken); } #endregion #region DeleteToken /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> public virtual DeleteTokenResponse DeleteToken(DeleteTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance; return Invoke<DeleteTokenResponse>(request, options); } /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> public virtual Task<DeleteTokenResponse> DeleteTokenAsync(DeleteTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance; return InvokeAsync<DeleteTokenResponse>(request, options, cancellationToken); } #endregion #region GenerateBackendAPIModels /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> public virtual GenerateBackendAPIModelsResponse GenerateBackendAPIModels(GenerateBackendAPIModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance; return Invoke<GenerateBackendAPIModelsResponse>(request, options); } /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> public virtual Task<GenerateBackendAPIModelsResponse> GenerateBackendAPIModelsAsync(GenerateBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance; return InvokeAsync<GenerateBackendAPIModelsResponse>(request, options, cancellationToken); } #endregion #region GetBackend /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> public virtual GetBackendResponse GetBackend(GetBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance; return Invoke<GetBackendResponse>(request, options); } /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> public virtual Task<GetBackendResponse> GetBackendAsync(GetBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance; return InvokeAsync<GetBackendResponse>(request, options, cancellationToken); } #endregion #region GetBackendAPI /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> public virtual GetBackendAPIResponse GetBackendAPI(GetBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance; return Invoke<GetBackendAPIResponse>(request, options); } /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> public virtual Task<GetBackendAPIResponse> GetBackendAPIAsync(GetBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<GetBackendAPIResponse>(request, options, cancellationToken); } #endregion #region GetBackendAPIModels /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> public virtual GetBackendAPIModelsResponse GetBackendAPIModels(GetBackendAPIModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance; return Invoke<GetBackendAPIModelsResponse>(request, options); } /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> public virtual Task<GetBackendAPIModelsResponse> GetBackendAPIModelsAsync(GetBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance; return InvokeAsync<GetBackendAPIModelsResponse>(request, options, cancellationToken); } #endregion #region GetBackendAuth /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> public virtual GetBackendAuthResponse GetBackendAuth(GetBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance; return Invoke<GetBackendAuthResponse>(request, options); } /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> public virtual Task<GetBackendAuthResponse> GetBackendAuthAsync(GetBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<GetBackendAuthResponse>(request, options, cancellationToken); } #endregion #region GetBackendJob /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> public virtual GetBackendJobResponse GetBackendJob(GetBackendJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance; return Invoke<GetBackendJobResponse>(request, options); } /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> public virtual Task<GetBackendJobResponse> GetBackendJobAsync(GetBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance; return InvokeAsync<GetBackendJobResponse>(request, options, cancellationToken); } #endregion #region GetBackendStorage /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> public virtual GetBackendStorageResponse GetBackendStorage(GetBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance; return Invoke<GetBackendStorageResponse>(request, options); } /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> public virtual Task<GetBackendStorageResponse> GetBackendStorageAsync(GetBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<GetBackendStorageResponse>(request, options, cancellationToken); } #endregion #region GetToken /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> public virtual GetTokenResponse GetToken(GetTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance; return Invoke<GetTokenResponse>(request, options); } /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> public virtual Task<GetTokenResponse> GetTokenAsync(GetTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance; return InvokeAsync<GetTokenResponse>(request, options, cancellationToken); } #endregion #region ImportBackendAuth /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> public virtual ImportBackendAuthResponse ImportBackendAuth(ImportBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance; return Invoke<ImportBackendAuthResponse>(request, options); } /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> public virtual Task<ImportBackendAuthResponse> ImportBackendAuthAsync(ImportBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<ImportBackendAuthResponse>(request, options, cancellationToken); } #endregion #region ImportBackendStorage /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> public virtual ImportBackendStorageResponse ImportBackendStorage(ImportBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance; return Invoke<ImportBackendStorageResponse>(request, options); } /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> public virtual Task<ImportBackendStorageResponse> ImportBackendStorageAsync(ImportBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<ImportBackendStorageResponse>(request, options, cancellationToken); } #endregion #region ListBackendJobs /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> public virtual ListBackendJobsResponse ListBackendJobs(ListBackendJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance; return Invoke<ListBackendJobsResponse>(request, options); } /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> public virtual Task<ListBackendJobsResponse> ListBackendJobsAsync(ListBackendJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance; return InvokeAsync<ListBackendJobsResponse>(request, options, cancellationToken); } #endregion #region ListS3Buckets /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> public virtual ListS3BucketsResponse ListS3Buckets(ListS3BucketsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance; return Invoke<ListS3BucketsResponse>(request, options); } /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> public virtual Task<ListS3BucketsResponse> ListS3BucketsAsync(ListS3BucketsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance; return InvokeAsync<ListS3BucketsResponse>(request, options, cancellationToken); } #endregion #region RemoveAllBackends /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> public virtual RemoveAllBackendsResponse RemoveAllBackends(RemoveAllBackendsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance; return Invoke<RemoveAllBackendsResponse>(request, options); } /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> public virtual Task<RemoveAllBackendsResponse> RemoveAllBackendsAsync(RemoveAllBackendsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance; return InvokeAsync<RemoveAllBackendsResponse>(request, options, cancellationToken); } #endregion #region RemoveBackendConfig /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> public virtual RemoveBackendConfigResponse RemoveBackendConfig(RemoveBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance; return Invoke<RemoveBackendConfigResponse>(request, options); } /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> public virtual Task<RemoveBackendConfigResponse> RemoveBackendConfigAsync(RemoveBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance; return InvokeAsync<RemoveBackendConfigResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendAPI /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> public virtual UpdateBackendAPIResponse UpdateBackendAPI(UpdateBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance; return Invoke<UpdateBackendAPIResponse>(request, options); } /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> public virtual Task<UpdateBackendAPIResponse> UpdateBackendAPIAsync(UpdateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendAPIResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendAuth /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> public virtual UpdateBackendAuthResponse UpdateBackendAuth(UpdateBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance; return Invoke<UpdateBackendAuthResponse>(request, options); } /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> public virtual Task<UpdateBackendAuthResponse> UpdateBackendAuthAsync(UpdateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendAuthResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendConfig /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> public virtual UpdateBackendConfigResponse UpdateBackendConfig(UpdateBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance; return Invoke<UpdateBackendConfigResponse>(request, options); } /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> public virtual Task<UpdateBackendConfigResponse> UpdateBackendConfigAsync(UpdateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendConfigResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendJob /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> public virtual UpdateBackendJobResponse UpdateBackendJob(UpdateBackendJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance; return Invoke<UpdateBackendJobResponse>(request, options); } /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> public virtual Task<UpdateBackendJobResponse> UpdateBackendJobAsync(UpdateBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendJobResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendStorage /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> public virtual UpdateBackendStorageResponse UpdateBackendStorage(UpdateBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance; return Invoke<UpdateBackendStorageResponse>(request, options); } /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> public virtual Task<UpdateBackendStorageResponse> UpdateBackendStorageAsync(UpdateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendStorageResponse>(request, options, cancellationToken); } #endregion } }
2,286
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AmplifyBackend.Model; namespace Amazon.AmplifyBackend { /// <summary> /// Interface for accessing AmplifyBackend /// /// AWS Amplify Admin API /// </summary> public partial interface IAmazonAmplifyBackend : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> IAmplifyBackendPaginatorFactory Paginators { get; } #region CloneBackend /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> CloneBackendResponse CloneBackend(CloneBackendRequest request); /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> Task<CloneBackendResponse> CloneBackendAsync(CloneBackendRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackend /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> CreateBackendResponse CreateBackend(CreateBackendRequest request); /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> Task<CreateBackendResponse> CreateBackendAsync(CreateBackendRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendAPI /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> CreateBackendAPIResponse CreateBackendAPI(CreateBackendAPIRequest request); /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> Task<CreateBackendAPIResponse> CreateBackendAPIAsync(CreateBackendAPIRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendAuth /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> CreateBackendAuthResponse CreateBackendAuth(CreateBackendAuthRequest request); /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> Task<CreateBackendAuthResponse> CreateBackendAuthAsync(CreateBackendAuthRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendConfig /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> CreateBackendConfigResponse CreateBackendConfig(CreateBackendConfigRequest request); /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> Task<CreateBackendConfigResponse> CreateBackendConfigAsync(CreateBackendConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendStorage /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> CreateBackendStorageResponse CreateBackendStorage(CreateBackendStorageRequest request); /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> Task<CreateBackendStorageResponse> CreateBackendStorageAsync(CreateBackendStorageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateToken /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> CreateTokenResponse CreateToken(CreateTokenRequest request); /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> Task<CreateTokenResponse> CreateTokenAsync(CreateTokenRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackend /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> DeleteBackendResponse DeleteBackend(DeleteBackendRequest request); /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> Task<DeleteBackendResponse> DeleteBackendAsync(DeleteBackendRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackendAPI /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> DeleteBackendAPIResponse DeleteBackendAPI(DeleteBackendAPIRequest request); /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> Task<DeleteBackendAPIResponse> DeleteBackendAPIAsync(DeleteBackendAPIRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackendAuth /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> DeleteBackendAuthResponse DeleteBackendAuth(DeleteBackendAuthRequest request); /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> Task<DeleteBackendAuthResponse> DeleteBackendAuthAsync(DeleteBackendAuthRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackendStorage /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> DeleteBackendStorageResponse DeleteBackendStorage(DeleteBackendStorageRequest request); /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> Task<DeleteBackendStorageResponse> DeleteBackendStorageAsync(DeleteBackendStorageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteToken /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> DeleteTokenResponse DeleteToken(DeleteTokenRequest request); /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> Task<DeleteTokenResponse> DeleteTokenAsync(DeleteTokenRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GenerateBackendAPIModels /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> GenerateBackendAPIModelsResponse GenerateBackendAPIModels(GenerateBackendAPIModelsRequest request); /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> Task<GenerateBackendAPIModelsResponse> GenerateBackendAPIModelsAsync(GenerateBackendAPIModelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackend /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> GetBackendResponse GetBackend(GetBackendRequest request); /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> Task<GetBackendResponse> GetBackendAsync(GetBackendRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendAPI /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> GetBackendAPIResponse GetBackendAPI(GetBackendAPIRequest request); /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> Task<GetBackendAPIResponse> GetBackendAPIAsync(GetBackendAPIRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendAPIModels /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> GetBackendAPIModelsResponse GetBackendAPIModels(GetBackendAPIModelsRequest request); /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> Task<GetBackendAPIModelsResponse> GetBackendAPIModelsAsync(GetBackendAPIModelsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendAuth /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> GetBackendAuthResponse GetBackendAuth(GetBackendAuthRequest request); /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> Task<GetBackendAuthResponse> GetBackendAuthAsync(GetBackendAuthRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendJob /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> GetBackendJobResponse GetBackendJob(GetBackendJobRequest request); /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> Task<GetBackendJobResponse> GetBackendJobAsync(GetBackendJobRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendStorage /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> GetBackendStorageResponse GetBackendStorage(GetBackendStorageRequest request); /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> Task<GetBackendStorageResponse> GetBackendStorageAsync(GetBackendStorageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetToken /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> GetTokenResponse GetToken(GetTokenRequest request); /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> Task<GetTokenResponse> GetTokenAsync(GetTokenRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportBackendAuth /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> ImportBackendAuthResponse ImportBackendAuth(ImportBackendAuthRequest request); /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> Task<ImportBackendAuthResponse> ImportBackendAuthAsync(ImportBackendAuthRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportBackendStorage /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> ImportBackendStorageResponse ImportBackendStorage(ImportBackendStorageRequest request); /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> Task<ImportBackendStorageResponse> ImportBackendStorageAsync(ImportBackendStorageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBackendJobs /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> ListBackendJobsResponse ListBackendJobs(ListBackendJobsRequest request); /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> Task<ListBackendJobsResponse> ListBackendJobsAsync(ListBackendJobsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListS3Buckets /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> ListS3BucketsResponse ListS3Buckets(ListS3BucketsRequest request); /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> Task<ListS3BucketsResponse> ListS3BucketsAsync(ListS3BucketsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveAllBackends /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> RemoveAllBackendsResponse RemoveAllBackends(RemoveAllBackendsRequest request); /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> Task<RemoveAllBackendsResponse> RemoveAllBackendsAsync(RemoveAllBackendsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveBackendConfig /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> RemoveBackendConfigResponse RemoveBackendConfig(RemoveBackendConfigRequest request); /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> Task<RemoveBackendConfigResponse> RemoveBackendConfigAsync(RemoveBackendConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendAPI /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> UpdateBackendAPIResponse UpdateBackendAPI(UpdateBackendAPIRequest request); /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> Task<UpdateBackendAPIResponse> UpdateBackendAPIAsync(UpdateBackendAPIRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendAuth /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> UpdateBackendAuthResponse UpdateBackendAuth(UpdateBackendAuthRequest request); /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> Task<UpdateBackendAuthResponse> UpdateBackendAuthAsync(UpdateBackendAuthRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendConfig /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> UpdateBackendConfigResponse UpdateBackendConfig(UpdateBackendConfigRequest request); /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> Task<UpdateBackendConfigResponse> UpdateBackendConfigAsync(UpdateBackendConfigRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendJob /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> UpdateBackendJobResponse UpdateBackendJob(UpdateBackendJobRequest request); /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> Task<UpdateBackendJobResponse> UpdateBackendJobAsync(UpdateBackendJobRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendStorage /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> UpdateBackendStorageResponse UpdateBackendStorage(UpdateBackendStorageRequest request); /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> Task<UpdateBackendStorageResponse> UpdateBackendStorageAsync(UpdateBackendStorageRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
1,662
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.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.AmplifyBackend.Model; using Amazon.AmplifyBackend.Model.Internal.MarshallTransformations; using Amazon.AmplifyBackend.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.AmplifyBackend { /// <summary> /// Implementation for accessing AmplifyBackend /// /// AWS Amplify Admin API /// </summary> public partial class AmazonAmplifyBackendClient : AmazonServiceClient, IAmazonAmplifyBackend { private static IServiceMetadata serviceMetadata = new AmazonAmplifyBackendMetadata(); #region Constructors /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(AmazonAmplifyBackendConfig config) : base(FallbackCredentialsFactory.GetCredentials(), config) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> public AmazonAmplifyBackendClient(AWSCredentials credentials) : this(credentials, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="region">The region to connect.</param> public AmazonAmplifyBackendClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Credentials and an /// AmazonAmplifyBackendClient Configuration object. /// </summary> /// <param name="credentials">AWS Credentials</param> /// <param name="clientConfig">The AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(AWSCredentials credentials, AmazonAmplifyBackendConfig clientConfig) : base(credentials, clientConfig) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonAmplifyBackendConfig() {RegionEndpoint=region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyBackendClient Configuration object. /// </summary> /// <param name="awsAccessKeyId">AWS Access Key ID</param> /// <param name="awsSecretAccessKey">AWS Secret Access Key</param> /// <param name="clientConfig">The AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAmplifyBackendConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig()) { } /// <summary> /// Constructs AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAmplifyBackendConfig{RegionEndpoint = region}) { } /// <summary> /// Constructs AmazonAmplifyBackendClient with AWS Access Key ID, AWS Secret Key and an /// AmazonAmplifyBackendClient 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 AmazonAmplifyBackendClient Configuration Object</param> public AmazonAmplifyBackendClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAmplifyBackendConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IAmplifyBackendPaginatorFactory _paginators; /// <summary> /// Paginators for the service /// </summary> public IAmplifyBackendPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new AmplifyBackendPaginatorFactory(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 AmazonAmplifyBackendEndpointResolver()); } /// <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 CloneBackend internal virtual CloneBackendResponse CloneBackend(CloneBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CloneBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance; return Invoke<CloneBackendResponse>(request, options); } /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> public virtual Task<CloneBackendResponse> CloneBackendAsync(CloneBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CloneBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CloneBackendResponseUnmarshaller.Instance; return InvokeAsync<CloneBackendResponse>(request, options, cancellationToken); } #endregion #region CreateBackend internal virtual CreateBackendResponse CreateBackend(CreateBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance; return Invoke<CreateBackendResponse>(request, options); } /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> public virtual Task<CreateBackendResponse> CreateBackendAsync(CreateBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendResponse>(request, options, cancellationToken); } #endregion #region CreateBackendAPI internal virtual CreateBackendAPIResponse CreateBackendAPI(CreateBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance; return Invoke<CreateBackendAPIResponse>(request, options); } /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> public virtual Task<CreateBackendAPIResponse> CreateBackendAPIAsync(CreateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendAPIResponse>(request, options, cancellationToken); } #endregion #region CreateBackendAuth internal virtual CreateBackendAuthResponse CreateBackendAuth(CreateBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance; return Invoke<CreateBackendAuthResponse>(request, options); } /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> public virtual Task<CreateBackendAuthResponse> CreateBackendAuthAsync(CreateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendAuthResponse>(request, options, cancellationToken); } #endregion #region CreateBackendConfig internal virtual CreateBackendConfigResponse CreateBackendConfig(CreateBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance; return Invoke<CreateBackendConfigResponse>(request, options); } /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> public virtual Task<CreateBackendConfigResponse> CreateBackendConfigAsync(CreateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendConfigResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendConfigResponse>(request, options, cancellationToken); } #endregion #region CreateBackendStorage internal virtual CreateBackendStorageResponse CreateBackendStorage(CreateBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance; return Invoke<CreateBackendStorageResponse>(request, options); } /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> public virtual Task<CreateBackendStorageResponse> CreateBackendStorageAsync(CreateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<CreateBackendStorageResponse>(request, options, cancellationToken); } #endregion #region CreateToken internal virtual CreateTokenResponse CreateToken(CreateTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance; return Invoke<CreateTokenResponse>(request, options); } /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> public virtual Task<CreateTokenResponse> CreateTokenAsync(CreateTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTokenResponseUnmarshaller.Instance; return InvokeAsync<CreateTokenResponse>(request, options, cancellationToken); } #endregion #region DeleteBackend internal virtual DeleteBackendResponse DeleteBackend(DeleteBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance; return Invoke<DeleteBackendResponse>(request, options); } /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> public virtual Task<DeleteBackendResponse> DeleteBackendAsync(DeleteBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendResponse>(request, options, cancellationToken); } #endregion #region DeleteBackendAPI internal virtual DeleteBackendAPIResponse DeleteBackendAPI(DeleteBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance; return Invoke<DeleteBackendAPIResponse>(request, options); } /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> public virtual Task<DeleteBackendAPIResponse> DeleteBackendAPIAsync(DeleteBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendAPIResponse>(request, options, cancellationToken); } #endregion #region DeleteBackendAuth internal virtual DeleteBackendAuthResponse DeleteBackendAuth(DeleteBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance; return Invoke<DeleteBackendAuthResponse>(request, options); } /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> public virtual Task<DeleteBackendAuthResponse> DeleteBackendAuthAsync(DeleteBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendAuthResponse>(request, options, cancellationToken); } #endregion #region DeleteBackendStorage internal virtual DeleteBackendStorageResponse DeleteBackendStorage(DeleteBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance; return Invoke<DeleteBackendStorageResponse>(request, options); } /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> public virtual Task<DeleteBackendStorageResponse> DeleteBackendStorageAsync(DeleteBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<DeleteBackendStorageResponse>(request, options, cancellationToken); } #endregion #region DeleteToken internal virtual DeleteTokenResponse DeleteToken(DeleteTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance; return Invoke<DeleteTokenResponse>(request, options); } /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> public virtual Task<DeleteTokenResponse> DeleteTokenAsync(DeleteTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTokenResponseUnmarshaller.Instance; return InvokeAsync<DeleteTokenResponse>(request, options, cancellationToken); } #endregion #region GenerateBackendAPIModels internal virtual GenerateBackendAPIModelsResponse GenerateBackendAPIModels(GenerateBackendAPIModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance; return Invoke<GenerateBackendAPIModelsResponse>(request, options); } /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> public virtual Task<GenerateBackendAPIModelsResponse> GenerateBackendAPIModelsAsync(GenerateBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GenerateBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GenerateBackendAPIModelsResponseUnmarshaller.Instance; return InvokeAsync<GenerateBackendAPIModelsResponse>(request, options, cancellationToken); } #endregion #region GetBackend internal virtual GetBackendResponse GetBackend(GetBackendRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance; return Invoke<GetBackendResponse>(request, options); } /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> public virtual Task<GetBackendResponse> GetBackendAsync(GetBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendResponseUnmarshaller.Instance; return InvokeAsync<GetBackendResponse>(request, options, cancellationToken); } #endregion #region GetBackendAPI internal virtual GetBackendAPIResponse GetBackendAPI(GetBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance; return Invoke<GetBackendAPIResponse>(request, options); } /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> public virtual Task<GetBackendAPIResponse> GetBackendAPIAsync(GetBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<GetBackendAPIResponse>(request, options, cancellationToken); } #endregion #region GetBackendAPIModels internal virtual GetBackendAPIModelsResponse GetBackendAPIModels(GetBackendAPIModelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance; return Invoke<GetBackendAPIModelsResponse>(request, options); } /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> public virtual Task<GetBackendAPIModelsResponse> GetBackendAPIModelsAsync(GetBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAPIModelsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAPIModelsResponseUnmarshaller.Instance; return InvokeAsync<GetBackendAPIModelsResponse>(request, options, cancellationToken); } #endregion #region GetBackendAuth internal virtual GetBackendAuthResponse GetBackendAuth(GetBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance; return Invoke<GetBackendAuthResponse>(request, options); } /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> public virtual Task<GetBackendAuthResponse> GetBackendAuthAsync(GetBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<GetBackendAuthResponse>(request, options, cancellationToken); } #endregion #region GetBackendJob internal virtual GetBackendJobResponse GetBackendJob(GetBackendJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance; return Invoke<GetBackendJobResponse>(request, options); } /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> public virtual Task<GetBackendJobResponse> GetBackendJobAsync(GetBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendJobResponseUnmarshaller.Instance; return InvokeAsync<GetBackendJobResponse>(request, options, cancellationToken); } #endregion #region GetBackendStorage internal virtual GetBackendStorageResponse GetBackendStorage(GetBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance; return Invoke<GetBackendStorageResponse>(request, options); } /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> public virtual Task<GetBackendStorageResponse> GetBackendStorageAsync(GetBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = GetBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<GetBackendStorageResponse>(request, options, cancellationToken); } #endregion #region GetToken internal virtual GetTokenResponse GetToken(GetTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance; return Invoke<GetTokenResponse>(request, options); } /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> public virtual Task<GetTokenResponse> GetTokenAsync(GetTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTokenResponseUnmarshaller.Instance; return InvokeAsync<GetTokenResponse>(request, options, cancellationToken); } #endregion #region ImportBackendAuth internal virtual ImportBackendAuthResponse ImportBackendAuth(ImportBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance; return Invoke<ImportBackendAuthResponse>(request, options); } /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> public virtual Task<ImportBackendAuthResponse> ImportBackendAuthAsync(ImportBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<ImportBackendAuthResponse>(request, options, cancellationToken); } #endregion #region ImportBackendStorage internal virtual ImportBackendStorageResponse ImportBackendStorage(ImportBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance; return Invoke<ImportBackendStorageResponse>(request, options); } /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> public virtual Task<ImportBackendStorageResponse> ImportBackendStorageAsync(ImportBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ImportBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = ImportBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<ImportBackendStorageResponse>(request, options, cancellationToken); } #endregion #region ListBackendJobs internal virtual ListBackendJobsResponse ListBackendJobs(ListBackendJobsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance; return Invoke<ListBackendJobsResponse>(request, options); } /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> public virtual Task<ListBackendJobsResponse> ListBackendJobsAsync(ListBackendJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBackendJobsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBackendJobsResponseUnmarshaller.Instance; return InvokeAsync<ListBackendJobsResponse>(request, options, cancellationToken); } #endregion #region ListS3Buckets internal virtual ListS3BucketsResponse ListS3Buckets(ListS3BucketsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance; return Invoke<ListS3BucketsResponse>(request, options); } /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> public virtual Task<ListS3BucketsResponse> ListS3BucketsAsync(ListS3BucketsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListS3BucketsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListS3BucketsResponseUnmarshaller.Instance; return InvokeAsync<ListS3BucketsResponse>(request, options, cancellationToken); } #endregion #region RemoveAllBackends internal virtual RemoveAllBackendsResponse RemoveAllBackends(RemoveAllBackendsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance; return Invoke<RemoveAllBackendsResponse>(request, options); } /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> public virtual Task<RemoveAllBackendsResponse> RemoveAllBackendsAsync(RemoveAllBackendsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveAllBackendsRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveAllBackendsResponseUnmarshaller.Instance; return InvokeAsync<RemoveAllBackendsResponse>(request, options, cancellationToken); } #endregion #region RemoveBackendConfig internal virtual RemoveBackendConfigResponse RemoveBackendConfig(RemoveBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance; return Invoke<RemoveBackendConfigResponse>(request, options); } /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> public virtual Task<RemoveBackendConfigResponse> RemoveBackendConfigAsync(RemoveBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RemoveBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = RemoveBackendConfigResponseUnmarshaller.Instance; return InvokeAsync<RemoveBackendConfigResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendAPI internal virtual UpdateBackendAPIResponse UpdateBackendAPI(UpdateBackendAPIRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance; return Invoke<UpdateBackendAPIResponse>(request, options); } /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> public virtual Task<UpdateBackendAPIResponse> UpdateBackendAPIAsync(UpdateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAPIRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAPIResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendAPIResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendAuth internal virtual UpdateBackendAuthResponse UpdateBackendAuth(UpdateBackendAuthRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance; return Invoke<UpdateBackendAuthResponse>(request, options); } /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> public virtual Task<UpdateBackendAuthResponse> UpdateBackendAuthAsync(UpdateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendAuthRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendAuthResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendAuthResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendConfig internal virtual UpdateBackendConfigResponse UpdateBackendConfig(UpdateBackendConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance; return Invoke<UpdateBackendConfigResponse>(request, options); } /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> public virtual Task<UpdateBackendConfigResponse> UpdateBackendConfigAsync(UpdateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendConfigResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendConfigResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendJob internal virtual UpdateBackendJobResponse UpdateBackendJob(UpdateBackendJobRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance; return Invoke<UpdateBackendJobResponse>(request, options); } /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> public virtual Task<UpdateBackendJobResponse> UpdateBackendJobAsync(UpdateBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendJobRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendJobResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendJobResponse>(request, options, cancellationToken); } #endregion #region UpdateBackendStorage internal virtual UpdateBackendStorageResponse UpdateBackendStorage(UpdateBackendStorageRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance; return Invoke<UpdateBackendStorageResponse>(request, options); } /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> public virtual Task<UpdateBackendStorageResponse> UpdateBackendStorageAsync(UpdateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateBackendStorageRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateBackendStorageResponseUnmarshaller.Instance; return InvokeAsync<UpdateBackendStorageResponse>(request, options, cancellationToken); } #endregion } }
1,699
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifybackend-2020-08-11.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.AmplifyBackend.Model; namespace Amazon.AmplifyBackend { /// <summary> /// Interface for accessing AmplifyBackend /// /// AWS Amplify Admin API /// </summary> public partial interface IAmazonAmplifyBackend : IAmazonService, IDisposable { #if AWS_ASYNC_ENUMERABLES_API /// <summary> /// Paginators for the service /// </summary> IAmplifyBackendPaginatorFactory Paginators { get; } #endif #region CloneBackend /// <summary> /// This operation clones an existing backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CloneBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CloneBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CloneBackend">REST API Reference for CloneBackend Operation</seealso> Task<CloneBackendResponse> CloneBackendAsync(CloneBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackend /// <summary> /// This operation creates a backend for an Amplify app. Backends are automatically created /// at the time of app creation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackend">REST API Reference for CreateBackend Operation</seealso> Task<CreateBackendResponse> CreateBackendAsync(CreateBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendAPI /// <summary> /// Creates a new backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAPI">REST API Reference for CreateBackendAPI Operation</seealso> Task<CreateBackendAPIResponse> CreateBackendAPIAsync(CreateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendAuth /// <summary> /// Creates a new backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendAuth">REST API Reference for CreateBackendAuth Operation</seealso> Task<CreateBackendAuthResponse> CreateBackendAuthAsync(CreateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendConfig /// <summary> /// Creates a config object for a backend. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendConfig">REST API Reference for CreateBackendConfig Operation</seealso> Task<CreateBackendConfigResponse> CreateBackendConfigAsync(CreateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateBackendStorage /// <summary> /// Creates a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateBackendStorage">REST API Reference for CreateBackendStorage Operation</seealso> Task<CreateBackendStorageResponse> CreateBackendStorageAsync(CreateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateToken /// <summary> /// Generates a one-time challenge code to authenticate a user into your Amplify Admin /// UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/CreateToken">REST API Reference for CreateToken Operation</seealso> Task<CreateTokenResponse> CreateTokenAsync(CreateTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackend /// <summary> /// Removes an existing environment from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackend">REST API Reference for DeleteBackend Operation</seealso> Task<DeleteBackendResponse> DeleteBackendAsync(DeleteBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackendAPI /// <summary> /// Deletes an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAPI">REST API Reference for DeleteBackendAPI Operation</seealso> Task<DeleteBackendAPIResponse> DeleteBackendAPIAsync(DeleteBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackendAuth /// <summary> /// Deletes an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendAuth">REST API Reference for DeleteBackendAuth Operation</seealso> Task<DeleteBackendAuthResponse> DeleteBackendAuthAsync(DeleteBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteBackendStorage /// <summary> /// Removes the specified backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteBackendStorage">REST API Reference for DeleteBackendStorage Operation</seealso> Task<DeleteBackendStorageResponse> DeleteBackendStorageAsync(DeleteBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteToken /// <summary> /// Deletes the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/DeleteToken">REST API Reference for DeleteToken Operation</seealso> Task<DeleteTokenResponse> DeleteTokenAsync(DeleteTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GenerateBackendAPIModels /// <summary> /// Generates a model schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GenerateBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GenerateBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GenerateBackendAPIModels">REST API Reference for GenerateBackendAPIModels Operation</seealso> Task<GenerateBackendAPIModelsResponse> GenerateBackendAPIModelsAsync(GenerateBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackend /// <summary> /// Provides project-level details for your Amplify UI project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackend service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackend service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackend">REST API Reference for GetBackend Operation</seealso> Task<GetBackendResponse> GetBackendAsync(GetBackendRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendAPI /// <summary> /// Gets the details for a backend API. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPI">REST API Reference for GetBackendAPI Operation</seealso> Task<GetBackendAPIResponse> GetBackendAPIAsync(GetBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendAPIModels /// <summary> /// Gets a model introspection schema for an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAPIModels service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAPIModels service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAPIModels">REST API Reference for GetBackendAPIModels Operation</seealso> Task<GetBackendAPIModelsResponse> GetBackendAPIModelsAsync(GetBackendAPIModelsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendAuth /// <summary> /// Gets a backend auth details. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendAuth">REST API Reference for GetBackendAuth Operation</seealso> Task<GetBackendAuthResponse> GetBackendAuthAsync(GetBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendJob /// <summary> /// Returns information about a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendJob">REST API Reference for GetBackendJob Operation</seealso> Task<GetBackendJobResponse> GetBackendJobAsync(GetBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetBackendStorage /// <summary> /// Gets details for a backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetBackendStorage">REST API Reference for GetBackendStorage Operation</seealso> Task<GetBackendStorageResponse> GetBackendStorageAsync(GetBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetToken /// <summary> /// Gets the challenge token based on the given appId and sessionId. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetToken service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetToken service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/GetToken">REST API Reference for GetToken Operation</seealso> Task<GetTokenResponse> GetTokenAsync(GetTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportBackendAuth /// <summary> /// Imports an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendAuth">REST API Reference for ImportBackendAuth Operation</seealso> Task<ImportBackendAuthResponse> ImportBackendAuthAsync(ImportBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ImportBackendStorage /// <summary> /// Imports an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ImportBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ImportBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ImportBackendStorage">REST API Reference for ImportBackendStorage Operation</seealso> Task<ImportBackendStorageResponse> ImportBackendStorageAsync(ImportBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListBackendJobs /// <summary> /// Lists the jobs for the backend of an Amplify app. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListBackendJobs service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListBackendJobs service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListBackendJobs">REST API Reference for ListBackendJobs Operation</seealso> Task<ListBackendJobsResponse> ListBackendJobsAsync(ListBackendJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListS3Buckets /// <summary> /// The list of S3 buckets in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListS3Buckets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListS3Buckets service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/ListS3Buckets">REST API Reference for ListS3Buckets Operation</seealso> Task<ListS3BucketsResponse> ListS3BucketsAsync(ListS3BucketsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveAllBackends /// <summary> /// Removes all backend environments from your Amplify project. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveAllBackends service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveAllBackends service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveAllBackends">REST API Reference for RemoveAllBackends Operation</seealso> Task<RemoveAllBackendsResponse> RemoveAllBackendsAsync(RemoveAllBackendsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region RemoveBackendConfig /// <summary> /// Removes the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the RemoveBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the RemoveBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/RemoveBackendConfig">REST API Reference for RemoveBackendConfig Operation</seealso> Task<RemoveBackendConfigResponse> RemoveBackendConfigAsync(RemoveBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendAPI /// <summary> /// Updates an existing backend API resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAPI service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAPI service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAPI">REST API Reference for UpdateBackendAPI Operation</seealso> Task<UpdateBackendAPIResponse> UpdateBackendAPIAsync(UpdateBackendAPIRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendAuth /// <summary> /// Updates an existing backend authentication resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendAuth service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendAuth service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendAuth">REST API Reference for UpdateBackendAuth Operation</seealso> Task<UpdateBackendAuthResponse> UpdateBackendAuthAsync(UpdateBackendAuthRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendConfig /// <summary> /// Updates the AWS resources required to access the Amplify Admin UI. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendConfig service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendConfig service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendConfig">REST API Reference for UpdateBackendConfig Operation</seealso> Task<UpdateBackendConfigResponse> UpdateBackendConfigAsync(UpdateBackendConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendJob /// <summary> /// Updates a specific job. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendJob service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendJob service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendJob">REST API Reference for UpdateBackendJob Operation</seealso> Task<UpdateBackendJobResponse> UpdateBackendJobAsync(UpdateBackendJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateBackendStorage /// <summary> /// Updates an existing backend storage resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateBackendStorage service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateBackendStorage service method, as returned by AmplifyBackend.</returns> /// <exception cref="Amazon.AmplifyBackend.Model.BadRequestException"> /// An error returned if a request is not formed properly. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.GatewayTimeoutException"> /// An error returned if there's a temporary issue with the service. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.NotFoundException"> /// An error returned when a specific resource type is not found. /// </exception> /// <exception cref="Amazon.AmplifyBackend.Model.TooManyRequestsException"> /// An error that is returned when a limit of a specific type has been exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/amplifybackend-2020-08-11/UpdateBackendStorage">REST API Reference for UpdateBackendStorage Operation</seealso> Task<UpdateBackendStorageResponse> UpdateBackendStorageAsync(UpdateBackendStorageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)); #endregion } }
978
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.AmplifyBackend")] #if BCL35 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AmplifyBackend. (New Service) The Amplify Admin UI offers an accessible way to develop app backends and manage app content. We recommend that you use the Amplify Admin UI to manage the backend of your Amplify app.")] #elif BCL45 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AmplifyBackend. (New Service) The Amplify Admin UI offers an accessible way to develop app backends and manage app content. We recommend that you use the Amplify Admin UI to manage the backend of your Amplify app.")] #elif NETSTANDARD20 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AmplifyBackend. (New Service) The Amplify Admin UI offers an accessible way to develop app backends and manage app content. We recommend that you use the Amplify Admin UI to manage the backend of your Amplify app.")] #elif NETCOREAPP3_1 [assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AmplifyBackend. (New Service) The Amplify Admin UI offers an accessible way to develop app backends and manage app content. We recommend that you use the Amplify Admin UI to manage the backend of your Amplify app.")] #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.101.98")] [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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Util.Internal; using Amazon.AmplifyUIBuilder.Internal; namespace Amazon.AmplifyUIBuilder { /// <summary> /// Configuration for accessing Amazon AmplifyUIBuilder service /// </summary> [AWSSignerType("v4")] public partial class AmazonAmplifyUIBuilderConfig : ClientConfig { private static readonly string UserAgentString = InternalSDKUtils.BuildUserAgentString("3.7.102.3"); private string _userAgent = UserAgentString; /// <summary> /// Default constructor /// </summary> public AmazonAmplifyUIBuilderConfig() : base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAmplifyUIBuilderDefaultConfiguration.GetAllConfigurations())) { this.AuthenticationServiceName = "amplifyuibuilder"; this.EndpointProvider = new AmazonAmplifyUIBuilderEndpointProvider(); } /// <summary> /// The constant used to lookup in the region hash the endpoint. /// </summary> public override string RegionEndpointServiceName { get { return "amplifyuibuilder"; } } /// <summary> /// Gets the ServiceVersion property. /// </summary> public override string ServiceVersion { get { return "2021-08-11"; } } /// <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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Collections.ObjectModel; using Amazon.Runtime; namespace Amazon.AmplifyUIBuilder { /// <summary> /// Configuration for accessing Amazon AmplifyUIBuilder service /// </summary> public static class AmazonAmplifyUIBuilderDefaultConfiguration { /// <summary> /// Collection of all <see cref="DefaultConfiguration"/>s supported by /// AmplifyUIBuilder /// </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 amplifyuibuilder-2021-08-11.normal.json service model. */ using Amazon.Runtime; using Amazon.Runtime.Endpoints; namespace Amazon.AmplifyUIBuilder.Endpoints { /// <summary> /// Contains parameters used for resolving AmplifyUIBuilder endpoints /// Parameters can be sourced from client config and service operations /// Used by internal AmplifyUIBuilderEndpointProvider and AmplifyUIBuilderEndpointResolver /// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider /// </summary> public class AmplifyUIBuilderEndpointParameters : EndpointParameters { /// <summary> /// AmplifyUIBuilderEndpointParameters constructor /// </summary> public AmplifyUIBuilderEndpointParameters() { 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using System.Text; using Amazon.Runtime; namespace Amazon.AmplifyUIBuilder { ///<summary> /// Common exception for the AmplifyUIBuilder service. /// </summary> #if !NETSTANDARD [Serializable] #endif public partial class AmazonAmplifyUIBuilderException : AmazonServiceException { /// <summary> /// Construct instance of AmazonAmplifyUIBuilderException /// </summary> /// <param name="message"></param> public AmazonAmplifyUIBuilderException(string message) : base(message) { } /// <summary> /// Construct instance of AmazonAmplifyUIBuilderException /// </summary> /// <param name="message"></param> /// <param name="innerException"></param> public AmazonAmplifyUIBuilderException(string message, Exception innerException) : base(message, innerException) { } /// <summary> /// Construct instance of AmazonAmplifyUIBuilderException /// </summary> /// <param name="innerException"></param> public AmazonAmplifyUIBuilderException(Exception innerException) : base(innerException.Message, innerException) { } /// <summary> /// Construct instance of AmazonAmplifyUIBuilderException /// </summary> /// <param name="message"></param> /// <param name="errorType"></param> /// <param name="errorCode"></param> /// <param name="requestId"></param> /// <param name="statusCode"></param> public AmazonAmplifyUIBuilderException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode) : base(message, errorType, errorCode, requestId, statusCode) { } /// <summary> /// Construct instance of AmazonAmplifyUIBuilderException /// </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 AmazonAmplifyUIBuilderException(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 AmazonAmplifyUIBuilderException 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 AmazonAmplifyUIBuilderException(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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using Amazon.Runtime; namespace Amazon.AmplifyUIBuilder { /// <summary> /// Constants used for properties of type CodegenGenericDataFieldDataType. /// </summary> public class CodegenGenericDataFieldDataType : ConstantClass { /// <summary> /// Constant AWSDate for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSDate = new CodegenGenericDataFieldDataType("AWSDate"); /// <summary> /// Constant AWSDateTime for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSDateTime = new CodegenGenericDataFieldDataType("AWSDateTime"); /// <summary> /// Constant AWSEmail for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSEmail = new CodegenGenericDataFieldDataType("AWSEmail"); /// <summary> /// Constant AWSIPAddress for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSIPAddress = new CodegenGenericDataFieldDataType("AWSIPAddress"); /// <summary> /// Constant AWSJSON for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSJSON = new CodegenGenericDataFieldDataType("AWSJSON"); /// <summary> /// Constant AWSPhone for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSPhone = new CodegenGenericDataFieldDataType("AWSPhone"); /// <summary> /// Constant AWSTime for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSTime = new CodegenGenericDataFieldDataType("AWSTime"); /// <summary> /// Constant AWSTimestamp for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSTimestamp = new CodegenGenericDataFieldDataType("AWSTimestamp"); /// <summary> /// Constant AWSURL for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType AWSURL = new CodegenGenericDataFieldDataType("AWSURL"); /// <summary> /// Constant Boolean for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType Boolean = new CodegenGenericDataFieldDataType("Boolean"); /// <summary> /// Constant Enum for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType Enum = new CodegenGenericDataFieldDataType("Enum"); /// <summary> /// Constant Float for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType Float = new CodegenGenericDataFieldDataType("Float"); /// <summary> /// Constant ID for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType ID = new CodegenGenericDataFieldDataType("ID"); /// <summary> /// Constant Int for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType Int = new CodegenGenericDataFieldDataType("Int"); /// <summary> /// Constant Model for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType Model = new CodegenGenericDataFieldDataType("Model"); /// <summary> /// Constant NonModel for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType NonModel = new CodegenGenericDataFieldDataType("NonModel"); /// <summary> /// Constant String for CodegenGenericDataFieldDataType /// </summary> public static readonly CodegenGenericDataFieldDataType String = new CodegenGenericDataFieldDataType("String"); /// <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 CodegenGenericDataFieldDataType(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 CodegenGenericDataFieldDataType FindValue(string value) { return FindValue<CodegenGenericDataFieldDataType>(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 CodegenGenericDataFieldDataType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CodegenJobGenericDataSourceType. /// </summary> public class CodegenJobGenericDataSourceType : ConstantClass { /// <summary> /// Constant DataStore for CodegenJobGenericDataSourceType /// </summary> public static readonly CodegenJobGenericDataSourceType DataStore = new CodegenJobGenericDataSourceType("DataStore"); /// <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 CodegenJobGenericDataSourceType(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 CodegenJobGenericDataSourceType FindValue(string value) { return FindValue<CodegenJobGenericDataSourceType>(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 CodegenJobGenericDataSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type CodegenJobStatus. /// </summary> public class CodegenJobStatus : ConstantClass { /// <summary> /// Constant Failed for CodegenJobStatus /// </summary> public static readonly CodegenJobStatus Failed = new CodegenJobStatus("failed"); /// <summary> /// Constant In_progress for CodegenJobStatus /// </summary> public static readonly CodegenJobStatus In_progress = new CodegenJobStatus("in_progress"); /// <summary> /// Constant Succeeded for CodegenJobStatus /// </summary> public static readonly CodegenJobStatus Succeeded = new CodegenJobStatus("succeeded"); /// <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 CodegenJobStatus(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 CodegenJobStatus FindValue(string value) { return FindValue<CodegenJobStatus>(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 CodegenJobStatus(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type FixedPosition. /// </summary> public class FixedPosition : ConstantClass { /// <summary> /// Constant First for FixedPosition /// </summary> public static readonly FixedPosition First = new FixedPosition("first"); /// <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 FixedPosition(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 FixedPosition FindValue(string value) { return FindValue<FixedPosition>(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 FixedPosition(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type FormActionType. /// </summary> public class FormActionType : ConstantClass { /// <summary> /// Constant Create for FormActionType /// </summary> public static readonly FormActionType Create = new FormActionType("create"); /// <summary> /// Constant Update for FormActionType /// </summary> public static readonly FormActionType Update = new FormActionType("update"); /// <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 FormActionType(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 FormActionType FindValue(string value) { return FindValue<FormActionType>(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 FormActionType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type FormButtonsPosition. /// </summary> public class FormButtonsPosition : ConstantClass { /// <summary> /// Constant Bottom for FormButtonsPosition /// </summary> public static readonly FormButtonsPosition Bottom = new FormButtonsPosition("bottom"); /// <summary> /// Constant Top for FormButtonsPosition /// </summary> public static readonly FormButtonsPosition Top = new FormButtonsPosition("top"); /// <summary> /// Constant Top_and_bottom for FormButtonsPosition /// </summary> public static readonly FormButtonsPosition Top_and_bottom = new FormButtonsPosition("top_and_bottom"); /// <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 FormButtonsPosition(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 FormButtonsPosition FindValue(string value) { return FindValue<FormButtonsPosition>(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 FormButtonsPosition(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type FormDataSourceType. /// </summary> public class FormDataSourceType : ConstantClass { /// <summary> /// Constant Custom for FormDataSourceType /// </summary> public static readonly FormDataSourceType Custom = new FormDataSourceType("Custom"); /// <summary> /// Constant DataStore for FormDataSourceType /// </summary> public static readonly FormDataSourceType DataStore = new FormDataSourceType("DataStore"); /// <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 FormDataSourceType(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 FormDataSourceType FindValue(string value) { return FindValue<FormDataSourceType>(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 FormDataSourceType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type GenericDataRelationshipType. /// </summary> public class GenericDataRelationshipType : ConstantClass { /// <summary> /// Constant BELONGS_TO for GenericDataRelationshipType /// </summary> public static readonly GenericDataRelationshipType BELONGS_TO = new GenericDataRelationshipType("BELONGS_TO"); /// <summary> /// Constant HAS_MANY for GenericDataRelationshipType /// </summary> public static readonly GenericDataRelationshipType HAS_MANY = new GenericDataRelationshipType("HAS_MANY"); /// <summary> /// Constant HAS_ONE for GenericDataRelationshipType /// </summary> public static readonly GenericDataRelationshipType HAS_ONE = new GenericDataRelationshipType("HAS_ONE"); /// <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 GenericDataRelationshipType(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 GenericDataRelationshipType FindValue(string value) { return FindValue<GenericDataRelationshipType>(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 GenericDataRelationshipType(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type JSModule. /// </summary> public class JSModule : ConstantClass { /// <summary> /// Constant Es2020 for JSModule /// </summary> public static readonly JSModule Es2020 = new JSModule("es2020"); /// <summary> /// Constant Esnext for JSModule /// </summary> public static readonly JSModule Esnext = new JSModule("esnext"); /// <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 JSModule(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 JSModule FindValue(string value) { return FindValue<JSModule>(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 JSModule(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type JSScript. /// </summary> public class JSScript : ConstantClass { /// <summary> /// Constant Js for JSScript /// </summary> public static readonly JSScript Js = new JSScript("js"); /// <summary> /// Constant Jsx for JSScript /// </summary> public static readonly JSScript Jsx = new JSScript("jsx"); /// <summary> /// Constant Tsx for JSScript /// </summary> public static readonly JSScript Tsx = new JSScript("tsx"); /// <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 JSScript(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 JSScript FindValue(string value) { return FindValue<JSScript>(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 JSScript(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type JSTarget. /// </summary> public class JSTarget : ConstantClass { /// <summary> /// Constant Es2015 for JSTarget /// </summary> public static readonly JSTarget Es2015 = new JSTarget("es2015"); /// <summary> /// Constant Es2020 for JSTarget /// </summary> public static readonly JSTarget Es2020 = new JSTarget("es2020"); /// <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 JSTarget(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 JSTarget FindValue(string value) { return FindValue<JSTarget>(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 JSTarget(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type LabelDecorator. /// </summary> public class LabelDecorator : ConstantClass { /// <summary> /// Constant None for LabelDecorator /// </summary> public static readonly LabelDecorator None = new LabelDecorator("none"); /// <summary> /// Constant Optional for LabelDecorator /// </summary> public static readonly LabelDecorator Optional = new LabelDecorator("optional"); /// <summary> /// Constant Required for LabelDecorator /// </summary> public static readonly LabelDecorator Required = new LabelDecorator("required"); /// <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 LabelDecorator(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 LabelDecorator FindValue(string value) { return FindValue<LabelDecorator>(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 LabelDecorator(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type SortDirection. /// </summary> public class SortDirection : ConstantClass { /// <summary> /// Constant ASC for SortDirection /// </summary> public static readonly SortDirection ASC = new SortDirection("ASC"); /// <summary> /// Constant DESC for SortDirection /// </summary> public static readonly SortDirection DESC = new SortDirection("DESC"); /// <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 SortDirection(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 SortDirection FindValue(string value) { return FindValue<SortDirection>(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 SortDirection(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type StorageAccessLevel. /// </summary> public class StorageAccessLevel : ConstantClass { /// <summary> /// Constant Private for StorageAccessLevel /// </summary> public static readonly StorageAccessLevel Private = new StorageAccessLevel("private"); /// <summary> /// Constant Protected for StorageAccessLevel /// </summary> public static readonly StorageAccessLevel Protected = new StorageAccessLevel("protected"); /// <summary> /// Constant Public for StorageAccessLevel /// </summary> public static readonly StorageAccessLevel Public = new StorageAccessLevel("public"); /// <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 StorageAccessLevel(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 StorageAccessLevel FindValue(string value) { return FindValue<StorageAccessLevel>(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 StorageAccessLevel(string value) { return FindValue(value); } } /// <summary> /// Constants used for properties of type TokenProviders. /// </summary> public class TokenProviders : ConstantClass { /// <summary> /// Constant Figma for TokenProviders /// </summary> public static readonly TokenProviders Figma = new TokenProviders("figma"); /// <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 TokenProviders(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 TokenProviders FindValue(string value) { return FindValue<TokenProviders>(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 TokenProviders(string value) { return FindValue(value); } } }
848
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.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.AmplifyUIBuilder.Internal { /// <summary> /// Amazon AmplifyUIBuilder endpoint provider. /// Resolves endpoint for given set of AmplifyUIBuilderEndpointParameters. /// Can throw AmazonClientException if endpoint resolution is unsuccessful. /// </summary> public class AmazonAmplifyUIBuilderEndpointProvider : IEndpointProvider { /// <summary> /// Resolve endpoint for AmplifyUIBuilderEndpointParameters /// </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://amplifyuibuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } throw new AmazonClientException("FIPS and DualStack are enabled, but this partition does not support one or both"); } if (Equals(refs["UseFIPS"], true)) { if (Equals(true, GetAttr(refs["PartitionResult"], "supportsFIPS"))) { return new Endpoint(Interpolate(@"https://amplifyuibuilder-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://amplifyuibuilder.{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://amplifyuibuilder.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs)); } } throw new AmazonClientException("Invalid Configuration: Missing Region"); throw new AmazonClientException("Cannot resolve endpoint"); } } }
103
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using Amazon.AmplifyUIBuilder.Model; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Endpoints; using Amazon.Util; using Amazon.AmplifyUIBuilder.Endpoints; #pragma warning disable 1591 namespace Amazon.AmplifyUIBuilder.Internal { /// <summary> /// Amazon AmplifyUIBuilder endpoint resolver. /// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AmplifyUIBuilder service requests. /// Collects values for AmplifyUIBuilderEndpointParameters and then tries to resolve endpoint by calling /// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AmplifyUIBuilderEndpointProvider. /// Responsible for setting authentication and http headers provided by resolved endpoint. /// </summary> public class AmazonAmplifyUIBuilderEndpointResolver : BaseEndpointResolver { protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters) { InjectHostPrefix(executionContext.RequestContext); } protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext) { var config = (AmazonAmplifyUIBuilderConfig)requestContext.ClientConfig; var result = new AmplifyUIBuilderEndpointParameters(); 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Internal { /// <summary> /// Service metadata for Amazon AmplifyUIBuilder service /// </summary> public partial class AmazonAmplifyUIBuilderMetadata : IServiceMetadata { /// <summary> /// Gets the value of the Service Id. /// </summary> public string ServiceId { get { return "AmplifyUIBuilder"; } } /// <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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Represents the event action configuration for an element of a <code>Component</code> /// or <code>ComponentChild</code>. Use for the workflow feature in Amplify Studio that /// allows you to bind events and actions to components. <code>ActionParameters</code> /// defines the action that is performed when an event occurs on the component. /// </summary> public partial class ActionParameters { private ComponentProperty _anchor; private Dictionary<string, ComponentProperty> _fields = new Dictionary<string, ComponentProperty>(); private ComponentProperty _global; private ComponentProperty _id; private string _model; private MutationActionSetStateParameter _state; private ComponentProperty _target; private ComponentProperty _type; private ComponentProperty _url; /// <summary> /// Gets and sets the property Anchor. /// <para> /// The HTML anchor link to the location to open. Specify this value for a navigation /// action. /// </para> /// </summary> public ComponentProperty Anchor { get { return this._anchor; } set { this._anchor = value; } } // Check to see if Anchor property is set internal bool IsSetAnchor() { return this._anchor != null; } /// <summary> /// Gets and sets the property Fields. /// <para> /// A dictionary of key-value pairs mapping Amplify Studio properties to fields in a data /// model. Use when the action performs an operation on an Amplify DataStore model. /// </para> /// </summary> public Dictionary<string, ComponentProperty> Fields { get { return this._fields; } set { this._fields = value; } } // Check to see if Fields property is set internal bool IsSetFields() { return this._fields != null && this._fields.Count > 0; } /// <summary> /// Gets and sets the property Global. /// <para> /// Specifies whether the user should be signed out globally. Specify this value for an /// auth sign out action. /// </para> /// </summary> public ComponentProperty Global { get { return this._global; } set { this._global = value; } } // Check to see if Global property is set internal bool IsSetGlobal() { return this._global != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of the component that the <code>ActionParameters</code> apply to. /// </para> /// </summary> public ComponentProperty 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 Model. /// <para> /// The name of the data model. Use when the action performs an operation on an Amplify /// DataStore model. /// </para> /// </summary> public string Model { get { return this._model; } set { this._model = value; } } // Check to see if Model property is set internal bool IsSetModel() { return this._model != null; } /// <summary> /// Gets and sets the property State. /// <para> /// A key-value pair that specifies the state property name and its initial value. /// </para> /// </summary> public MutationActionSetStateParameter State { get { return this._state; } set { this._state = value; } } // Check to see if State property is set internal bool IsSetState() { return this._state != null; } /// <summary> /// Gets and sets the property Target. /// <para> /// The element within the same component to modify when the action occurs. /// </para> /// </summary> public ComponentProperty Target { get { return this._target; } set { this._target = value; } } // Check to see if Target property is set internal bool IsSetTarget() { return this._target != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The type of navigation action. Valid values are <code>url</code> and <code>anchor</code>. /// This value is required for a navigation action. /// </para> /// </summary> public ComponentProperty Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// <summary> /// Gets and sets the property Url. /// <para> /// The URL to the location to open. Specify this value for a navigation action. /// </para> /// </summary> public ComponentProperty Url { get { return this._url; } set { this._url = value; } } // Check to see if Url property is set internal bool IsSetUrl() { return this._url != null; } } }
217
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using Amazon.Runtime; namespace Amazon.AmplifyUIBuilder { /// <summary> /// Base class for AmplifyUIBuilder operation requests. /// </summary> public partial class AmazonAmplifyUIBuilderRequest : 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the feature flags that you can specify for a code generation job. /// </summary> public partial class CodegenFeatureFlags { private bool? _isNonModelSupported; private bool? _isRelationshipSupported; /// <summary> /// Gets and sets the property IsNonModelSupported. /// <para> /// Specifies whether a code generation job supports non models. /// </para> /// </summary> public bool IsNonModelSupported { get { return this._isNonModelSupported.GetValueOrDefault(); } set { this._isNonModelSupported = value; } } // Check to see if IsNonModelSupported property is set internal bool IsSetIsNonModelSupported() { return this._isNonModelSupported.HasValue; } /// <summary> /// Gets and sets the property IsRelationshipSupported. /// <para> /// Specifes whether a code generation job supports data relationships. /// </para> /// </summary> public bool IsRelationshipSupported { get { return this._isRelationshipSupported.GetValueOrDefault(); } set { this._isRelationshipSupported = value; } } // Check to see if IsRelationshipSupported property is set internal bool IsSetIsRelationshipSupported() { return this._isRelationshipSupported.HasValue; } } }
76
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the enums in a generic data schema. /// </summary> public partial class CodegenGenericDataEnum { private List<string> _values = new List<string>(); /// <summary> /// Gets and sets the property Values. /// <para> /// The list of enum values in the generic data schema. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> Values { get { return this._values; } set { this._values = value; } } // Check to see if Values property is set internal bool IsSetValues() { return this._values != null && this._values.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes a field in a generic data schema. /// </summary> public partial class CodegenGenericDataField { private CodegenGenericDataFieldDataType _dataType; private string _dataTypeValue; private bool? _isArray; private bool? _readOnly; private CodegenGenericDataRelationshipType _relationship; private bool? _required; /// <summary> /// Gets and sets the property DataType. /// <para> /// The data type for the generic data field. /// </para> /// </summary> [AWSProperty(Required=true)] public CodegenGenericDataFieldDataType DataType { get { return this._dataType; } set { this._dataType = value; } } // Check to see if DataType property is set internal bool IsSetDataType() { return this._dataType != null; } /// <summary> /// Gets and sets the property DataTypeValue. /// <para> /// The value of the data type for the generic data field. /// </para> /// </summary> [AWSProperty(Required=true)] public string DataTypeValue { get { return this._dataTypeValue; } set { this._dataTypeValue = value; } } // Check to see if DataTypeValue property is set internal bool IsSetDataTypeValue() { return this._dataTypeValue != null; } /// <summary> /// Gets and sets the property IsArray. /// <para> /// Specifies whether the generic data field is an array. /// </para> /// </summary> [AWSProperty(Required=true)] public bool IsArray { get { return this._isArray.GetValueOrDefault(); } set { this._isArray = value; } } // Check to see if IsArray property is set internal bool IsSetIsArray() { return this._isArray.HasValue; } /// <summary> /// Gets and sets the property ReadOnly. /// <para> /// Specifies whether the generic data field is read-only. /// </para> /// </summary> [AWSProperty(Required=true)] public bool ReadOnly { get { return this._readOnly.GetValueOrDefault(); } set { this._readOnly = value; } } // Check to see if ReadOnly property is set internal bool IsSetReadOnly() { return this._readOnly.HasValue; } /// <summary> /// Gets and sets the property Relationship. /// <para> /// The relationship of the generic data schema. /// </para> /// </summary> public CodegenGenericDataRelationshipType Relationship { get { return this._relationship; } set { this._relationship = value; } } // Check to see if Relationship property is set internal bool IsSetRelationship() { return this._relationship != null; } /// <summary> /// Gets and sets the property Required. /// <para> /// Specifies whether the generic data field is required. /// </para> /// </summary> [AWSProperty(Required=true)] public bool Required { get { return this._required.GetValueOrDefault(); } set { this._required = value; } } // Check to see if Required property is set internal bool IsSetRequired() { return this._required.HasValue; } } }
157
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes a model in a generic data schema. /// </summary> public partial class CodegenGenericDataModel { private Dictionary<string, CodegenGenericDataField> _fields = new Dictionary<string, CodegenGenericDataField>(); private bool? _isJoinTable; private List<string> _primaryKeys = new List<string>(); /// <summary> /// Gets and sets the property Fields. /// <para> /// The fields in the generic data model. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, CodegenGenericDataField> Fields { get { return this._fields; } set { this._fields = value; } } // Check to see if Fields property is set internal bool IsSetFields() { return this._fields != null && this._fields.Count > 0; } /// <summary> /// Gets and sets the property IsJoinTable. /// <para> /// Specifies whether the generic data model is a join table. /// </para> /// </summary> public bool IsJoinTable { get { return this._isJoinTable.GetValueOrDefault(); } set { this._isJoinTable = value; } } // Check to see if IsJoinTable property is set internal bool IsSetIsJoinTable() { return this._isJoinTable.HasValue; } /// <summary> /// Gets and sets the property PrimaryKeys. /// <para> /// The primary keys of the generic data model. /// </para> /// </summary> [AWSProperty(Required=true)] public List<string> PrimaryKeys { get { return this._primaryKeys; } set { this._primaryKeys = value; } } // Check to see if PrimaryKeys property is set internal bool IsSetPrimaryKeys() { return this._primaryKeys != null && this._primaryKeys.Count > 0; } } }
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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes a non-model in a generic data schema. /// </summary> public partial class CodegenGenericDataNonModel { private Dictionary<string, CodegenGenericDataField> _fields = new Dictionary<string, CodegenGenericDataField>(); /// <summary> /// Gets and sets the property Fields. /// <para> /// The fields in a generic data schema non model. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, CodegenGenericDataField> Fields { get { return this._fields; } set { this._fields = value; } } // Check to see if Fields property is set internal bool IsSetFields() { return this._fields != null && this._fields.Count > 0; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the relationship between generic data models. /// </summary> public partial class CodegenGenericDataRelationshipType { private List<string> _associatedFields = new List<string>(); private string _belongsToFieldOnRelatedModel; private bool? _canUnlinkAssociatedModel; private bool? _isHasManyIndex; private string _relatedJoinFieldName; private string _relatedJoinTableName; private List<string> _relatedModelFields = new List<string>(); private string _relatedModelName; private GenericDataRelationshipType _type; /// <summary> /// Gets and sets the property AssociatedFields. /// <para> /// The associated fields of the data relationship. /// </para> /// </summary> public List<string> AssociatedFields { get { return this._associatedFields; } set { this._associatedFields = value; } } // Check to see if AssociatedFields property is set internal bool IsSetAssociatedFields() { return this._associatedFields != null && this._associatedFields.Count > 0; } /// <summary> /// Gets and sets the property BelongsToFieldOnRelatedModel. /// <para> /// The value of the <code>belongsTo</code> field on the related data model. /// </para> /// </summary> public string BelongsToFieldOnRelatedModel { get { return this._belongsToFieldOnRelatedModel; } set { this._belongsToFieldOnRelatedModel = value; } } // Check to see if BelongsToFieldOnRelatedModel property is set internal bool IsSetBelongsToFieldOnRelatedModel() { return this._belongsToFieldOnRelatedModel != null; } /// <summary> /// Gets and sets the property CanUnlinkAssociatedModel. /// <para> /// Specifies whether the relationship can unlink the associated model. /// </para> /// </summary> public bool CanUnlinkAssociatedModel { get { return this._canUnlinkAssociatedModel.GetValueOrDefault(); } set { this._canUnlinkAssociatedModel = value; } } // Check to see if CanUnlinkAssociatedModel property is set internal bool IsSetCanUnlinkAssociatedModel() { return this._canUnlinkAssociatedModel.HasValue; } /// <summary> /// Gets and sets the property IsHasManyIndex. /// <para> /// Specifies whether the <code>@index</code> directive is supported for a <code>hasMany</code> /// data relationship. /// </para> /// </summary> public bool IsHasManyIndex { get { return this._isHasManyIndex.GetValueOrDefault(); } set { this._isHasManyIndex = value; } } // Check to see if IsHasManyIndex property is set internal bool IsSetIsHasManyIndex() { return this._isHasManyIndex.HasValue; } /// <summary> /// Gets and sets the property RelatedJoinFieldName. /// <para> /// The name of the related join field in the data relationship. /// </para> /// </summary> public string RelatedJoinFieldName { get { return this._relatedJoinFieldName; } set { this._relatedJoinFieldName = value; } } // Check to see if RelatedJoinFieldName property is set internal bool IsSetRelatedJoinFieldName() { return this._relatedJoinFieldName != null; } /// <summary> /// Gets and sets the property RelatedJoinTableName. /// <para> /// The name of the related join table in the data relationship. /// </para> /// </summary> public string RelatedJoinTableName { get { return this._relatedJoinTableName; } set { this._relatedJoinTableName = value; } } // Check to see if RelatedJoinTableName property is set internal bool IsSetRelatedJoinTableName() { return this._relatedJoinTableName != null; } /// <summary> /// Gets and sets the property RelatedModelFields. /// <para> /// The related model fields in the data relationship. /// </para> /// </summary> public List<string> RelatedModelFields { get { return this._relatedModelFields; } set { this._relatedModelFields = value; } } // Check to see if RelatedModelFields property is set internal bool IsSetRelatedModelFields() { return this._relatedModelFields != null && this._relatedModelFields.Count > 0; } /// <summary> /// Gets and sets the property RelatedModelName. /// <para> /// The name of the related model in the data relationship. /// </para> /// </summary> [AWSProperty(Required=true)] public string RelatedModelName { get { return this._relatedModelName; } set { this._relatedModelName = value; } } // Check to see if RelatedModelName property is set internal bool IsSetRelatedModelName() { return this._relatedModelName != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The data relationship type. /// </para> /// </summary> [AWSProperty(Required=true)] public GenericDataRelationshipType Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
212
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the configuration for a code generation job that is associated with an Amplify /// app. /// </summary> public partial class CodegenJob { private string _appId; private CodegenJobAsset _asset; private bool? _autoGenerateForms; private DateTime? _createdAt; private string _environmentName; private CodegenFeatureFlags _features; private CodegenJobGenericDataSchema _genericDataSchema; private string _id; private DateTime? _modifiedAt; private CodegenJobRenderConfig _renderConfig; private CodegenJobStatus _status; private string _statusMessage; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property AppId. /// <para> /// The ID of the Amplify app associated with the code generation job. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=20)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property Asset. /// <para> /// The <code>CodegenJobAsset</code> to use for the code generation job. /// </para> /// </summary> public CodegenJobAsset Asset { get { return this._asset; } set { this._asset = value; } } // Check to see if Asset property is set internal bool IsSetAsset() { return this._asset != null; } /// <summary> /// Gets and sets the property AutoGenerateForms. /// <para> /// Specifies whether to autogenerate forms in the code generation job. /// </para> /// </summary> public bool AutoGenerateForms { get { return this._autoGenerateForms.GetValueOrDefault(); } set { this._autoGenerateForms = value; } } // Check to see if AutoGenerateForms property is set internal bool IsSetAutoGenerateForms() { return this._autoGenerateForms.HasValue; } /// <summary> /// Gets and sets the property CreatedAt. /// <para> /// The time that the code generation job was created. /// </para> /// </summary> public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment associated with the code generation job. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Features. /// </summary> public CodegenFeatureFlags Features { get { return this._features; } set { this._features = value; } } // Check to see if Features property is set internal bool IsSetFeatures() { return this._features != null; } /// <summary> /// Gets and sets the property GenericDataSchema. /// </summary> public CodegenJobGenericDataSchema GenericDataSchema { get { return this._genericDataSchema; } set { this._genericDataSchema = value; } } // Check to see if GenericDataSchema property is set internal bool IsSetGenericDataSchema() { return this._genericDataSchema != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID for the code generation job. /// </para> /// </summary> [AWSProperty(Required=true)] 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 ModifiedAt. /// <para> /// The time that the code generation job was modified. /// </para> /// </summary> public DateTime ModifiedAt { get { return this._modifiedAt.GetValueOrDefault(); } set { this._modifiedAt = value; } } // Check to see if ModifiedAt property is set internal bool IsSetModifiedAt() { return this._modifiedAt.HasValue; } /// <summary> /// Gets and sets the property RenderConfig. /// </summary> public CodegenJobRenderConfig RenderConfig { get { return this._renderConfig; } set { this._renderConfig = value; } } // Check to see if RenderConfig property is set internal bool IsSetRenderConfig() { return this._renderConfig != null; } /// <summary> /// Gets and sets the property Status. /// <para> /// The status of the code generation job. /// </para> /// </summary> public CodegenJobStatus Status { get { return this._status; } set { this._status = value; } } // Check to see if Status property is set internal bool IsSetStatus() { return this._status != null; } /// <summary> /// Gets and sets the property StatusMessage. /// <para> /// The customized status message for the code generation job. /// </para> /// </summary> public string StatusMessage { get { return this._statusMessage; } set { this._statusMessage = value; } } // Check to see if StatusMessage property is set internal bool IsSetStatusMessage() { return this._statusMessage != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// One or more key-value pairs to use when tagging the code generation job. /// </para> /// </summary> public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
280
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes an asset for a code generation job. /// </summary> public partial class CodegenJobAsset { private string _downloadUrl; /// <summary> /// Gets and sets the property DownloadUrl. /// <para> /// The URL to use to access the asset. /// </para> /// </summary> public string DownloadUrl { get { return this._downloadUrl; } set { this._downloadUrl = value; } } // Check to see if DownloadUrl property is set internal bool IsSetDownloadUrl() { return this._downloadUrl != 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the data schema for a code generation job. /// </summary> public partial class CodegenJobGenericDataSchema { private CodegenJobGenericDataSourceType _dataSourceType; private Dictionary<string, CodegenGenericDataEnum> _enums = new Dictionary<string, CodegenGenericDataEnum>(); private Dictionary<string, CodegenGenericDataModel> _models = new Dictionary<string, CodegenGenericDataModel>(); private Dictionary<string, CodegenGenericDataNonModel> _nonModels = new Dictionary<string, CodegenGenericDataNonModel>(); /// <summary> /// Gets and sets the property DataSourceType. /// <para> /// The type of the data source for the schema. Currently, the only valid value is an /// Amplify <code>DataStore</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public CodegenJobGenericDataSourceType DataSourceType { get { return this._dataSourceType; } set { this._dataSourceType = value; } } // Check to see if DataSourceType property is set internal bool IsSetDataSourceType() { return this._dataSourceType != null; } /// <summary> /// Gets and sets the property Enums. /// <para> /// The name of a <code>CodegenGenericDataEnum</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, CodegenGenericDataEnum> Enums { get { return this._enums; } set { this._enums = value; } } // Check to see if Enums property is set internal bool IsSetEnums() { return this._enums != null && this._enums.Count > 0; } /// <summary> /// Gets and sets the property Models. /// <para> /// The name of a <code>CodegenGenericDataModel</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, CodegenGenericDataModel> Models { get { return this._models; } set { this._models = value; } } // Check to see if Models property is set internal bool IsSetModels() { return this._models != null && this._models.Count > 0; } /// <summary> /// Gets and sets the property NonModels. /// <para> /// The name of a <code>CodegenGenericDataNonModel</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, CodegenGenericDataNonModel> NonModels { get { return this._nonModels; } set { this._nonModels = value; } } // Check to see if NonModels property is set internal bool IsSetNonModels() { return this._nonModels != null && this._nonModels.Count > 0; } } }
119
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the configuration information for rendering the UI component associated /// the code generation job. /// </summary> public partial class CodegenJobRenderConfig { private ReactStartCodegenJobData _react; /// <summary> /// Gets and sets the property React. /// <para> /// The name of the <code>ReactStartCodegenJobData</code> object. /// </para> /// </summary> public ReactStartCodegenJobData React { get { return this._react; } set { this._react = value; } } // Check to see if React property is set internal bool IsSetReact() { return this._react != null; } } }
58
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// A summary of the basic information about the code generation job. /// </summary> public partial class CodegenJobSummary { private string _appId; private DateTime? _createdAt; private string _environmentName; private string _id; private DateTime? _modifiedAt; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the code generation job. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=20)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property CreatedAt. /// <para> /// The time that the code generation job summary was created. /// </para> /// </summary> public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment associated with the code generation job. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID for the code generation job summary. /// </para> /// </summary> [AWSProperty(Required=true)] 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 ModifiedAt. /// <para> /// The time that the code generation job summary was modified. /// </para> /// </summary> public DateTime ModifiedAt { get { return this._modifiedAt.GetValueOrDefault(); } set { this._modifiedAt = value; } } // Check to see if ModifiedAt property is set internal bool IsSetModifiedAt() { return this._modifiedAt.HasValue; } } }
136
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Contains the configuration settings for a user interface (UI) element for an Amplify /// app. A component is configured as a primary, stand-alone UI element. Use <code>ComponentChild</code> /// to configure an instance of a <code>Component</code>. A <code>ComponentChild</code> /// instance inherits the configuration of the main <code>Component</code>. /// </summary> public partial class Component { private string _appId; private Dictionary<string, ComponentBindingPropertiesValue> _bindingProperties = new Dictionary<string, ComponentBindingPropertiesValue>(); private List<ComponentChild> _children = new List<ComponentChild>(); private Dictionary<string, ComponentDataConfiguration> _collectionProperties = new Dictionary<string, ComponentDataConfiguration>(); private string _componentType; private DateTime? _createdAt; private string _environmentName; private Dictionary<string, ComponentEvent> _events = new Dictionary<string, ComponentEvent>(); private string _id; private DateTime? _modifiedAt; private string _name; private Dictionary<string, Dictionary<string, string>> _overrides = new Dictionary<string, Dictionary<string, string>>(); private Dictionary<string, ComponentProperty> _properties = new Dictionary<string, ComponentProperty>(); private string _schemaVersion; private string _sourceId; private Dictionary<string, string> _tags = new Dictionary<string, string>(); private List<ComponentVariant> _variants = new List<ComponentVariant>(); /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the component. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property BindingProperties. /// <para> /// The information to connect a component's properties to data at runtime. You can't /// specify <code>tags</code> as a valid property for <code>bindingProperties</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, ComponentBindingPropertiesValue> BindingProperties { get { return this._bindingProperties; } set { this._bindingProperties = value; } } // Check to see if BindingProperties property is set internal bool IsSetBindingProperties() { return this._bindingProperties != null && this._bindingProperties.Count > 0; } /// <summary> /// Gets and sets the property Children. /// <para> /// A list of the component's <code>ComponentChild</code> instances. /// </para> /// </summary> public List<ComponentChild> Children { get { return this._children; } set { this._children = value; } } // Check to see if Children property is set internal bool IsSetChildren() { return this._children != null && this._children.Count > 0; } /// <summary> /// Gets and sets the property CollectionProperties. /// <para> /// The data binding configuration for the component's properties. Use this for a collection /// component. You can't specify <code>tags</code> as a valid property for <code>collectionProperties</code>. /// </para> /// </summary> public Dictionary<string, ComponentDataConfiguration> CollectionProperties { get { return this._collectionProperties; } set { this._collectionProperties = value; } } // Check to see if CollectionProperties property is set internal bool IsSetCollectionProperties() { return this._collectionProperties != null && this._collectionProperties.Count > 0; } /// <summary> /// Gets and sets the property ComponentType. /// <para> /// The type of the component. This can be an Amplify custom UI component or another custom /// component. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string ComponentType { get { return this._componentType; } set { this._componentType = value; } } // Check to see if ComponentType property is set internal bool IsSetComponentType() { return this._componentType != null; } /// <summary> /// Gets and sets the property CreatedAt. /// <para> /// The time that the component was created. /// </para> /// </summary> [AWSProperty(Required=true)] public DateTime CreatedAt { get { return this._createdAt.GetValueOrDefault(); } set { this._createdAt = value; } } // Check to see if CreatedAt property is set internal bool IsSetCreatedAt() { return this._createdAt.HasValue; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Events. /// <para> /// Describes the events that can be raised on the component. Use for the workflow feature /// in Amplify Studio that allows you to bind events and actions to components. /// </para> /// </summary> public Dictionary<string, ComponentEvent> Events { get { return this._events; } set { this._events = value; } } // Check to see if Events property is set internal bool IsSetEvents() { return this._events != null && this._events.Count > 0; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of the component. /// </para> /// </summary> [AWSProperty(Required=true)] 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 ModifiedAt. /// <para> /// The time that the component was modified. /// </para> /// </summary> public DateTime ModifiedAt { get { return this._modifiedAt.GetValueOrDefault(); } set { this._modifiedAt = value; } } // Check to see if ModifiedAt property is set internal bool IsSetModifiedAt() { return this._modifiedAt.HasValue; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the component. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] 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 Overrides. /// <para> /// Describes the component's properties that can be overriden in a customized instance /// of the component. You can't specify <code>tags</code> as a valid property for <code>overrides</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, Dictionary<string, string>> Overrides { get { return this._overrides; } set { this._overrides = value; } } // Check to see if Overrides property is set internal bool IsSetOverrides() { return this._overrides != null && this._overrides.Count > 0; } /// <summary> /// Gets and sets the property Properties. /// <para> /// Describes the component's properties. You can't specify <code>tags</code> as a valid /// property for <code>properties</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, ComponentProperty> Properties { get { return this._properties; } set { this._properties = value; } } // Check to see if Properties property is set internal bool IsSetProperties() { return this._properties != null && this._properties.Count > 0; } /// <summary> /// Gets and sets the property SchemaVersion. /// <para> /// The schema version of the component when it was imported. /// </para> /// </summary> public string SchemaVersion { get { return this._schemaVersion; } set { this._schemaVersion = value; } } // Check to see if SchemaVersion property is set internal bool IsSetSchemaVersion() { return this._schemaVersion != null; } /// <summary> /// Gets and sets the property SourceId. /// <para> /// The unique ID of the component in its original source system, such as Figma. /// </para> /// </summary> public string SourceId { get { return this._sourceId; } set { this._sourceId = value; } } // Check to see if SourceId property is set internal bool IsSetSourceId() { return this._sourceId != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// One or more key-value pairs to use when tagging the component. /// </para> /// </summary> public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// <summary> /// Gets and sets the property Variants. /// <para> /// A list of the component's variants. A variant is a unique style configuration of a /// main component. /// </para> /// </summary> [AWSProperty(Required=true)] public List<ComponentVariant> Variants { get { return this._variants; } set { this._variants = value; } } // Check to see if Variants property is set internal bool IsSetVariants() { return this._variants != null && this._variants.Count > 0; } } }
381
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Represents the data binding configuration for a component at runtime. You can use /// <code>ComponentBindingPropertiesValue</code> to add exposed properties to a component /// to allow different values to be entered when a component is reused in different places /// in an app. /// </summary> public partial class ComponentBindingPropertiesValue { private ComponentBindingPropertiesValueProperties _bindingProperties; private string _defaultValue; private string _type; /// <summary> /// Gets and sets the property BindingProperties. /// <para> /// Describes the properties to customize with data at runtime. /// </para> /// </summary> public ComponentBindingPropertiesValueProperties BindingProperties { get { return this._bindingProperties; } set { this._bindingProperties = value; } } // Check to see if BindingProperties property is set internal bool IsSetBindingProperties() { return this._bindingProperties != null; } /// <summary> /// Gets and sets the property DefaultValue. /// <para> /// The default value of the property. /// </para> /// </summary> public string DefaultValue { get { return this._defaultValue; } set { this._defaultValue = value; } } // Check to see if DefaultValue property is set internal bool IsSetDefaultValue() { return this._defaultValue != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The property type. /// </para> /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } } }
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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Represents the data binding configuration for a specific property using data stored /// in Amazon Web Services. For Amazon Web Services connected properties, you can bind /// a property to data stored in an Amazon S3 bucket, an Amplify DataStore model or an /// authenticated user attribute. /// </summary> public partial class ComponentBindingPropertiesValueProperties { private string _bucket; private string _defaultValue; private string _field; private string _key; private string _model; private List<Predicate> _predicates = new List<Predicate>(); private string _slotName; private string _userAttribute; /// <summary> /// Gets and sets the property Bucket. /// <para> /// An Amazon S3 bucket. /// </para> /// </summary> public string Bucket { get { return this._bucket; } set { this._bucket = value; } } // Check to see if Bucket property is set internal bool IsSetBucket() { return this._bucket != null; } /// <summary> /// Gets and sets the property DefaultValue. /// <para> /// The default value to assign to the property. /// </para> /// </summary> public string DefaultValue { get { return this._defaultValue; } set { this._defaultValue = value; } } // Check to see if DefaultValue property is set internal bool IsSetDefaultValue() { return this._defaultValue != null; } /// <summary> /// Gets and sets the property Field. /// <para> /// The field to bind the data to. /// </para> /// </summary> public string Field { get { return this._field; } set { this._field = value; } } // Check to see if Field property is set internal bool IsSetField() { return this._field != null; } /// <summary> /// Gets and sets the property Key. /// <para> /// The storage key for an Amazon S3 bucket. /// </para> /// </summary> public string Key { get { return this._key; } set { this._key = value; } } // Check to see if Key property is set internal bool IsSetKey() { return this._key != null; } /// <summary> /// Gets and sets the property Model. /// <para> /// An Amplify DataStore model. /// </para> /// </summary> public string Model { get { return this._model; } set { this._model = value; } } // Check to see if Model property is set internal bool IsSetModel() { return this._model != null; } /// <summary> /// Gets and sets the property Predicates. /// <para> /// A list of predicates for binding a component's properties to data. /// </para> /// </summary> public List<Predicate> Predicates { get { return this._predicates; } set { this._predicates = value; } } // Check to see if Predicates property is set internal bool IsSetPredicates() { return this._predicates != null && this._predicates.Count > 0; } /// <summary> /// Gets and sets the property SlotName. /// <para> /// The name of a component slot. /// </para> /// </summary> public string SlotName { get { return this._slotName; } set { this._slotName = value; } } // Check to see if SlotName property is set internal bool IsSetSlotName() { return this._slotName != null; } /// <summary> /// Gets and sets the property UserAttribute. /// <para> /// An authenticated user attribute. /// </para> /// </summary> public string UserAttribute { get { return this._userAttribute; } set { this._userAttribute = value; } } // Check to see if UserAttribute property is set internal bool IsSetUserAttribute() { return this._userAttribute != null; } } }
193
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// A nested UI configuration within a parent <code>Component</code>. /// </summary> public partial class ComponentChild { private List<ComponentChild> _children = new List<ComponentChild>(); private string _componentType; private Dictionary<string, ComponentEvent> _events = new Dictionary<string, ComponentEvent>(); private string _name; private Dictionary<string, ComponentProperty> _properties = new Dictionary<string, ComponentProperty>(); private string _sourceId; /// <summary> /// Gets and sets the property Children. /// <para> /// The list of <code>ComponentChild</code> instances for this component. /// </para> /// </summary> public List<ComponentChild> Children { get { return this._children; } set { this._children = value; } } // Check to see if Children property is set internal bool IsSetChildren() { return this._children != null && this._children.Count > 0; } /// <summary> /// Gets and sets the property ComponentType. /// <para> /// The type of the child component. /// </para> /// </summary> [AWSProperty(Required=true)] public string ComponentType { get { return this._componentType; } set { this._componentType = value; } } // Check to see if ComponentType property is set internal bool IsSetComponentType() { return this._componentType != null; } /// <summary> /// Gets and sets the property Events. /// <para> /// Describes the events that can be raised on the child component. Use for the workflow /// feature in Amplify Studio that allows you to bind events and actions to components. /// </para> /// </summary> public Dictionary<string, ComponentEvent> Events { get { return this._events; } set { this._events = value; } } // Check to see if Events property is set internal bool IsSetEvents() { return this._events != null && this._events.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the child component. /// </para> /// </summary> [AWSProperty(Required=true)] public string Name { get { return this._name; } set { this._name = value; } } // Check to see if Name property is set internal bool IsSetName() { return this._name != null; } /// <summary> /// Gets and sets the property Properties. /// <para> /// Describes the properties of the child component. You can't specify <code>tags</code> /// as a valid property for <code>properties</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, ComponentProperty> Properties { get { return this._properties; } set { this._properties = value; } } // Check to see if Properties property is set internal bool IsSetProperties() { return this._properties != null && this._properties.Count > 0; } /// <summary> /// Gets and sets the property SourceId. /// <para> /// The unique ID of the child component in its original source system, such as Figma. /// </para> /// </summary> public string SourceId { get { return this._sourceId; } set { this._sourceId = value; } } // Check to see if SourceId property is set internal bool IsSetSourceId() { return this._sourceId != null; } } }
157
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Represents a conditional expression to set a component property. Use <code>ComponentConditionProperty</code> /// to set a property to different values conditionally, based on the value of another /// property. /// </summary> public partial class ComponentConditionProperty { private ComponentProperty _else; private string _field; private string _operand; private string _operandType; private string _operator; private string _property; private ComponentProperty _then; /// <summary> /// Gets and sets the property Else. /// <para> /// The value to assign to the property if the condition is not met. /// </para> /// </summary> public ComponentProperty Else { get { return this._else; } set { this._else = value; } } // Check to see if Else property is set internal bool IsSetElse() { return this._else != null; } /// <summary> /// Gets and sets the property Field. /// <para> /// The name of a field. Specify this when the property is a data model. /// </para> /// </summary> public string Field { get { return this._field; } set { this._field = value; } } // Check to see if Field property is set internal bool IsSetField() { return this._field != null; } /// <summary> /// Gets and sets the property Operand. /// <para> /// The value of the property to evaluate. /// </para> /// </summary> public string Operand { get { return this._operand; } set { this._operand = value; } } // Check to see if Operand property is set internal bool IsSetOperand() { return this._operand != null; } /// <summary> /// Gets and sets the property OperandType. /// <para> /// The type of the property to evaluate. /// </para> /// </summary> public string OperandType { get { return this._operandType; } set { this._operandType = value; } } // Check to see if OperandType property is set internal bool IsSetOperandType() { return this._operandType != null; } /// <summary> /// Gets and sets the property Operator. /// <para> /// The operator to use to perform the evaluation, such as <code>eq</code> to represent /// equals. /// </para> /// </summary> public string Operator { get { return this._operator; } set { this._operator = value; } } // Check to see if Operator property is set internal bool IsSetOperator() { return this._operator != null; } /// <summary> /// Gets and sets the property Property. /// <para> /// The name of the conditional property. /// </para> /// </summary> public string Property { get { return this._property; } set { this._property = value; } } // Check to see if Property property is set internal bool IsSetProperty() { return this._property != null; } /// <summary> /// Gets and sets the property Then. /// <para> /// The value to assign to the property if the condition is met. /// </para> /// </summary> public ComponentProperty Then { get { return this._then; } set { this._then = value; } } // Check to see if Then property is set internal bool IsSetThen() { return this._then != null; } } }
174
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the configuration for binding a component's properties to data. /// </summary> public partial class ComponentDataConfiguration { private List<string> _identifiers = new List<string>(); private string _model; private Predicate _predicate; private List<SortProperty> _sort = new List<SortProperty>(); /// <summary> /// Gets and sets the property Identifiers. /// <para> /// A list of IDs to use to bind data to a component. Use this property to bind specifically /// chosen data, rather than data retrieved from a query. /// </para> /// </summary> public List<string> Identifiers { get { return this._identifiers; } set { this._identifiers = value; } } // Check to see if Identifiers property is set internal bool IsSetIdentifiers() { return this._identifiers != null && this._identifiers.Count > 0; } /// <summary> /// Gets and sets the property Model. /// <para> /// The name of the data model to use to bind data to a component. /// </para> /// </summary> [AWSProperty(Required=true)] public string Model { get { return this._model; } set { this._model = value; } } // Check to see if Model property is set internal bool IsSetModel() { return this._model != null; } /// <summary> /// Gets and sets the property Predicate. /// <para> /// Represents the conditional logic to use when binding data to a component. Use this /// property to retrieve only a subset of the data in a collection. /// </para> /// </summary> public Predicate Predicate { get { return this._predicate; } set { this._predicate = value; } } // Check to see if Predicate property is set internal bool IsSetPredicate() { return this._predicate != null; } /// <summary> /// Gets and sets the property Sort. /// <para> /// Describes how to sort the component's properties. /// </para> /// </summary> public List<SortProperty> Sort { get { return this._sort; } set { this._sort = value; } } // Check to see if Sort property is set internal bool IsSetSort() { return this._sort != null && this._sort.Count > 0; } } }
117
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the configuration of an event. You can bind an event and a corresponding /// action to a <code>Component</code> or a <code>ComponentChild</code>. A button click /// is an example of an event. /// </summary> public partial class ComponentEvent { private string _action; private string _bindingEvent; private ActionParameters _parameters; /// <summary> /// Gets and sets the property Action. /// <para> /// The action to perform when a specific event is raised. /// </para> /// </summary> public string Action { get { return this._action; } set { this._action = value; } } // Check to see if Action property is set internal bool IsSetAction() { return this._action != null; } /// <summary> /// Gets and sets the property BindingEvent. /// <para> /// Binds an event to an action on a component. When you specify a <code>bindingEvent</code>, /// the event is called when the action is performed. /// </para> /// </summary> public string BindingEvent { get { return this._bindingEvent; } set { this._bindingEvent = value; } } // Check to see if BindingEvent property is set internal bool IsSetBindingEvent() { return this._bindingEvent != null; } /// <summary> /// Gets and sets the property Parameters. /// <para> /// Describes information about the action. /// </para> /// </summary> public ActionParameters Parameters { get { return this._parameters; } set { this._parameters = value; } } // Check to see if Parameters property is set internal bool IsSetParameters() { return this._parameters != null; } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the configuration for all of a component's properties. Use <code>ComponentProperty</code> /// to specify the values to render or bind by default. /// </summary> public partial class ComponentProperty { private ComponentPropertyBindingProperties _bindingProperties; private Dictionary<string, FormBindingElement> _bindings = new Dictionary<string, FormBindingElement>(); private ComponentPropertyBindingProperties _collectionBindingProperties; private string _componentName; private List<ComponentProperty> _concat = new List<ComponentProperty>(); private ComponentConditionProperty _condition; private bool? _configured; private string _defaultValue; private string _event; private string _importedValue; private string _model; private string _property; private string _type; private string _userAttribute; private string _value; /// <summary> /// Gets and sets the property BindingProperties. /// <para> /// The information to bind the component property to data at runtime. /// </para> /// </summary> public ComponentPropertyBindingProperties BindingProperties { get { return this._bindingProperties; } set { this._bindingProperties = value; } } // Check to see if BindingProperties property is set internal bool IsSetBindingProperties() { return this._bindingProperties != null; } /// <summary> /// Gets and sets the property Bindings. /// <para> /// The information to bind the component property to form data. /// </para> /// </summary> public Dictionary<string, FormBindingElement> Bindings { get { return this._bindings; } set { this._bindings = value; } } // Check to see if Bindings property is set internal bool IsSetBindings() { return this._bindings != null && this._bindings.Count > 0; } /// <summary> /// Gets and sets the property CollectionBindingProperties. /// <para> /// The information to bind the component property to data at runtime. Use this for collection /// components. /// </para> /// </summary> public ComponentPropertyBindingProperties CollectionBindingProperties { get { return this._collectionBindingProperties; } set { this._collectionBindingProperties = value; } } // Check to see if CollectionBindingProperties property is set internal bool IsSetCollectionBindingProperties() { return this._collectionBindingProperties != null; } /// <summary> /// Gets and sets the property ComponentName. /// <para> /// The name of the component that is affected by an event. /// </para> /// </summary> public string ComponentName { get { return this._componentName; } set { this._componentName = value; } } // Check to see if ComponentName property is set internal bool IsSetComponentName() { return this._componentName != null; } /// <summary> /// Gets and sets the property Concat. /// <para> /// A list of component properties to concatenate to create the value to assign to this /// component property. /// </para> /// </summary> public List<ComponentProperty> Concat { get { return this._concat; } set { this._concat = value; } } // Check to see if Concat property is set internal bool IsSetConcat() { return this._concat != null && this._concat.Count > 0; } /// <summary> /// Gets and sets the property Condition. /// <para> /// The conditional expression to use to assign a value to the component property. /// </para> /// </summary> public ComponentConditionProperty Condition { get { return this._condition; } set { this._condition = value; } } // Check to see if Condition property is set internal bool IsSetCondition() { return this._condition != null; } /// <summary> /// Gets and sets the property Configured. /// <para> /// Specifies whether the user configured the property in Amplify Studio after importing /// it. /// </para> /// </summary> public bool Configured { get { return this._configured.GetValueOrDefault(); } set { this._configured = value; } } // Check to see if Configured property is set internal bool IsSetConfigured() { return this._configured.HasValue; } /// <summary> /// Gets and sets the property DefaultValue. /// <para> /// The default value to assign to the component property. /// </para> /// </summary> public string DefaultValue { get { return this._defaultValue; } set { this._defaultValue = value; } } // Check to see if DefaultValue property is set internal bool IsSetDefaultValue() { return this._defaultValue != null; } /// <summary> /// Gets and sets the property Event. /// <para> /// An event that occurs in your app. Use this for workflow data binding. /// </para> /// </summary> public string Event { get { return this._event; } set { this._event = value; } } // Check to see if Event property is set internal bool IsSetEvent() { return this._event != null; } /// <summary> /// Gets and sets the property ImportedValue. /// <para> /// The default value assigned to the property when the component is imported into an /// app. /// </para> /// </summary> public string ImportedValue { get { return this._importedValue; } set { this._importedValue = value; } } // Check to see if ImportedValue property is set internal bool IsSetImportedValue() { return this._importedValue != null; } /// <summary> /// Gets and sets the property Model. /// <para> /// The data model to use to assign a value to the component property. /// </para> /// </summary> public string Model { get { return this._model; } set { this._model = value; } } // Check to see if Model property is set internal bool IsSetModel() { return this._model != null; } /// <summary> /// Gets and sets the property Property. /// <para> /// The name of the component's property that is affected by an event. /// </para> /// </summary> public string Property { get { return this._property; } set { this._property = value; } } // Check to see if Property property is set internal bool IsSetProperty() { return this._property != null; } /// <summary> /// Gets and sets the property Type. /// <para> /// The component type. /// </para> /// </summary> public string Type { get { return this._type; } set { this._type = value; } } // Check to see if Type property is set internal bool IsSetType() { return this._type != null; } /// <summary> /// Gets and sets the property UserAttribute. /// <para> /// An authenticated user attribute to use to assign a value to the component property. /// </para> /// </summary> public string UserAttribute { get { return this._userAttribute; } set { this._userAttribute = value; } } // Check to see if UserAttribute property is set internal bool IsSetUserAttribute() { return this._userAttribute != null; } /// <summary> /// Gets and sets the property Value. /// <para> /// The value to assign to the component property. /// </para> /// </summary> public string Value { get { return this._value; } set { this._value = value; } } // Check to see if Value property is set internal bool IsSetValue() { return this._value != null; } } }
328
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Associates a component property to a binding property. This enables exposed properties /// on the top level component to propagate data to the component's property values. /// </summary> public partial class ComponentPropertyBindingProperties { private string _field; private string _property; /// <summary> /// Gets and sets the property Field. /// <para> /// The data field to bind the property to. /// </para> /// </summary> public string Field { get { return this._field; } set { this._field = value; } } // Check to see if Field property is set internal bool IsSetField() { return this._field != null; } /// <summary> /// Gets and sets the property Property. /// <para> /// The component property to bind to the data field. /// </para> /// </summary> [AWSProperty(Required=true)] public string Property { get { return this._property; } set { this._property = value; } } // Check to see if Property property is set internal bool IsSetProperty() { return this._property != null; } } }
78
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Contains a summary of a component. This is a read-only data type that is returned /// by <code>ListComponents</code>. /// </summary> public partial class ComponentSummary { private string _appId; private string _componentType; private string _environmentName; private string _id; private string _name; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the component. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property ComponentType. /// <para> /// The component type. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string ComponentType { get { return this._componentType; } set { this._componentType = value; } } // Check to see if ComponentType property is set internal bool IsSetComponentType() { return this._componentType != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of the component. /// </para> /// </summary> [AWSProperty(Required=true)] public string Id { get { return this._id; } set { this._id = value; } } // Check to see if Id property is set internal bool IsSetId() { return this._id != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the component. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] 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; } } }
139
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the style configuration of a unique variation of a main component. /// </summary> public partial class ComponentVariant { private Dictionary<string, Dictionary<string, string>> _overrides = new Dictionary<string, Dictionary<string, string>>(); private Dictionary<string, string> _variantValues = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Overrides. /// <para> /// The properties of the component variant that can be overriden when customizing an /// instance of the component. You can't specify <code>tags</code> as a valid property /// for <code>overrides</code>. /// </para> /// </summary> public Dictionary<string, Dictionary<string, string>> Overrides { get { return this._overrides; } set { this._overrides = value; } } // Check to see if Overrides property is set internal bool IsSetOverrides() { return this._overrides != null && this._overrides.Count > 0; } /// <summary> /// Gets and sets the property VariantValues. /// <para> /// The combination of variants that comprise this variant. You can't specify <code>tags</code> /// as a valid property for <code>variantValues</code>. /// </para> /// </summary> public Dictionary<string, string> VariantValues { get { return this._variantValues; } set { this._variantValues = value; } } // Check to see if VariantValues property is set internal bool IsSetVariantValues() { return this._variantValues != null && this._variantValues.Count > 0; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Represents all of the information that is required to create a component. /// </summary> public partial class CreateComponentData { private Dictionary<string, ComponentBindingPropertiesValue> _bindingProperties = new Dictionary<string, ComponentBindingPropertiesValue>(); private List<ComponentChild> _children = new List<ComponentChild>(); private Dictionary<string, ComponentDataConfiguration> _collectionProperties = new Dictionary<string, ComponentDataConfiguration>(); private string _componentType; private Dictionary<string, ComponentEvent> _events = new Dictionary<string, ComponentEvent>(); private string _name; private Dictionary<string, Dictionary<string, string>> _overrides = new Dictionary<string, Dictionary<string, string>>(); private Dictionary<string, ComponentProperty> _properties = new Dictionary<string, ComponentProperty>(); private string _schemaVersion; private string _sourceId; private Dictionary<string, string> _tags = new Dictionary<string, string>(); private List<ComponentVariant> _variants = new List<ComponentVariant>(); /// <summary> /// Gets and sets the property BindingProperties. /// <para> /// The data binding information for the component's properties. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, ComponentBindingPropertiesValue> BindingProperties { get { return this._bindingProperties; } set { this._bindingProperties = value; } } // Check to see if BindingProperties property is set internal bool IsSetBindingProperties() { return this._bindingProperties != null && this._bindingProperties.Count > 0; } /// <summary> /// Gets and sets the property Children. /// <para> /// A list of child components that are instances of the main component. /// </para> /// </summary> public List<ComponentChild> Children { get { return this._children; } set { this._children = value; } } // Check to see if Children property is set internal bool IsSetChildren() { return this._children != null && this._children.Count > 0; } /// <summary> /// Gets and sets the property CollectionProperties. /// <para> /// The data binding configuration for customizing a component's properties. Use this /// for a collection component. /// </para> /// </summary> public Dictionary<string, ComponentDataConfiguration> CollectionProperties { get { return this._collectionProperties; } set { this._collectionProperties = value; } } // Check to see if CollectionProperties property is set internal bool IsSetCollectionProperties() { return this._collectionProperties != null && this._collectionProperties.Count > 0; } /// <summary> /// Gets and sets the property ComponentType. /// <para> /// The component type. This can be an Amplify custom UI component or another custom component. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] public string ComponentType { get { return this._componentType; } set { this._componentType = value; } } // Check to see if ComponentType property is set internal bool IsSetComponentType() { return this._componentType != null; } /// <summary> /// Gets and sets the property Events. /// <para> /// The event configuration for the component. Use for the workflow feature in Amplify /// Studio that allows you to bind events and actions to components. /// </para> /// </summary> public Dictionary<string, ComponentEvent> Events { get { return this._events; } set { this._events = value; } } // Check to see if Events property is set internal bool IsSetEvents() { return this._events != null && this._events.Count > 0; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the component /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] 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 Overrides. /// <para> /// Describes the component properties that can be overriden to customize an instance /// of the component. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, Dictionary<string, string>> Overrides { get { return this._overrides; } set { this._overrides = value; } } // Check to see if Overrides property is set internal bool IsSetOverrides() { return this._overrides != null && this._overrides.Count > 0; } /// <summary> /// Gets and sets the property Properties. /// <para> /// Describes the component's properties. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, ComponentProperty> Properties { get { return this._properties; } set { this._properties = value; } } // Check to see if Properties property is set internal bool IsSetProperties() { return this._properties != null && this._properties.Count > 0; } /// <summary> /// Gets and sets the property SchemaVersion. /// <para> /// The schema version of the component when it was imported. /// </para> /// </summary> public string SchemaVersion { get { return this._schemaVersion; } set { this._schemaVersion = value; } } // Check to see if SchemaVersion property is set internal bool IsSetSchemaVersion() { return this._schemaVersion != null; } /// <summary> /// Gets and sets the property SourceId. /// <para> /// The unique ID of the component in its original source system, such as Figma. /// </para> /// </summary> public string SourceId { get { return this._sourceId; } set { this._sourceId = value; } } // Check to see if SourceId property is set internal bool IsSetSourceId() { return this._sourceId != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// One or more key-value pairs to use when tagging the component data. /// </para> /// </summary> public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } /// <summary> /// Gets and sets the property Variants. /// <para> /// A list of the unique variants of this component. /// </para> /// </summary> [AWSProperty(Required=true)] public List<ComponentVariant> Variants { get { return this._variants; } set { this._variants = value; } } // Check to see if Variants property is set internal bool IsSetVariants() { return this._variants != null && this._variants.Count > 0; } } }
275
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the CreateComponent operation. /// Creates a new component for an Amplify app. /// </summary> public partial class CreateComponentRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _clientToken; private CreateComponentData _componentToCreate; private string _environmentName; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app to associate with the component. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// The unique client token. /// </para> /// </summary> 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 ComponentToCreate. /// <para> /// Represents the configuration of the component to create. /// </para> /// </summary> [AWSProperty(Required=true)] public CreateComponentData ComponentToCreate { get { return this._componentToCreate; } set { this._componentToCreate = value; } } // Check to see if ComponentToCreate property is set internal bool IsSetComponentToCreate() { return this._componentToCreate != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the CreateComponent operation. /// </summary> public partial class CreateComponentResponse : AmazonWebServiceResponse { private Component _entity; /// <summary> /// Gets and sets the property Entity. /// <para> /// Describes the configuration of the new component. /// </para> /// </summary> public Component Entity { get { return this._entity; } set { this._entity = value; } } // Check to see if Entity property is set internal bool IsSetEntity() { return this._entity != 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Represents all of the information that is required to create a form. /// </summary> public partial class CreateFormData { private FormCTA _cta; private FormDataTypeConfig _dataType; private Dictionary<string, FieldConfig> _fields = new Dictionary<string, FieldConfig>(); private FormActionType _formActionType; private LabelDecorator _labelDecorator; private string _name; private string _schemaVersion; private Dictionary<string, SectionalElement> _sectionalElements = new Dictionary<string, SectionalElement>(); private FormStyle _style; private Dictionary<string, string> _tags = new Dictionary<string, string>(); /// <summary> /// Gets and sets the property Cta. /// <para> /// The <code>FormCTA</code> object that stores the call to action configuration for the /// form. /// </para> /// </summary> public FormCTA Cta { get { return this._cta; } set { this._cta = value; } } // Check to see if Cta property is set internal bool IsSetCta() { return this._cta != null; } /// <summary> /// Gets and sets the property DataType. /// <para> /// The type of data source to use to create the form. /// </para> /// </summary> [AWSProperty(Required=true)] public FormDataTypeConfig DataType { get { return this._dataType; } set { this._dataType = value; } } // Check to see if DataType property is set internal bool IsSetDataType() { return this._dataType != null; } /// <summary> /// Gets and sets the property Fields. /// <para> /// The configuration information for the form's fields. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, FieldConfig> Fields { get { return this._fields; } set { this._fields = value; } } // Check to see if Fields property is set internal bool IsSetFields() { return this._fields != null && this._fields.Count > 0; } /// <summary> /// Gets and sets the property FormActionType. /// <para> /// Specifies whether to perform a create or update action on the form. /// </para> /// </summary> [AWSProperty(Required=true)] public FormActionType FormActionType { get { return this._formActionType; } set { this._formActionType = value; } } // Check to see if FormActionType property is set internal bool IsSetFormActionType() { return this._formActionType != null; } /// <summary> /// Gets and sets the property LabelDecorator. /// <para> /// Specifies an icon or decoration to display on the form. /// </para> /// </summary> public LabelDecorator LabelDecorator { get { return this._labelDecorator; } set { this._labelDecorator = value; } } // Check to see if LabelDecorator property is set internal bool IsSetLabelDecorator() { return this._labelDecorator != null; } /// <summary> /// Gets and sets the property Name. /// <para> /// The name of the form. /// </para> /// </summary> [AWSProperty(Required=true, Min=1, Max=255)] 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 SchemaVersion. /// <para> /// The schema version of the form. /// </para> /// </summary> [AWSProperty(Required=true)] public string SchemaVersion { get { return this._schemaVersion; } set { this._schemaVersion = value; } } // Check to see if SchemaVersion property is set internal bool IsSetSchemaVersion() { return this._schemaVersion != null; } /// <summary> /// Gets and sets the property SectionalElements. /// <para> /// The configuration information for the visual helper elements for the form. These elements /// are not associated with any data. /// </para> /// </summary> [AWSProperty(Required=true)] public Dictionary<string, SectionalElement> SectionalElements { get { return this._sectionalElements; } set { this._sectionalElements = value; } } // Check to see if SectionalElements property is set internal bool IsSetSectionalElements() { return this._sectionalElements != null && this._sectionalElements.Count > 0; } /// <summary> /// Gets and sets the property Style. /// <para> /// The configuration for the form's style. /// </para> /// </summary> [AWSProperty(Required=true)] public FormStyle Style { get { return this._style; } set { this._style = value; } } // Check to see if Style property is set internal bool IsSetStyle() { return this._style != null; } /// <summary> /// Gets and sets the property Tags. /// <para> /// One or more key-value pairs to use when tagging the form data. /// </para> /// </summary> public Dictionary<string, string> Tags { get { return this._tags; } set { this._tags = value; } } // Check to see if Tags property is set internal bool IsSetTags() { return this._tags != null && this._tags.Count > 0; } } }
237
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the CreateForm operation. /// Creates a new form for an Amplify. /// </summary> public partial class CreateFormRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _clientToken; private string _environmentName; private CreateFormData _formToCreate; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app to associate with the form. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// The unique client token. /// </para> /// </summary> 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 EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property FormToCreate. /// <para> /// Represents the configuration of the form to create. /// </para> /// </summary> [AWSProperty(Required=true)] public CreateFormData FormToCreate { get { return this._formToCreate; } set { this._formToCreate = value; } } // Check to see if FormToCreate property is set internal bool IsSetFormToCreate() { return this._formToCreate != null; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the CreateForm operation. /// </summary> public partial class CreateFormResponse : AmazonWebServiceResponse { private Form _entity; /// <summary> /// Gets and sets the property Entity. /// <para> /// Describes the configuration of the new form. /// </para> /// </summary> public Form Entity { get { return this._entity; } set { this._entity = value; } } // Check to see if Entity property is set internal bool IsSetEntity() { return this._entity != 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the CreateTheme operation. /// Creates a theme to apply to the components in an Amplify app. /// </summary> public partial class CreateThemeRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _clientToken; private string _environmentName; private CreateThemeData _themeToCreate; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the theme. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property ClientToken. /// <para> /// The unique client token. /// </para> /// </summary> 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 EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property ThemeToCreate. /// <para> /// Represents the configuration of the theme to create. /// </para> /// </summary> [AWSProperty(Required=true)] public CreateThemeData ThemeToCreate { get { return this._themeToCreate; } set { this._themeToCreate = value; } } // Check to see if ThemeToCreate property is set internal bool IsSetThemeToCreate() { return this._themeToCreate != null; } } }
118
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the CreateTheme operation. /// </summary> public partial class CreateThemeResponse : AmazonWebServiceResponse { private Theme _entity; /// <summary> /// Gets and sets the property Entity. /// <para> /// Describes the configuration of the new theme. /// </para> /// </summary> public Theme Entity { get { return this._entity; } set { this._entity = value; } } // Check to see if Entity property is set internal bool IsSetEntity() { return this._entity != 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 amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the DeleteComponent operation. /// Deletes a component from an Amplify app. /// </summary> public partial class DeleteComponentRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _environmentName; private string _id; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the component to delete. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of the component to delete. /// </para> /// </summary> [AWSProperty(Required=true)] 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; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the DeleteComponent operation. /// </summary> public partial class DeleteComponentResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the DeleteForm operation. /// Deletes a form from an Amplify app. /// </summary> public partial class DeleteFormRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _environmentName; private string _id; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the form to delete. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of the form to delete. /// </para> /// </summary> [AWSProperty(Required=true)] 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; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the DeleteForm operation. /// </summary> public partial class DeleteFormResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the DeleteTheme operation. /// Deletes a theme from an Amplify app. /// </summary> public partial class DeleteThemeRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _environmentName; private string _id; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app associated with the theme to delete. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property Id. /// <para> /// The unique ID of the theme to delete. /// </para> /// </summary> [AWSProperty(Required=true)] 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; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the DeleteTheme operation. /// </summary> public partial class DeleteThemeResponse : AmazonWebServiceResponse { } }
38
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the ExchangeCodeForToken operation. /// Exchanges an access code for a token. /// </summary> public partial class ExchangeCodeForTokenRequest : AmazonAmplifyUIBuilderRequest { private TokenProviders _provider; private ExchangeCodeForTokenRequestBody _request; /// <summary> /// Gets and sets the property Provider. /// <para> /// The third-party provider for the token. The only valid value is <code>figma</code>. /// </para> /// </summary> [AWSProperty(Required=true)] public TokenProviders Provider { get { return this._provider; } set { this._provider = value; } } // Check to see if Provider property is set internal bool IsSetProvider() { return this._provider != null; } /// <summary> /// Gets and sets the property Request. /// <para> /// Describes the configuration of the request. /// </para> /// </summary> [AWSProperty(Required=true)] public ExchangeCodeForTokenRequestBody Request { get { return this._request; } set { this._request = value; } } // Check to see if Request property is set internal bool IsSetRequest() { return this._request != null; } } }
79
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Describes the configuration of a request to exchange an access code for a token. /// </summary> public partial class ExchangeCodeForTokenRequestBody { private string _clientId; private string _code; private string _redirectUri; /// <summary> /// Gets and sets the property ClientId. /// <para> /// The ID of the client to request the token from. /// </para> /// </summary> [AWSProperty(Sensitive=true)] public string ClientId { get { return this._clientId; } set { this._clientId = value; } } // Check to see if ClientId property is set internal bool IsSetClientId() { return this._clientId != null; } /// <summary> /// Gets and sets the property Code. /// <para> /// The access code to send in the request. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true)] public string Code { get { return this._code; } set { this._code = value; } } // Check to see if Code property is set internal bool IsSetCode() { return this._code != null; } /// <summary> /// Gets and sets the property RedirectUri. /// <para> /// The location of the application that will receive the access code. /// </para> /// </summary> [AWSProperty(Required=true)] public string RedirectUri { get { return this._redirectUri; } set { this._redirectUri = value; } } // Check to see if RedirectUri property is set internal bool IsSetRedirectUri() { return this._redirectUri != null; } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the ExchangeCodeForToken operation. /// </summary> public partial class ExchangeCodeForTokenResponse : AmazonWebServiceResponse { private string _accessToken; private int? _expiresIn; private string _refreshToken; /// <summary> /// Gets and sets the property AccessToken. /// <para> /// The access token. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true)] public string AccessToken { get { return this._accessToken; } set { this._accessToken = value; } } // Check to see if AccessToken property is set internal bool IsSetAccessToken() { return this._accessToken != null; } /// <summary> /// Gets and sets the property ExpiresIn. /// <para> /// The date and time when the new access token expires. /// </para> /// </summary> [AWSProperty(Required=true)] public int ExpiresIn { get { return this._expiresIn.GetValueOrDefault(); } set { this._expiresIn = value; } } // Check to see if ExpiresIn property is set internal bool IsSetExpiresIn() { return this._expiresIn.HasValue; } /// <summary> /// Gets and sets the property RefreshToken. /// <para> /// The token to use to refresh a previously issued access token that might have expired. /// </para> /// </summary> [AWSProperty(Required=true, Sensitive=true)] public string RefreshToken { get { return this._refreshToken; } set { this._refreshToken = value; } } // Check to see if RefreshToken property is set internal bool IsSetRefreshToken() { return this._refreshToken != null; } } }
98
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the ExportComponents operation. /// Exports component configurations to code that is ready to integrate into an Amplify /// app. /// </summary> public partial class ExportComponentsRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _environmentName; private string _nextToken; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app to export components to. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token to request the next page of results. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
99
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// This is the response object from the ExportComponents operation. /// </summary> public partial class ExportComponentsResponse : AmazonWebServiceResponse { private List<Component> _entities = new List<Component>(); private string _nextToken; /// <summary> /// Gets and sets the property Entities. /// <para> /// Represents the configuration of the exported components. /// </para> /// </summary> [AWSProperty(Required=true)] public List<Component> Entities { get { return this._entities; } set { this._entities = value; } } // Check to see if Entities property is set internal bool IsSetEntities() { return this._entities != null && this._entities.Count > 0; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The pagination token that's included if more results are available. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
77
aws-sdk-net
aws
C#
/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the amplifyuibuilder-2021-08-11.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.AmplifyUIBuilder.Model { /// <summary> /// Container for the parameters to the ExportForms operation. /// Exports form configurations to code that is ready to integrate into an Amplify app. /// </summary> public partial class ExportFormsRequest : AmazonAmplifyUIBuilderRequest { private string _appId; private string _environmentName; private string _nextToken; /// <summary> /// Gets and sets the property AppId. /// <para> /// The unique ID of the Amplify app to export forms to. /// </para> /// </summary> [AWSProperty(Required=true)] public string AppId { get { return this._appId; } set { this._appId = value; } } // Check to see if AppId property is set internal bool IsSetAppId() { return this._appId != null; } /// <summary> /// Gets and sets the property EnvironmentName. /// <para> /// The name of the backend environment that is a part of the Amplify app. /// </para> /// </summary> [AWSProperty(Required=true)] public string EnvironmentName { get { return this._environmentName; } set { this._environmentName = value; } } // Check to see if EnvironmentName property is set internal bool IsSetEnvironmentName() { return this._environmentName != null; } /// <summary> /// Gets and sets the property NextToken. /// <para> /// The token to request the next page of results. /// </para> /// </summary> public string NextToken { get { return this._nextToken; } set { this._nextToken = value; } } // Check to see if NextToken property is set internal bool IsSetNextToken() { return this._nextToken != null; } } }
98