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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// FirehoseStream Marshaller
/// </summary>
public class FirehoseStreamMarshaller : IRequestMarshaller<FirehoseStream, 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(FirehoseStream requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetStreamName())
{
context.Writer.WritePropertyName("streamName");
context.Writer.Write(requestObject.StreamName);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static FirehoseStreamMarshaller Instance = new FirehoseStreamMarshaller();
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for FirehoseStream Object
/// </summary>
public class FirehoseStreamUnmarshaller : IUnmarshaller<FirehoseStream, XmlUnmarshallerContext>, IUnmarshaller<FirehoseStream, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
FirehoseStream IUnmarshaller<FirehoseStream, 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 FirehoseStream Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
FirehoseStream unmarshalledObject = new FirehoseStream();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("streamName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StreamName = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static FirehoseStreamUnmarshaller _instance = new FirehoseStreamUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static FirehoseStreamUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetAppAuthorization Request Marshaller
/// </summary>
public class GetAppAuthorizationRequestMarshaller : IMarshaller<IRequest, GetAppAuthorizationRequest> , 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((GetAppAuthorizationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetAppAuthorizationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppAuthorizationIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppAuthorizationIdentifier set");
request.AddPathResource("{appAuthorizationIdentifier}", StringUtils.FromString(publicRequest.AppAuthorizationIdentifier));
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}";
return request;
}
private static GetAppAuthorizationRequestMarshaller _instance = new GetAppAuthorizationRequestMarshaller();
internal static GetAppAuthorizationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetAppAuthorizationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetAppAuthorization operation
/// </summary>
public class GetAppAuthorizationResponseUnmarshaller : 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)
{
GetAppAuthorizationResponse response = new GetAppAuthorizationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appAuthorization", targetDepth))
{
var unmarshaller = AppAuthorizationUnmarshaller.Instance;
response.AppAuthorization = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetAppAuthorizationResponseUnmarshaller _instance = new GetAppAuthorizationResponseUnmarshaller();
internal static GetAppAuthorizationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetAppAuthorizationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetAppBundle Request Marshaller
/// </summary>
public class GetAppBundleRequestMarshaller : IMarshaller<IRequest, GetAppBundleRequest> , 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((GetAppBundleRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetAppBundleRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}";
return request;
}
private static GetAppBundleRequestMarshaller _instance = new GetAppBundleRequestMarshaller();
internal static GetAppBundleRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetAppBundleRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 87 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetAppBundle operation
/// </summary>
public class GetAppBundleResponseUnmarshaller : 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)
{
GetAppBundleResponse response = new GetAppBundleResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appBundle", targetDepth))
{
var unmarshaller = AppBundleUnmarshaller.Instance;
response.AppBundle = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetAppBundleResponseUnmarshaller _instance = new GetAppBundleResponseUnmarshaller();
internal static GetAppBundleResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetAppBundleResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetIngestionDestination Request Marshaller
/// </summary>
public class GetIngestionDestinationRequestMarshaller : IMarshaller<IRequest, GetIngestionDestinationRequest> , 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((GetIngestionDestinationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetIngestionDestinationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (!publicRequest.IsSetIngestionDestinationIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionDestinationIdentifier set");
request.AddPathResource("{ingestionDestinationIdentifier}", StringUtils.FromString(publicRequest.IngestionDestinationIdentifier));
if (!publicRequest.IsSetIngestionIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionIdentifier set");
request.AddPathResource("{ingestionIdentifier}", StringUtils.FromString(publicRequest.IngestionIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}";
return request;
}
private static GetIngestionDestinationRequestMarshaller _instance = new GetIngestionDestinationRequestMarshaller();
internal static GetIngestionDestinationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetIngestionDestinationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 93 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetIngestionDestination operation
/// </summary>
public class GetIngestionDestinationResponseUnmarshaller : 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)
{
GetIngestionDestinationResponse response = new GetIngestionDestinationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ingestionDestination", targetDepth))
{
var unmarshaller = IngestionDestinationUnmarshaller.Instance;
response.IngestionDestination = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetIngestionDestinationResponseUnmarshaller _instance = new GetIngestionDestinationResponseUnmarshaller();
internal static GetIngestionDestinationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetIngestionDestinationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// GetIngestion Request Marshaller
/// </summary>
public class GetIngestionRequestMarshaller : IMarshaller<IRequest, GetIngestionRequest> , 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((GetIngestionRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(GetIngestionRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (!publicRequest.IsSetIngestionIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionIdentifier set");
request.AddPathResource("{ingestionIdentifier}", StringUtils.FromString(publicRequest.IngestionIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}";
return request;
}
private static GetIngestionRequestMarshaller _instance = new GetIngestionRequestMarshaller();
internal static GetIngestionRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetIngestionRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for GetIngestion operation
/// </summary>
public class GetIngestionResponseUnmarshaller : 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)
{
GetIngestionResponse response = new GetIngestionResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ingestion", targetDepth))
{
var unmarshaller = IngestionUnmarshaller.Instance;
response.Ingestion = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static GetIngestionResponseUnmarshaller _instance = new GetIngestionResponseUnmarshaller();
internal static GetIngestionResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static GetIngestionResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for IngestionDestinationSummary Object
/// </summary>
public class IngestionDestinationSummaryUnmarshaller : IUnmarshaller<IngestionDestinationSummary, XmlUnmarshallerContext>, IUnmarshaller<IngestionDestinationSummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
IngestionDestinationSummary IUnmarshaller<IngestionDestinationSummary, 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 IngestionDestinationSummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
IngestionDestinationSummary unmarshalledObject = new IngestionDestinationSummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static IngestionDestinationSummaryUnmarshaller _instance = new IngestionDestinationSummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static IngestionDestinationSummaryUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for IngestionDestination Object
/// </summary>
public class IngestionDestinationUnmarshaller : IUnmarshaller<IngestionDestination, XmlUnmarshallerContext>, IUnmarshaller<IngestionDestination, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
IngestionDestination IUnmarshaller<IngestionDestination, 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 IngestionDestination Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
IngestionDestination unmarshalledObject = new IngestionDestination();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("destinationConfiguration", targetDepth))
{
var unmarshaller = DestinationConfigurationUnmarshaller.Instance;
unmarshalledObject.DestinationConfiguration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ingestionArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IngestionArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("processingConfiguration", targetDepth))
{
var unmarshaller = ProcessingConfigurationUnmarshaller.Instance;
unmarshalledObject.ProcessingConfiguration = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Status = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("statusReason", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.StatusReason = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updatedAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdatedAt = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static IngestionDestinationUnmarshaller _instance = new IngestionDestinationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static IngestionDestinationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for IngestionSummary Object
/// </summary>
public class IngestionSummaryUnmarshaller : IUnmarshaller<IngestionSummary, XmlUnmarshallerContext>, IUnmarshaller<IngestionSummary, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
IngestionSummary IUnmarshaller<IngestionSummary, 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 IngestionSummary Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
IngestionSummary unmarshalledObject = new IngestionSummary();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("app", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.App = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("state", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.State = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tenantId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantId = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static IngestionSummaryUnmarshaller _instance = new IngestionSummaryUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static IngestionSummaryUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Ingestion Object
/// </summary>
public class IngestionUnmarshaller : IUnmarshaller<Ingestion, XmlUnmarshallerContext>, IUnmarshaller<Ingestion, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Ingestion IUnmarshaller<Ingestion, 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 Ingestion Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Ingestion unmarshalledObject = new Ingestion();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("app", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.App = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("appBundleArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AppBundleArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("createdAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.CreatedAt = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("ingestionType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.IngestionType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("state", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.State = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tenantId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("updatedAt", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.UpdatedAt = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static IngestionUnmarshaller _instance = new IngestionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static IngestionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for InternalServerException Object
/// </summary>
public class InternalServerExceptionUnmarshaller : IErrorResponseUnmarshaller<InternalServerException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public InternalServerException 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 InternalServerException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
InternalServerException unmarshalledObject = new InternalServerException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("Retry-After", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
unmarshalledObject.RetryAfterSeconds = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static InternalServerExceptionUnmarshaller _instance = new InternalServerExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static InternalServerExceptionUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListAppAuthorizations Request Marshaller
/// </summary>
public class ListAppAuthorizationsRequestMarshaller : IMarshaller<IRequest, ListAppAuthorizationsRequest> , 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((ListAppAuthorizationsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListAppAuthorizationsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/appauthorizations";
request.UseQueryString = true;
return request;
}
private static ListAppAuthorizationsRequestMarshaller _instance = new ListAppAuthorizationsRequestMarshaller();
internal static ListAppAuthorizationsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListAppAuthorizationsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 94 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListAppAuthorizations operation
/// </summary>
public class ListAppAuthorizationsResponseUnmarshaller : 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)
{
ListAppAuthorizationsResponse response = new ListAppAuthorizationsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appAuthorizationSummaryList", targetDepth))
{
var unmarshaller = new ListUnmarshaller<AppAuthorizationSummary, AppAuthorizationSummaryUnmarshaller>(AppAuthorizationSummaryUnmarshaller.Instance);
response.AppAuthorizationSummaryList = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListAppAuthorizationsResponseUnmarshaller _instance = new ListAppAuthorizationsResponseUnmarshaller();
internal static ListAppAuthorizationsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListAppAuthorizationsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 132 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListAppBundles Request Marshaller
/// </summary>
public class ListAppBundlesRequestMarshaller : IMarshaller<IRequest, ListAppBundlesRequest> , 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((ListAppBundlesRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListAppBundlesRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/appbundles";
request.UseQueryString = true;
return request;
}
private static ListAppBundlesRequestMarshaller _instance = new ListAppBundlesRequestMarshaller();
internal static ListAppBundlesRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListAppBundlesRequestMarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListAppBundles operation
/// </summary>
public class ListAppBundlesResponseUnmarshaller : 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)
{
ListAppBundlesResponse response = new ListAppBundlesResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appBundleSummaryList", targetDepth))
{
var unmarshaller = new ListUnmarshaller<AppBundleSummary, AppBundleSummaryUnmarshaller>(AppBundleSummaryUnmarshaller.Instance);
response.AppBundleSummaryList = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListAppBundlesResponseUnmarshaller _instance = new ListAppBundlesResponseUnmarshaller();
internal static ListAppBundlesResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListAppBundlesResponseUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListIngestionDestinations Request Marshaller
/// </summary>
public class ListIngestionDestinationsRequestMarshaller : IMarshaller<IRequest, ListIngestionDestinationsRequest> , 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((ListIngestionDestinationsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListIngestionDestinationsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (!publicRequest.IsSetIngestionIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionIdentifier set");
request.AddPathResource("{ingestionIdentifier}", StringUtils.FromString(publicRequest.IngestionIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations";
request.UseQueryString = true;
return request;
}
private static ListIngestionDestinationsRequestMarshaller _instance = new ListIngestionDestinationsRequestMarshaller();
internal static ListIngestionDestinationsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListIngestionDestinationsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListIngestionDestinations operation
/// </summary>
public class ListIngestionDestinationsResponseUnmarshaller : 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)
{
ListIngestionDestinationsResponse response = new ListIngestionDestinationsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ingestionDestinations", targetDepth))
{
var unmarshaller = new ListUnmarshaller<IngestionDestinationSummary, IngestionDestinationSummaryUnmarshaller>(IngestionDestinationSummaryUnmarshaller.Instance);
response.IngestionDestinations = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListIngestionDestinationsResponseUnmarshaller _instance = new ListIngestionDestinationsResponseUnmarshaller();
internal static ListIngestionDestinationsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListIngestionDestinationsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 132 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListIngestions Request Marshaller
/// </summary>
public class ListIngestionsRequestMarshaller : IMarshaller<IRequest, ListIngestionsRequest> , 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((ListIngestionsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListIngestionsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (publicRequest.IsSetMaxResults())
request.Parameters.Add("maxResults", StringUtils.FromInt(publicRequest.MaxResults));
if (publicRequest.IsSetNextToken())
request.Parameters.Add("nextToken", StringUtils.FromString(publicRequest.NextToken));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions";
request.UseQueryString = true;
return request;
}
private static ListIngestionsRequestMarshaller _instance = new ListIngestionsRequestMarshaller();
internal static ListIngestionsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListIngestionsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 94 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListIngestions operation
/// </summary>
public class ListIngestionsResponseUnmarshaller : 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)
{
ListIngestionsResponse response = new ListIngestionsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ingestions", targetDepth))
{
var unmarshaller = new ListUnmarshaller<IngestionSummary, IngestionSummaryUnmarshaller>(IngestionSummaryUnmarshaller.Instance);
response.Ingestions = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListIngestionsResponseUnmarshaller _instance = new ListIngestionsResponseUnmarshaller();
internal static ListIngestionsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListIngestionsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 132 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListTagsForResource Request Marshaller
/// </summary>
public class ListTagsForResourceRequestMarshaller : IMarshaller<IRequest, ListTagsForResourceRequest> , 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((ListTagsForResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListTagsForResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "GET";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAppFabricException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/tags/{resourceArn}";
return request;
}
private static ListTagsForResourceRequestMarshaller _instance = new ListTagsForResourceRequestMarshaller();
internal static ListTagsForResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListTagsForResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 87 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListTagsForResource operation
/// </summary>
public class ListTagsForResourceResponseUnmarshaller : 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)
{
ListTagsForResourceResponse response = new ListTagsForResourceResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Tag, TagUnmarshaller>(TagUnmarshaller.Instance);
response.Tags = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListTagsForResourceResponseUnmarshaller _instance = new ListTagsForResourceResponseUnmarshaller();
internal static ListTagsForResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListTagsForResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Oauth2Credential Marshaller
/// </summary>
public class Oauth2CredentialMarshaller : IRequestMarshaller<Oauth2Credential, 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(Oauth2Credential requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetClientId())
{
context.Writer.WritePropertyName("clientId");
context.Writer.Write(requestObject.ClientId);
}
if(requestObject.IsSetClientSecret())
{
context.Writer.WritePropertyName("clientSecret");
context.Writer.Write(requestObject.ClientSecret);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static Oauth2CredentialMarshaller Instance = new Oauth2CredentialMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// ProcessingConfiguration Marshaller
/// </summary>
public class ProcessingConfigurationMarshaller : IRequestMarshaller<ProcessingConfiguration, 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(ProcessingConfiguration requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAuditLog())
{
context.Writer.WritePropertyName("auditLog");
context.Writer.WriteObjectStart();
var marshaller = AuditLogProcessingConfigurationMarshaller.Instance;
marshaller.Marshall(requestObject.AuditLog, context);
context.Writer.WriteObjectEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ProcessingConfigurationMarshaller Instance = new ProcessingConfigurationMarshaller();
}
} | 67 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ProcessingConfiguration Object
/// </summary>
public class ProcessingConfigurationUnmarshaller : IUnmarshaller<ProcessingConfiguration, XmlUnmarshallerContext>, IUnmarshaller<ProcessingConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ProcessingConfiguration IUnmarshaller<ProcessingConfiguration, 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 ProcessingConfiguration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ProcessingConfiguration unmarshalledObject = new ProcessingConfiguration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("auditLog", targetDepth))
{
var unmarshaller = AuditLogProcessingConfigurationUnmarshaller.Instance;
unmarshalledObject.AuditLog = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ProcessingConfigurationUnmarshaller _instance = new ProcessingConfigurationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ProcessingConfigurationUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ResourceNotFoundException Object
/// </summary>
public class ResourceNotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<ResourceNotFoundException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ResourceNotFoundException 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 ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ResourceNotFoundException unmarshalledObject = new ResourceNotFoundException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("resourceId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ResourceNotFoundExceptionUnmarshaller _instance = new ResourceNotFoundExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ResourceNotFoundExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// S3Bucket Marshaller
/// </summary>
public class S3BucketMarshaller : IRequestMarshaller<S3Bucket, 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(S3Bucket requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetBucketName())
{
context.Writer.WritePropertyName("bucketName");
context.Writer.Write(requestObject.BucketName);
}
if(requestObject.IsSetPrefix())
{
context.Writer.WritePropertyName("prefix");
context.Writer.Write(requestObject.Prefix);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static S3BucketMarshaller Instance = new S3BucketMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for S3Bucket Object
/// </summary>
public class S3BucketUnmarshaller : IUnmarshaller<S3Bucket, XmlUnmarshallerContext>, IUnmarshaller<S3Bucket, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
S3Bucket IUnmarshaller<S3Bucket, 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 S3Bucket Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
S3Bucket unmarshalledObject = new S3Bucket();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("bucketName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.BucketName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("prefix", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Prefix = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static S3BucketUnmarshaller _instance = new S3BucketUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static S3BucketUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ServiceQuotaExceededException Object
/// </summary>
public class ServiceQuotaExceededExceptionUnmarshaller : IErrorResponseUnmarshaller<ServiceQuotaExceededException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ServiceQuotaExceededException 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 ServiceQuotaExceededException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ServiceQuotaExceededException unmarshalledObject = new ServiceQuotaExceededException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("quotaCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.QuotaCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("serviceCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ServiceCode = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ServiceQuotaExceededExceptionUnmarshaller _instance = new ServiceQuotaExceededExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ServiceQuotaExceededExceptionUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// StartIngestion Request Marshaller
/// </summary>
public class StartIngestionRequestMarshaller : IMarshaller<IRequest, StartIngestionRequest> , 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((StartIngestionRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(StartIngestionRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "POST";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (!publicRequest.IsSetIngestionIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionIdentifier set");
request.AddPathResource("{ingestionIdentifier}", StringUtils.FromString(publicRequest.IngestionIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start";
return request;
}
private static StartIngestionRequestMarshaller _instance = new StartIngestionRequestMarshaller();
internal static StartIngestionRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartIngestionRequestMarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for StartIngestion operation
/// </summary>
public class StartIngestionResponseUnmarshaller : 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)
{
StartIngestionResponse response = new StartIngestionResponse();
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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static StartIngestionResponseUnmarshaller _instance = new StartIngestionResponseUnmarshaller();
internal static StartIngestionResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartIngestionResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// StartUserAccessTasks Request Marshaller
/// </summary>
public class StartUserAccessTasksRequestMarshaller : IMarshaller<IRequest, StartUserAccessTasksRequest> , 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((StartUserAccessTasksRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(StartUserAccessTasksRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "POST";
request.ResourcePath = "/useraccess/start";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAppBundleIdentifier())
{
context.Writer.WritePropertyName("appBundleIdentifier");
context.Writer.Write(publicRequest.AppBundleIdentifier);
}
if(publicRequest.IsSetEmail())
{
context.Writer.WritePropertyName("email");
context.Writer.Write(publicRequest.Email);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static StartUserAccessTasksRequestMarshaller _instance = new StartUserAccessTasksRequestMarshaller();
internal static StartUserAccessTasksRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartUserAccessTasksRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for StartUserAccessTasks operation
/// </summary>
public class StartUserAccessTasksResponseUnmarshaller : 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)
{
StartUserAccessTasksResponse response = new StartUserAccessTasksResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("userAccessTasksList", targetDepth))
{
var unmarshaller = new ListUnmarshaller<UserAccessTaskItem, UserAccessTaskItemUnmarshaller>(UserAccessTaskItemUnmarshaller.Instance);
response.UserAccessTasksList = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static StartUserAccessTasksResponseUnmarshaller _instance = new StartUserAccessTasksResponseUnmarshaller();
internal static StartUserAccessTasksResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartUserAccessTasksResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// StopIngestion Request Marshaller
/// </summary>
public class StopIngestionRequestMarshaller : IMarshaller<IRequest, StopIngestionRequest> , 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((StopIngestionRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(StopIngestionRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "POST";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (!publicRequest.IsSetIngestionIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionIdentifier set");
request.AddPathResource("{ingestionIdentifier}", StringUtils.FromString(publicRequest.IngestionIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop";
return request;
}
private static StopIngestionRequestMarshaller _instance = new StopIngestionRequestMarshaller();
internal static StopIngestionRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StopIngestionRequestMarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for StopIngestion operation
/// </summary>
public class StopIngestionResponseUnmarshaller : 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)
{
StopIngestionResponse response = new StopIngestionResponse();
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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static StopIngestionResponseUnmarshaller _instance = new StopIngestionResponseUnmarshaller();
internal static StopIngestionResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StopIngestionResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Tag Marshaller
/// </summary>
public class TagMarshaller : IRequestMarshaller<Tag, 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(Tag requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetKey())
{
context.Writer.WritePropertyName("key");
context.Writer.Write(requestObject.Key);
}
if(requestObject.IsSetValue())
{
context.Writer.WritePropertyName("value");
context.Writer.Write(requestObject.Value);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static TagMarshaller Instance = new TagMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// TagResource Request Marshaller
/// </summary>
public class TagResourceRequestMarshaller : IMarshaller<IRequest, TagResourceRequest> , 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((TagResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(TagResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "POST";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAppFabricException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/tags/{resourceArn}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetTags())
{
context.Writer.WritePropertyName("tags");
context.Writer.WriteArrayStart();
foreach(var publicRequestTagsListValue in publicRequest.Tags)
{
context.Writer.WriteObjectStart();
var marshaller = TagMarshaller.Instance;
marshaller.Marshall(publicRequestTagsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static TagResourceRequestMarshaller _instance = new TagResourceRequestMarshaller();
internal static TagResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TagResource operation
/// </summary>
public class TagResourceResponseUnmarshaller : 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)
{
TagResourceResponse response = new TagResourceResponse();
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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static TagResourceResponseUnmarshaller _instance = new TagResourceResponseUnmarshaller();
internal static TagResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 115 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Tag Object
/// </summary>
public class TagUnmarshaller : IUnmarshaller<Tag, XmlUnmarshallerContext>, IUnmarshaller<Tag, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Tag IUnmarshaller<Tag, 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 Tag Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Tag unmarshalledObject = new Tag();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("key", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Key = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("value", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Value = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TagUnmarshaller _instance = new TagUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TaskError Object
/// </summary>
public class TaskErrorUnmarshaller : IUnmarshaller<TaskError, XmlUnmarshallerContext>, IUnmarshaller<TaskError, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
TaskError IUnmarshaller<TaskError, 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 TaskError Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
TaskError unmarshalledObject = new TaskError();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("errorCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ErrorCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("errorMessage", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ErrorMessage = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TaskErrorUnmarshaller _instance = new TaskErrorUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TaskErrorUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Tenant Marshaller
/// </summary>
public class TenantMarshaller : IRequestMarshaller<Tenant, 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(Tenant requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetTenantDisplayName())
{
context.Writer.WritePropertyName("tenantDisplayName");
context.Writer.Write(requestObject.TenantDisplayName);
}
if(requestObject.IsSetTenantIdentifier())
{
context.Writer.WritePropertyName("tenantIdentifier");
context.Writer.Write(requestObject.TenantIdentifier);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static TenantMarshaller Instance = new TenantMarshaller();
}
} | 68 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Tenant Object
/// </summary>
public class TenantUnmarshaller : IUnmarshaller<Tenant, XmlUnmarshallerContext>, IUnmarshaller<Tenant, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Tenant IUnmarshaller<Tenant, 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 Tenant Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Tenant unmarshalledObject = new Tenant();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("tenantDisplayName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantDisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tenantIdentifier", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantIdentifier = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TenantUnmarshaller _instance = new TenantUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TenantUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ThrottlingException Object
/// </summary>
public class ThrottlingExceptionUnmarshaller : IErrorResponseUnmarshaller<ThrottlingException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ThrottlingException 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 ThrottlingException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ThrottlingException unmarshalledObject = new ThrottlingException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("quotaCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.QuotaCode = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("Retry-After", targetDepth))
{
var unmarshaller = IntUnmarshaller.Instance;
unmarshalledObject.RetryAfterSeconds = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("serviceCode", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ServiceCode = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ThrottlingExceptionUnmarshaller _instance = new ThrottlingExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ThrottlingExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// UntagResource Request Marshaller
/// </summary>
public class UntagResourceRequestMarshaller : IMarshaller<IRequest, UntagResourceRequest> , 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((UntagResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UntagResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAppFabricException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
if (publicRequest.IsSetTagKeys())
request.ParameterCollection.Add("tagKeys", publicRequest.TagKeys);
request.ResourcePath = "/tags/{resourceArn}";
request.UseQueryString = true;
return request;
}
private static UntagResourceRequestMarshaller _instance = new UntagResourceRequestMarshaller();
internal static UntagResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UntagResourceRequestMarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UntagResource operation
/// </summary>
public class UntagResourceResponseUnmarshaller : 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)
{
UntagResourceResponse response = new UntagResourceResponse();
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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UntagResourceResponseUnmarshaller _instance = new UntagResourceResponseUnmarshaller();
internal static UntagResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UntagResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 115 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAppAuthorization Request Marshaller
/// </summary>
public class UpdateAppAuthorizationRequestMarshaller : IMarshaller<IRequest, UpdateAppAuthorizationRequest> , 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((UpdateAppAuthorizationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAppAuthorizationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetAppAuthorizationIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppAuthorizationIdentifier set");
request.AddPathResource("{appAuthorizationIdentifier}", StringUtils.FromString(publicRequest.AppAuthorizationIdentifier));
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetCredential())
{
context.Writer.WritePropertyName("credential");
context.Writer.WriteObjectStart();
var marshaller = CredentialMarshaller.Instance;
marshaller.Marshall(publicRequest.Credential, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetTenant())
{
context.Writer.WritePropertyName("tenant");
context.Writer.WriteObjectStart();
var marshaller = TenantMarshaller.Instance;
marshaller.Marshall(publicRequest.Tenant, context);
context.Writer.WriteObjectEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAppAuthorizationRequestMarshaller _instance = new UpdateAppAuthorizationRequestMarshaller();
internal static UpdateAppAuthorizationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAppAuthorizationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 123 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAppAuthorization operation
/// </summary>
public class UpdateAppAuthorizationResponseUnmarshaller : 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)
{
UpdateAppAuthorizationResponse response = new UpdateAppAuthorizationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("appAuthorization", targetDepth))
{
var unmarshaller = AppAuthorizationUnmarshaller.Instance;
response.AppAuthorization = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAppAuthorizationResponseUnmarshaller _instance = new UpdateAppAuthorizationResponseUnmarshaller();
internal static UpdateAppAuthorizationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAppAuthorizationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateIngestionDestination Request Marshaller
/// </summary>
public class UpdateIngestionDestinationRequestMarshaller : IMarshaller<IRequest, UpdateIngestionDestinationRequest> , 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((UpdateIngestionDestinationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateIngestionDestinationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppFabric");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2023-05-19";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetAppBundleIdentifier())
throw new AmazonAppFabricException("Request object does not have required field AppBundleIdentifier set");
request.AddPathResource("{appBundleIdentifier}", StringUtils.FromString(publicRequest.AppBundleIdentifier));
if (!publicRequest.IsSetIngestionDestinationIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionDestinationIdentifier set");
request.AddPathResource("{ingestionDestinationIdentifier}", StringUtils.FromString(publicRequest.IngestionDestinationIdentifier));
if (!publicRequest.IsSetIngestionIdentifier())
throw new AmazonAppFabricException("Request object does not have required field IngestionIdentifier set");
request.AddPathResource("{ingestionIdentifier}", StringUtils.FromString(publicRequest.IngestionIdentifier));
request.ResourcePath = "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDestinationConfiguration())
{
context.Writer.WritePropertyName("destinationConfiguration");
context.Writer.WriteObjectStart();
var marshaller = DestinationConfigurationMarshaller.Instance;
marshaller.Marshall(publicRequest.DestinationConfiguration, context);
context.Writer.WriteObjectEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateIngestionDestinationRequestMarshaller _instance = new UpdateIngestionDestinationRequestMarshaller();
internal static UpdateIngestionDestinationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateIngestionDestinationRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 115 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateIngestionDestination operation
/// </summary>
public class UpdateIngestionDestinationResponseUnmarshaller : 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)
{
UpdateIngestionDestinationResponse response = new UpdateIngestionDestinationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("ingestionDestination", targetDepth))
{
var unmarshaller = IngestionDestinationUnmarshaller.Instance;
response.IngestionDestination = 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("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ConflictException"))
{
return ConflictExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceQuotaExceededException"))
{
return ServiceQuotaExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppFabricException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateIngestionDestinationResponseUnmarshaller _instance = new UpdateIngestionDestinationResponseUnmarshaller();
internal static UpdateIngestionDestinationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateIngestionDestinationResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UserAccessResultItem Object
/// </summary>
public class UserAccessResultItemUnmarshaller : IUnmarshaller<UserAccessResultItem, XmlUnmarshallerContext>, IUnmarshaller<UserAccessResultItem, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
UserAccessResultItem IUnmarshaller<UserAccessResultItem, 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 UserAccessResultItem Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
UserAccessResultItem unmarshalledObject = new UserAccessResultItem();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("app", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.App = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("email", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Email = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resultStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResultStatus = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("taskError", targetDepth))
{
var unmarshaller = TaskErrorUnmarshaller.Instance;
unmarshalledObject.TaskError = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("taskId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TaskId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tenantDisplayName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantDisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tenantId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("userFirstName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.UserFirstName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("userFullName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.UserFullName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("userId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.UserId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("userLastName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.UserLastName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("userStatus", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.UserStatus = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static UserAccessResultItemUnmarshaller _instance = new UserAccessResultItemUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static UserAccessResultItemUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 158 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UserAccessTaskItem Object
/// </summary>
public class UserAccessTaskItemUnmarshaller : IUnmarshaller<UserAccessTaskItem, XmlUnmarshallerContext>, IUnmarshaller<UserAccessTaskItem, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
UserAccessTaskItem IUnmarshaller<UserAccessTaskItem, 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 UserAccessTaskItem Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
UserAccessTaskItem unmarshalledObject = new UserAccessTaskItem();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("app", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.App = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("error", targetDepth))
{
var unmarshaller = TaskErrorUnmarshaller.Instance;
unmarshalledObject.Error = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("taskId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TaskId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("tenantId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TenantId = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static UserAccessTaskItemUnmarshaller _instance = new UserAccessTaskItemUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static UserAccessTaskItemUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidationExceptionField Object
/// </summary>
public class ValidationExceptionFieldUnmarshaller : IUnmarshaller<ValidationExceptionField, XmlUnmarshallerContext>, IUnmarshaller<ValidationExceptionField, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ValidationExceptionField IUnmarshaller<ValidationExceptionField, 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 ValidationExceptionField Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ValidationExceptionField unmarshalledObject = new ValidationExceptionField();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("message", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Message = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ValidationExceptionFieldUnmarshaller _instance = new ValidationExceptionFieldUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionFieldUnmarshaller 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 appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppFabric.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidationException Object
/// </summary>
public class ValidationExceptionUnmarshaller : IErrorResponseUnmarshaller<ValidationException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ValidationException 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 ValidationException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ValidationException unmarshalledObject = new ValidationException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("fieldList", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ValidationExceptionField, ValidationExceptionFieldUnmarshaller>(ValidationExceptionFieldUnmarshaller.Instance);
unmarshalledObject.FieldList = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("reason", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Reason = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ValidationExceptionUnmarshaller _instance = new ValidationExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 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 appfabric-2023-05-19.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.AppFabric.Model
{
/// <summary>
/// Paginators for the AppFabric service
///</summary>
public class AppFabricPaginatorFactory : IAppFabricPaginatorFactory
{
private readonly IAmazonAppFabric client;
internal AppFabricPaginatorFactory(IAmazonAppFabric client)
{
this.client = client;
}
/// <summary>
/// Paginator for ListAppAuthorizations operation
///</summary>
public IListAppAuthorizationsPaginator ListAppAuthorizations(ListAppAuthorizationsRequest request)
{
return new ListAppAuthorizationsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAppBundles operation
///</summary>
public IListAppBundlesPaginator ListAppBundles(ListAppBundlesRequest request)
{
return new ListAppBundlesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListIngestionDestinations operation
///</summary>
public IListIngestionDestinationsPaginator ListIngestionDestinations(ListIngestionDestinationsRequest request)
{
return new ListIngestionDestinationsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListIngestions operation
///</summary>
public IListIngestionsPaginator ListIngestions(ListIngestionsRequest request)
{
return new ListIngestionsPaginator(this.client, request);
}
}
} | 70 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model.
*/
namespace Amazon.AppFabric.Model
{
/// <summary>
/// Paginators for the AppFabric service
///</summary>
public interface IAppFabricPaginatorFactory
{
/// <summary>
/// Paginator for ListAppAuthorizations operation
///</summary>
IListAppAuthorizationsPaginator ListAppAuthorizations(ListAppAuthorizationsRequest request);
/// <summary>
/// Paginator for ListAppBundles operation
///</summary>
IListAppBundlesPaginator ListAppBundles(ListAppBundlesRequest request);
/// <summary>
/// Paginator for ListIngestionDestinations operation
///</summary>
IListIngestionDestinationsPaginator ListIngestionDestinations(ListIngestionDestinationsRequest request);
/// <summary>
/// Paginator for ListIngestions operation
///</summary>
IListIngestionsPaginator ListIngestions(ListIngestionsRequest request);
}
} | 48 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppFabric.Model
{
/// <summary>
/// Paginator for the ListAppAuthorizations operation
///</summary>
public interface IListAppAuthorizationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAppAuthorizationsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the AppAuthorizationSummaryList
/// </summary>
IPaginatedEnumerable<AppAuthorizationSummary> AppAuthorizationSummaryList { 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 appfabric-2023-05-19.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppFabric.Model
{
/// <summary>
/// Paginator for the ListAppBundles operation
///</summary>
public interface IListAppBundlesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAppBundlesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the AppBundleSummaryList
/// </summary>
IPaginatedEnumerable<AppBundleSummary> AppBundleSummaryList { 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 appfabric-2023-05-19.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppFabric.Model
{
/// <summary>
/// Paginator for the ListIngestionDestinations operation
///</summary>
public interface IListIngestionDestinationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListIngestionDestinationsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the IngestionDestinations
/// </summary>
IPaginatedEnumerable<IngestionDestinationSummary> IngestionDestinations { 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 appfabric-2023-05-19.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppFabric.Model
{
/// <summary>
/// Paginator for the ListIngestions operation
///</summary>
public interface IListIngestionsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListIngestionsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Ingestions
/// </summary>
IPaginatedEnumerable<IngestionSummary> Ingestions { 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 appfabric-2023-05-19.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.AppFabric.Model
{
/// <summary>
/// Base class for ListAppAuthorizations paginators.
/// </summary>
internal sealed partial class ListAppAuthorizationsPaginator : IPaginator<ListAppAuthorizationsResponse>, IListAppAuthorizationsPaginator
{
private readonly IAmazonAppFabric _client;
private readonly ListAppAuthorizationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAppAuthorizationsResponse> Responses => new PaginatedResponse<ListAppAuthorizationsResponse>(this);
/// <summary>
/// Enumerable containing all of the AppAuthorizationSummaryList
/// </summary>
public IPaginatedEnumerable<AppAuthorizationSummary> AppAuthorizationSummaryList =>
new PaginatedResultKeyResponse<ListAppAuthorizationsResponse, AppAuthorizationSummary>(this, (i) => i.AppAuthorizationSummaryList);
internal ListAppAuthorizationsPaginator(IAmazonAppFabric client, ListAppAuthorizationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAppAuthorizationsResponse> IPaginator<ListAppAuthorizationsResponse>.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;
ListAppAuthorizationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAppAuthorizations(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAppAuthorizationsResponse> IPaginator<ListAppAuthorizationsResponse>.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;
ListAppAuthorizationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAppAuthorizationsAsync(_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 appfabric-2023-05-19.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.AppFabric.Model
{
/// <summary>
/// Base class for ListAppBundles paginators.
/// </summary>
internal sealed partial class ListAppBundlesPaginator : IPaginator<ListAppBundlesResponse>, IListAppBundlesPaginator
{
private readonly IAmazonAppFabric _client;
private readonly ListAppBundlesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAppBundlesResponse> Responses => new PaginatedResponse<ListAppBundlesResponse>(this);
/// <summary>
/// Enumerable containing all of the AppBundleSummaryList
/// </summary>
public IPaginatedEnumerable<AppBundleSummary> AppBundleSummaryList =>
new PaginatedResultKeyResponse<ListAppBundlesResponse, AppBundleSummary>(this, (i) => i.AppBundleSummaryList);
internal ListAppBundlesPaginator(IAmazonAppFabric client, ListAppBundlesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAppBundlesResponse> IPaginator<ListAppBundlesResponse>.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;
ListAppBundlesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAppBundles(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAppBundlesResponse> IPaginator<ListAppBundlesResponse>.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;
ListAppBundlesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAppBundlesAsync(_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 appfabric-2023-05-19.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.AppFabric.Model
{
/// <summary>
/// Base class for ListIngestionDestinations paginators.
/// </summary>
internal sealed partial class ListIngestionDestinationsPaginator : IPaginator<ListIngestionDestinationsResponse>, IListIngestionDestinationsPaginator
{
private readonly IAmazonAppFabric _client;
private readonly ListIngestionDestinationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListIngestionDestinationsResponse> Responses => new PaginatedResponse<ListIngestionDestinationsResponse>(this);
/// <summary>
/// Enumerable containing all of the IngestionDestinations
/// </summary>
public IPaginatedEnumerable<IngestionDestinationSummary> IngestionDestinations =>
new PaginatedResultKeyResponse<ListIngestionDestinationsResponse, IngestionDestinationSummary>(this, (i) => i.IngestionDestinations);
internal ListIngestionDestinationsPaginator(IAmazonAppFabric client, ListIngestionDestinationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListIngestionDestinationsResponse> IPaginator<ListIngestionDestinationsResponse>.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;
ListIngestionDestinationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListIngestionDestinations(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListIngestionDestinationsResponse> IPaginator<ListIngestionDestinationsResponse>.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;
ListIngestionDestinationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListIngestionDestinationsAsync(_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 appfabric-2023-05-19.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.AppFabric.Model
{
/// <summary>
/// Base class for ListIngestions paginators.
/// </summary>
internal sealed partial class ListIngestionsPaginator : IPaginator<ListIngestionsResponse>, IListIngestionsPaginator
{
private readonly IAmazonAppFabric _client;
private readonly ListIngestionsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListIngestionsResponse> Responses => new PaginatedResponse<ListIngestionsResponse>(this);
/// <summary>
/// Enumerable containing all of the Ingestions
/// </summary>
public IPaginatedEnumerable<IngestionSummary> Ingestions =>
new PaginatedResultKeyResponse<ListIngestionsResponse, IngestionSummary>(this, (i) => i.Ingestions);
internal ListIngestionsPaginator(IAmazonAppFabric client, ListIngestionsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListIngestionsResponse> IPaginator<ListIngestionsResponse>.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;
ListIngestionsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListIngestions(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListIngestionsResponse> IPaginator<ListIngestionsResponse>.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;
ListIngestionsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListIngestionsAsync(_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 appfabric-2023-05-19.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.AppFabric.Model;
using Amazon.AppFabric.Model.Internal.MarshallTransformations;
using Amazon.AppFabric.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppFabric
{
/// <summary>
/// Implementation for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon
/// Web Services AppFabric Administration Guide</a>. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric
/// section of the CLI Reference</a>.
/// </summary>
public partial class AmazonAppFabricClient : AmazonServiceClient, IAmazonAppFabric
{
private static IServiceMetadata serviceMetadata = new AmazonAppFabricMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IAppFabricPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAppFabricPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppFabricPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAppFabricClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppFabricConfig()) { }
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAppFabricClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppFabricConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(AmazonAppFabricConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAppFabricClient(AWSCredentials credentials)
: this(credentials, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAppFabricClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppFabricConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials and an
/// AmazonAppFabricClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(AWSCredentials credentials, AmazonAppFabricConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppFabricConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppFabricClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppFabricConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppFabricConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppFabricClient 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 AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppFabricConfig 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 AmazonAppFabricEndpointResolver());
}
/// <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 BatchGetUserAccessTasks
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
public virtual BatchGetUserAccessTasksResponse BatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetUserAccessTasksResponseUnmarshaller.Instance;
return Invoke<BatchGetUserAccessTasksResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchGetUserAccessTasks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks operation on AmazonAppFabricClient.</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 EndBatchGetUserAccessTasks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
public virtual IAsyncResult BeginBatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetUserAccessTasksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchGetUserAccessTasks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchGetUserAccessTasks.</param>
///
/// <returns>Returns a BatchGetUserAccessTasksResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
public virtual BatchGetUserAccessTasksResponse EndBatchGetUserAccessTasks(IAsyncResult asyncResult)
{
return EndInvoke<BatchGetUserAccessTasksResponse>(asyncResult);
}
#endregion
#region ConnectAppAuthorization
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
public virtual ConnectAppAuthorizationResponse ConnectAppAuthorization(ConnectAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConnectAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConnectAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<ConnectAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ConnectAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization operation on AmazonAppFabricClient.</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 EndConnectAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
public virtual IAsyncResult BeginConnectAppAuthorization(ConnectAppAuthorizationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConnectAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConnectAppAuthorizationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ConnectAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginConnectAppAuthorization.</param>
///
/// <returns>Returns a ConnectAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
public virtual ConnectAppAuthorizationResponse EndConnectAppAuthorization(IAsyncResult asyncResult)
{
return EndInvoke<ConnectAppAuthorizationResponse>(asyncResult);
}
#endregion
#region CreateAppAuthorization
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
public virtual CreateAppAuthorizationResponse CreateAppAuthorization(CreateAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<CreateAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization operation on AmazonAppFabricClient.</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 EndCreateAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
public virtual IAsyncResult BeginCreateAppAuthorization(CreateAppAuthorizationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppAuthorizationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppAuthorization.</param>
///
/// <returns>Returns a CreateAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
public virtual CreateAppAuthorizationResponse EndCreateAppAuthorization(IAsyncResult asyncResult)
{
return EndInvoke<CreateAppAuthorizationResponse>(asyncResult);
}
#endregion
#region CreateAppBundle
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
public virtual CreateAppBundleResponse CreateAppBundle(CreateAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBundleResponseUnmarshaller.Instance;
return Invoke<CreateAppBundleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAppBundle operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle operation on AmazonAppFabricClient.</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 EndCreateAppBundle
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
public virtual IAsyncResult BeginCreateAppBundle(CreateAppBundleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBundleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateAppBundle operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBundle.</param>
///
/// <returns>Returns a CreateAppBundleResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
public virtual CreateAppBundleResponse EndCreateAppBundle(IAsyncResult asyncResult)
{
return EndInvoke<CreateAppBundleResponse>(asyncResult);
}
#endregion
#region CreateIngestion
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
public virtual CreateIngestionResponse CreateIngestion(CreateIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;
return Invoke<CreateIngestionResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion operation on AmazonAppFabricClient.</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 EndCreateIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
public virtual IAsyncResult BeginCreateIngestion(CreateIngestionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIngestion.</param>
///
/// <returns>Returns a CreateIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
public virtual CreateIngestionResponse EndCreateIngestion(IAsyncResult asyncResult)
{
return EndInvoke<CreateIngestionResponse>(asyncResult);
}
#endregion
#region CreateIngestionDestination
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
public virtual CreateIngestionDestinationResponse CreateIngestionDestination(CreateIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<CreateIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination operation on AmazonAppFabricClient.</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 EndCreateIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
public virtual IAsyncResult BeginCreateIngestionDestination(CreateIngestionDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIngestionDestination.</param>
///
/// <returns>Returns a CreateIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
public virtual CreateIngestionDestinationResponse EndCreateIngestionDestination(IAsyncResult asyncResult)
{
return EndInvoke<CreateIngestionDestinationResponse>(asyncResult);
}
#endregion
#region DeleteAppAuthorization
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
public virtual DeleteAppAuthorizationResponse DeleteAppAuthorization(DeleteAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<DeleteAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization operation on AmazonAppFabricClient.</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 EndDeleteAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
public virtual IAsyncResult BeginDeleteAppAuthorization(DeleteAppAuthorizationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAuthorizationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppAuthorization.</param>
///
/// <returns>Returns a DeleteAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
public virtual DeleteAppAuthorizationResponse EndDeleteAppAuthorization(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAppAuthorizationResponse>(asyncResult);
}
#endregion
#region DeleteAppBundle
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
public virtual DeleteAppBundleResponse DeleteAppBundle(DeleteAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBundleResponseUnmarshaller.Instance;
return Invoke<DeleteAppBundleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAppBundle operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle operation on AmazonAppFabricClient.</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 EndDeleteAppBundle
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
public virtual IAsyncResult BeginDeleteAppBundle(DeleteAppBundleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBundleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAppBundle operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppBundle.</param>
///
/// <returns>Returns a DeleteAppBundleResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
public virtual DeleteAppBundleResponse EndDeleteAppBundle(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAppBundleResponse>(asyncResult);
}
#endregion
#region DeleteIngestion
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
public virtual DeleteIngestionResponse DeleteIngestion(DeleteIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionResponseUnmarshaller.Instance;
return Invoke<DeleteIngestionResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion operation on AmazonAppFabricClient.</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 EndDeleteIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
public virtual IAsyncResult BeginDeleteIngestion(DeleteIngestionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteIngestion.</param>
///
/// <returns>Returns a DeleteIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
public virtual DeleteIngestionResponse EndDeleteIngestion(IAsyncResult asyncResult)
{
return EndInvoke<DeleteIngestionResponse>(asyncResult);
}
#endregion
#region DeleteIngestionDestination
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
public virtual DeleteIngestionDestinationResponse DeleteIngestionDestination(DeleteIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<DeleteIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination operation on AmazonAppFabricClient.</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 EndDeleteIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
public virtual IAsyncResult BeginDeleteIngestionDestination(DeleteIngestionDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteIngestionDestination.</param>
///
/// <returns>Returns a DeleteIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
public virtual DeleteIngestionDestinationResponse EndDeleteIngestionDestination(IAsyncResult asyncResult)
{
return EndInvoke<DeleteIngestionDestinationResponse>(asyncResult);
}
#endregion
#region GetAppAuthorization
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
public virtual GetAppAuthorizationResponse GetAppAuthorization(GetAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<GetAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization operation on AmazonAppFabricClient.</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 EndGetAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
public virtual IAsyncResult BeginGetAppAuthorization(GetAppAuthorizationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppAuthorizationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAppAuthorization.</param>
///
/// <returns>Returns a GetAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
public virtual GetAppAuthorizationResponse EndGetAppAuthorization(IAsyncResult asyncResult)
{
return EndInvoke<GetAppAuthorizationResponse>(asyncResult);
}
#endregion
#region GetAppBundle
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
public virtual GetAppBundleResponse GetAppBundle(GetAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppBundleResponseUnmarshaller.Instance;
return Invoke<GetAppBundleResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAppBundle operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle operation on AmazonAppFabricClient.</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 EndGetAppBundle
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
public virtual IAsyncResult BeginGetAppBundle(GetAppBundleRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppBundleResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAppBundle operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAppBundle.</param>
///
/// <returns>Returns a GetAppBundleResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
public virtual GetAppBundleResponse EndGetAppBundle(IAsyncResult asyncResult)
{
return EndInvoke<GetAppBundleResponse>(asyncResult);
}
#endregion
#region GetIngestion
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
public virtual GetIngestionResponse GetIngestion(GetIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionResponseUnmarshaller.Instance;
return Invoke<GetIngestionResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIngestion operation on AmazonAppFabricClient.</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 EndGetIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
public virtual IAsyncResult BeginGetIngestion(GetIngestionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIngestion.</param>
///
/// <returns>Returns a GetIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
public virtual GetIngestionResponse EndGetIngestion(IAsyncResult asyncResult)
{
return EndInvoke<GetIngestionResponse>(asyncResult);
}
#endregion
#region GetIngestionDestination
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
public virtual GetIngestionDestinationResponse GetIngestionDestination(GetIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<GetIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination operation on AmazonAppFabricClient.</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 EndGetIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
public virtual IAsyncResult BeginGetIngestionDestination(GetIngestionDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIngestionDestination.</param>
///
/// <returns>Returns a GetIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
public virtual GetIngestionDestinationResponse EndGetIngestionDestination(IAsyncResult asyncResult)
{
return EndInvoke<GetIngestionDestinationResponse>(asyncResult);
}
#endregion
#region ListAppAuthorizations
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
public virtual ListAppAuthorizationsResponse ListAppAuthorizations(ListAppAuthorizationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAuthorizationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAuthorizationsResponseUnmarshaller.Instance;
return Invoke<ListAppAuthorizationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAppAuthorizations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations operation on AmazonAppFabricClient.</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 EndListAppAuthorizations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
public virtual IAsyncResult BeginListAppAuthorizations(ListAppAuthorizationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAuthorizationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAuthorizationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAppAuthorizations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppAuthorizations.</param>
///
/// <returns>Returns a ListAppAuthorizationsResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
public virtual ListAppAuthorizationsResponse EndListAppAuthorizations(IAsyncResult asyncResult)
{
return EndInvoke<ListAppAuthorizationsResponse>(asyncResult);
}
#endregion
#region ListAppBundles
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
public virtual ListAppBundlesResponse ListAppBundles(ListAppBundlesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppBundlesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppBundlesResponseUnmarshaller.Instance;
return Invoke<ListAppBundlesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAppBundles operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles operation on AmazonAppFabricClient.</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 EndListAppBundles
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
public virtual IAsyncResult BeginListAppBundles(ListAppBundlesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppBundlesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppBundlesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAppBundles operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppBundles.</param>
///
/// <returns>Returns a ListAppBundlesResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
public virtual ListAppBundlesResponse EndListAppBundles(IAsyncResult asyncResult)
{
return EndInvoke<ListAppBundlesResponse>(asyncResult);
}
#endregion
#region ListIngestionDestinations
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
public virtual ListIngestionDestinationsResponse ListIngestionDestinations(ListIngestionDestinationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionDestinationsResponseUnmarshaller.Instance;
return Invoke<ListIngestionDestinationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListIngestionDestinations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations operation on AmazonAppFabricClient.</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 EndListIngestionDestinations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
public virtual IAsyncResult BeginListIngestionDestinations(ListIngestionDestinationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionDestinationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListIngestionDestinations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListIngestionDestinations.</param>
///
/// <returns>Returns a ListIngestionDestinationsResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
public virtual ListIngestionDestinationsResponse EndListIngestionDestinations(IAsyncResult asyncResult)
{
return EndInvoke<ListIngestionDestinationsResponse>(asyncResult);
}
#endregion
#region ListIngestions
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
public virtual ListIngestionsResponse ListIngestions(ListIngestionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionsResponseUnmarshaller.Instance;
return Invoke<ListIngestionsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListIngestions operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListIngestions operation on AmazonAppFabricClient.</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 EndListIngestions
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
public virtual IAsyncResult BeginListIngestions(ListIngestionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListIngestions operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListIngestions.</param>
///
/// <returns>Returns a ListIngestionsResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
public virtual ListIngestionsResponse EndListIngestions(IAsyncResult asyncResult)
{
return EndInvoke<ListIngestionsResponse>(asyncResult);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppFabricClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke<ListTagsForResourceResponse>(asyncResult);
}
#endregion
#region StartIngestion
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
public virtual StartIngestionResponse StartIngestion(StartIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIngestionResponseUnmarshaller.Instance;
return Invoke<StartIngestionResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartIngestion operation on AmazonAppFabricClient.</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 EndStartIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
public virtual IAsyncResult BeginStartIngestion(StartIngestionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIngestionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartIngestion.</param>
///
/// <returns>Returns a StartIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
public virtual StartIngestionResponse EndStartIngestion(IAsyncResult asyncResult)
{
return EndInvoke<StartIngestionResponse>(asyncResult);
}
#endregion
#region StartUserAccessTasks
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
public virtual StartUserAccessTasksResponse StartUserAccessTasks(StartUserAccessTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartUserAccessTasksResponseUnmarshaller.Instance;
return Invoke<StartUserAccessTasksResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartUserAccessTasks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks operation on AmazonAppFabricClient.</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 EndStartUserAccessTasks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
public virtual IAsyncResult BeginStartUserAccessTasks(StartUserAccessTasksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartUserAccessTasksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartUserAccessTasks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartUserAccessTasks.</param>
///
/// <returns>Returns a StartUserAccessTasksResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
public virtual StartUserAccessTasksResponse EndStartUserAccessTasks(IAsyncResult asyncResult)
{
return EndInvoke<StartUserAccessTasksResponse>(asyncResult);
}
#endregion
#region StopIngestion
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
public virtual StopIngestionResponse StopIngestion(StopIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopIngestionResponseUnmarshaller.Instance;
return Invoke<StopIngestionResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StopIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopIngestion operation on AmazonAppFabricClient.</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 EndStopIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
public virtual IAsyncResult BeginStopIngestion(StopIngestionRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopIngestionResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StopIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopIngestion.</param>
///
/// <returns>Returns a StopIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
public virtual StopIngestionResponse EndStopIngestion(IAsyncResult asyncResult)
{
return EndInvoke<StopIngestionResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppFabricClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppFabricClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateAppAuthorization
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
public virtual UpdateAppAuthorizationResponse UpdateAppAuthorization(UpdateAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<UpdateAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization operation on AmazonAppFabricClient.</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 EndUpdateAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
public virtual IAsyncResult BeginUpdateAppAuthorization(UpdateAppAuthorizationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppAuthorizationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppAuthorization.</param>
///
/// <returns>Returns a UpdateAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
public virtual UpdateAppAuthorizationResponse EndUpdateAppAuthorization(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAppAuthorizationResponse>(asyncResult);
}
#endregion
#region UpdateIngestionDestination
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
public virtual UpdateIngestionDestinationResponse UpdateIngestionDestination(UpdateIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<UpdateIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination operation on AmazonAppFabricClient.</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 EndUpdateIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
public virtual IAsyncResult BeginUpdateIngestionDestination(UpdateIngestionDestinationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIngestionDestinationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateIngestionDestination.</param>
///
/// <returns>Returns a UpdateIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
public virtual UpdateIngestionDestinationResponse EndUpdateIngestionDestination(IAsyncResult asyncResult)
{
return EndInvoke<UpdateIngestionDestinationResponse>(asyncResult);
}
#endregion
}
} | 2,155 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppFabric.Model;
namespace Amazon.AppFabric
{
/// <summary>
/// Interface for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon
/// Web Services AppFabric Administration Guide</a>. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric
/// section of the CLI Reference</a>.
/// </summary>
public partial interface IAmazonAppFabric : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAppFabricPaginatorFactory Paginators { get; }
#endif
#region BatchGetUserAccessTasks
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
BatchGetUserAccessTasksResponse BatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchGetUserAccessTasks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks operation on AmazonAppFabricClient.</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 EndBatchGetUserAccessTasks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
IAsyncResult BeginBatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchGetUserAccessTasks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchGetUserAccessTasks.</param>
///
/// <returns>Returns a BatchGetUserAccessTasksResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
BatchGetUserAccessTasksResponse EndBatchGetUserAccessTasks(IAsyncResult asyncResult);
#endregion
#region ConnectAppAuthorization
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
ConnectAppAuthorizationResponse ConnectAppAuthorization(ConnectAppAuthorizationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ConnectAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization operation on AmazonAppFabricClient.</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 EndConnectAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
IAsyncResult BeginConnectAppAuthorization(ConnectAppAuthorizationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ConnectAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginConnectAppAuthorization.</param>
///
/// <returns>Returns a ConnectAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
ConnectAppAuthorizationResponse EndConnectAppAuthorization(IAsyncResult asyncResult);
#endregion
#region CreateAppAuthorization
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
CreateAppAuthorizationResponse CreateAppAuthorization(CreateAppAuthorizationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization operation on AmazonAppFabricClient.</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 EndCreateAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
IAsyncResult BeginCreateAppAuthorization(CreateAppAuthorizationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppAuthorization.</param>
///
/// <returns>Returns a CreateAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
CreateAppAuthorizationResponse EndCreateAppAuthorization(IAsyncResult asyncResult);
#endregion
#region CreateAppBundle
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
CreateAppBundleResponse CreateAppBundle(CreateAppBundleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAppBundle operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle operation on AmazonAppFabricClient.</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 EndCreateAppBundle
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
IAsyncResult BeginCreateAppBundle(CreateAppBundleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAppBundle operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAppBundle.</param>
///
/// <returns>Returns a CreateAppBundleResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
CreateAppBundleResponse EndCreateAppBundle(IAsyncResult asyncResult);
#endregion
#region CreateIngestion
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
CreateIngestionResponse CreateIngestion(CreateIngestionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion operation on AmazonAppFabricClient.</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 EndCreateIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
IAsyncResult BeginCreateIngestion(CreateIngestionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIngestion.</param>
///
/// <returns>Returns a CreateIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
CreateIngestionResponse EndCreateIngestion(IAsyncResult asyncResult);
#endregion
#region CreateIngestionDestination
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
CreateIngestionDestinationResponse CreateIngestionDestination(CreateIngestionDestinationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination operation on AmazonAppFabricClient.</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 EndCreateIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
IAsyncResult BeginCreateIngestionDestination(CreateIngestionDestinationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateIngestionDestination.</param>
///
/// <returns>Returns a CreateIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
CreateIngestionDestinationResponse EndCreateIngestionDestination(IAsyncResult asyncResult);
#endregion
#region DeleteAppAuthorization
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
DeleteAppAuthorizationResponse DeleteAppAuthorization(DeleteAppAuthorizationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization operation on AmazonAppFabricClient.</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 EndDeleteAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
IAsyncResult BeginDeleteAppAuthorization(DeleteAppAuthorizationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppAuthorization.</param>
///
/// <returns>Returns a DeleteAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
DeleteAppAuthorizationResponse EndDeleteAppAuthorization(IAsyncResult asyncResult);
#endregion
#region DeleteAppBundle
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
DeleteAppBundleResponse DeleteAppBundle(DeleteAppBundleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAppBundle operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle operation on AmazonAppFabricClient.</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 EndDeleteAppBundle
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
IAsyncResult BeginDeleteAppBundle(DeleteAppBundleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAppBundle operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAppBundle.</param>
///
/// <returns>Returns a DeleteAppBundleResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
DeleteAppBundleResponse EndDeleteAppBundle(IAsyncResult asyncResult);
#endregion
#region DeleteIngestion
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
DeleteIngestionResponse DeleteIngestion(DeleteIngestionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion operation on AmazonAppFabricClient.</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 EndDeleteIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
IAsyncResult BeginDeleteIngestion(DeleteIngestionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteIngestion.</param>
///
/// <returns>Returns a DeleteIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
DeleteIngestionResponse EndDeleteIngestion(IAsyncResult asyncResult);
#endregion
#region DeleteIngestionDestination
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
DeleteIngestionDestinationResponse DeleteIngestionDestination(DeleteIngestionDestinationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination operation on AmazonAppFabricClient.</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 EndDeleteIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
IAsyncResult BeginDeleteIngestionDestination(DeleteIngestionDestinationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteIngestionDestination.</param>
///
/// <returns>Returns a DeleteIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
DeleteIngestionDestinationResponse EndDeleteIngestionDestination(IAsyncResult asyncResult);
#endregion
#region GetAppAuthorization
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
GetAppAuthorizationResponse GetAppAuthorization(GetAppAuthorizationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization operation on AmazonAppFabricClient.</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 EndGetAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
IAsyncResult BeginGetAppAuthorization(GetAppAuthorizationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAppAuthorization.</param>
///
/// <returns>Returns a GetAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
GetAppAuthorizationResponse EndGetAppAuthorization(IAsyncResult asyncResult);
#endregion
#region GetAppBundle
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
GetAppBundleResponse GetAppBundle(GetAppBundleRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAppBundle operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle operation on AmazonAppFabricClient.</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 EndGetAppBundle
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
IAsyncResult BeginGetAppBundle(GetAppBundleRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAppBundle operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAppBundle.</param>
///
/// <returns>Returns a GetAppBundleResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
GetAppBundleResponse EndGetAppBundle(IAsyncResult asyncResult);
#endregion
#region GetIngestion
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
GetIngestionResponse GetIngestion(GetIngestionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIngestion operation on AmazonAppFabricClient.</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 EndGetIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
IAsyncResult BeginGetIngestion(GetIngestionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIngestion.</param>
///
/// <returns>Returns a GetIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
GetIngestionResponse EndGetIngestion(IAsyncResult asyncResult);
#endregion
#region GetIngestionDestination
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
GetIngestionDestinationResponse GetIngestionDestination(GetIngestionDestinationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination operation on AmazonAppFabricClient.</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 EndGetIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
IAsyncResult BeginGetIngestionDestination(GetIngestionDestinationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetIngestionDestination.</param>
///
/// <returns>Returns a GetIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
GetIngestionDestinationResponse EndGetIngestionDestination(IAsyncResult asyncResult);
#endregion
#region ListAppAuthorizations
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
ListAppAuthorizationsResponse ListAppAuthorizations(ListAppAuthorizationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAppAuthorizations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations operation on AmazonAppFabricClient.</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 EndListAppAuthorizations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
IAsyncResult BeginListAppAuthorizations(ListAppAuthorizationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAppAuthorizations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppAuthorizations.</param>
///
/// <returns>Returns a ListAppAuthorizationsResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
ListAppAuthorizationsResponse EndListAppAuthorizations(IAsyncResult asyncResult);
#endregion
#region ListAppBundles
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
ListAppBundlesResponse ListAppBundles(ListAppBundlesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAppBundles operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles operation on AmazonAppFabricClient.</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 EndListAppBundles
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
IAsyncResult BeginListAppBundles(ListAppBundlesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAppBundles operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAppBundles.</param>
///
/// <returns>Returns a ListAppBundlesResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
ListAppBundlesResponse EndListAppBundles(IAsyncResult asyncResult);
#endregion
#region ListIngestionDestinations
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
ListIngestionDestinationsResponse ListIngestionDestinations(ListIngestionDestinationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListIngestionDestinations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations operation on AmazonAppFabricClient.</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 EndListIngestionDestinations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
IAsyncResult BeginListIngestionDestinations(ListIngestionDestinationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListIngestionDestinations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListIngestionDestinations.</param>
///
/// <returns>Returns a ListIngestionDestinationsResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
ListIngestionDestinationsResponse EndListIngestionDestinations(IAsyncResult asyncResult);
#endregion
#region ListIngestions
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
ListIngestionsResponse ListIngestions(ListIngestionsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListIngestions operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListIngestions operation on AmazonAppFabricClient.</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 EndListIngestions
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
IAsyncResult BeginListIngestions(ListIngestionsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListIngestions operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListIngestions.</param>
///
/// <returns>Returns a ListIngestionsResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
ListIngestionsResponse EndListIngestions(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAppFabricClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region StartIngestion
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
StartIngestionResponse StartIngestion(StartIngestionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartIngestion operation on AmazonAppFabricClient.</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 EndStartIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
IAsyncResult BeginStartIngestion(StartIngestionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartIngestion.</param>
///
/// <returns>Returns a StartIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
StartIngestionResponse EndStartIngestion(IAsyncResult asyncResult);
#endregion
#region StartUserAccessTasks
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
StartUserAccessTasksResponse StartUserAccessTasks(StartUserAccessTasksRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartUserAccessTasks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks operation on AmazonAppFabricClient.</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 EndStartUserAccessTasks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
IAsyncResult BeginStartUserAccessTasks(StartUserAccessTasksRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartUserAccessTasks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartUserAccessTasks.</param>
///
/// <returns>Returns a StartUserAccessTasksResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
StartUserAccessTasksResponse EndStartUserAccessTasks(IAsyncResult asyncResult);
#endregion
#region StopIngestion
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
StopIngestionResponse StopIngestion(StopIngestionRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StopIngestion operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StopIngestion operation on AmazonAppFabricClient.</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 EndStopIngestion
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
IAsyncResult BeginStopIngestion(StopIngestionRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StopIngestion operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStopIngestion.</param>
///
/// <returns>Returns a StopIngestionResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
StopIngestionResponse EndStopIngestion(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAppFabricClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAppFabricClient.</param>
/// <param name="callback">An AsyncCallback delegate that is invoked when the operation completes.</param>
/// <param name="state">A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.</param>
///
/// <returns>An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateAppAuthorization
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
UpdateAppAuthorizationResponse UpdateAppAuthorization(UpdateAppAuthorizationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAppAuthorization operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization operation on AmazonAppFabricClient.</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 EndUpdateAppAuthorization
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
IAsyncResult BeginUpdateAppAuthorization(UpdateAppAuthorizationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAppAuthorization operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAppAuthorization.</param>
///
/// <returns>Returns a UpdateAppAuthorizationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
UpdateAppAuthorizationResponse EndUpdateAppAuthorization(IAsyncResult asyncResult);
#endregion
#region UpdateIngestionDestination
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
UpdateIngestionDestinationResponse UpdateIngestionDestination(UpdateIngestionDestinationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateIngestionDestination operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination operation on AmazonAppFabricClient.</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 EndUpdateIngestionDestination
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
IAsyncResult BeginUpdateIngestionDestination(UpdateIngestionDestinationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateIngestionDestination operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateIngestionDestination.</param>
///
/// <returns>Returns a UpdateIngestionDestinationResult from AppFabric.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
UpdateIngestionDestinationResponse EndUpdateIngestionDestination(IAsyncResult asyncResult);
#endregion
}
} | 1,571 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.AppFabric.Model.Internal.MarshallTransformations;
using Amazon.AppFabric.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppFabric
{
/// <summary>
/// Implementation for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon
/// Web Services AppFabric Administration Guide</a>. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric
/// section of the CLI Reference</a>.
/// </summary>
public partial class AmazonAppFabricClient : AmazonServiceClient, IAmazonAppFabric
{
private static IServiceMetadata serviceMetadata = new AmazonAppFabricMetadata();
private IAppFabricPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAppFabricPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppFabricPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAppFabricClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppFabricConfig()) { }
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAppFabricClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppFabricConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(AmazonAppFabricConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAppFabricClient(AWSCredentials credentials)
: this(credentials, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAppFabricClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppFabricConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials and an
/// AmazonAppFabricClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(AWSCredentials credentials, AmazonAppFabricConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppFabricConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppFabricClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppFabricConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppFabricConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppFabricClient 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 AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppFabricConfig 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 AmazonAppFabricEndpointResolver());
}
/// <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 BatchGetUserAccessTasks
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
public virtual BatchGetUserAccessTasksResponse BatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetUserAccessTasksResponseUnmarshaller.Instance;
return Invoke<BatchGetUserAccessTasksResponse>(request, options);
}
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
public virtual Task<BatchGetUserAccessTasksResponse> BatchGetUserAccessTasksAsync(BatchGetUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetUserAccessTasksResponseUnmarshaller.Instance;
return InvokeAsync<BatchGetUserAccessTasksResponse>(request, options, cancellationToken);
}
#endregion
#region ConnectAppAuthorization
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
public virtual ConnectAppAuthorizationResponse ConnectAppAuthorization(ConnectAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConnectAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConnectAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<ConnectAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
public virtual Task<ConnectAppAuthorizationResponse> ConnectAppAuthorizationAsync(ConnectAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ConnectAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConnectAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<ConnectAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAppAuthorization
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
public virtual CreateAppAuthorizationResponse CreateAppAuthorization(CreateAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<CreateAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
public virtual Task<CreateAppAuthorizationResponse> CreateAppAuthorizationAsync(CreateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<CreateAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAppBundle
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
public virtual CreateAppBundleResponse CreateAppBundle(CreateAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBundleResponseUnmarshaller.Instance;
return Invoke<CreateAppBundleResponse>(request, options);
}
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
public virtual Task<CreateAppBundleResponse> CreateAppBundleAsync(CreateAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBundleResponseUnmarshaller.Instance;
return InvokeAsync<CreateAppBundleResponse>(request, options, cancellationToken);
}
#endregion
#region CreateIngestion
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
public virtual CreateIngestionResponse CreateIngestion(CreateIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;
return Invoke<CreateIngestionResponse>(request, options);
}
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
public virtual Task<CreateIngestionResponse> CreateIngestionAsync(CreateIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;
return InvokeAsync<CreateIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region CreateIngestionDestination
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
public virtual CreateIngestionDestinationResponse CreateIngestionDestination(CreateIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<CreateIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
public virtual Task<CreateIngestionDestinationResponse> CreateIngestionDestinationAsync(CreateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<CreateIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAppAuthorization
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
public virtual DeleteAppAuthorizationResponse DeleteAppAuthorization(DeleteAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<DeleteAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
public virtual Task<DeleteAppAuthorizationResponse> DeleteAppAuthorizationAsync(DeleteAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAppBundle
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
public virtual DeleteAppBundleResponse DeleteAppBundle(DeleteAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBundleResponseUnmarshaller.Instance;
return Invoke<DeleteAppBundleResponse>(request, options);
}
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
public virtual Task<DeleteAppBundleResponse> DeleteAppBundleAsync(DeleteAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBundleResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAppBundleResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteIngestion
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
public virtual DeleteIngestionResponse DeleteIngestion(DeleteIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionResponseUnmarshaller.Instance;
return Invoke<DeleteIngestionResponse>(request, options);
}
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
public virtual Task<DeleteIngestionResponse> DeleteIngestionAsync(DeleteIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionResponseUnmarshaller.Instance;
return InvokeAsync<DeleteIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteIngestionDestination
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
public virtual DeleteIngestionDestinationResponse DeleteIngestionDestination(DeleteIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<DeleteIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
public virtual Task<DeleteIngestionDestinationResponse> DeleteIngestionDestinationAsync(DeleteIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
#region GetAppAuthorization
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
public virtual GetAppAuthorizationResponse GetAppAuthorization(GetAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<GetAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
public virtual Task<GetAppAuthorizationResponse> GetAppAuthorizationAsync(GetAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<GetAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region GetAppBundle
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
public virtual GetAppBundleResponse GetAppBundle(GetAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppBundleResponseUnmarshaller.Instance;
return Invoke<GetAppBundleResponse>(request, options);
}
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
public virtual Task<GetAppBundleResponse> GetAppBundleAsync(GetAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppBundleResponseUnmarshaller.Instance;
return InvokeAsync<GetAppBundleResponse>(request, options, cancellationToken);
}
#endregion
#region GetIngestion
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
public virtual GetIngestionResponse GetIngestion(GetIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionResponseUnmarshaller.Instance;
return Invoke<GetIngestionResponse>(request, options);
}
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
public virtual Task<GetIngestionResponse> GetIngestionAsync(GetIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionResponseUnmarshaller.Instance;
return InvokeAsync<GetIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region GetIngestionDestination
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
public virtual GetIngestionDestinationResponse GetIngestionDestination(GetIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<GetIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
public virtual Task<GetIngestionDestinationResponse> GetIngestionDestinationAsync(GetIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<GetIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
#region ListAppAuthorizations
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
public virtual ListAppAuthorizationsResponse ListAppAuthorizations(ListAppAuthorizationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAuthorizationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAuthorizationsResponseUnmarshaller.Instance;
return Invoke<ListAppAuthorizationsResponse>(request, options);
}
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
public virtual Task<ListAppAuthorizationsResponse> ListAppAuthorizationsAsync(ListAppAuthorizationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAuthorizationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAuthorizationsResponseUnmarshaller.Instance;
return InvokeAsync<ListAppAuthorizationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAppBundles
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
public virtual ListAppBundlesResponse ListAppBundles(ListAppBundlesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppBundlesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppBundlesResponseUnmarshaller.Instance;
return Invoke<ListAppBundlesResponse>(request, options);
}
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
public virtual Task<ListAppBundlesResponse> ListAppBundlesAsync(ListAppBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppBundlesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppBundlesResponseUnmarshaller.Instance;
return InvokeAsync<ListAppBundlesResponse>(request, options, cancellationToken);
}
#endregion
#region ListIngestionDestinations
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
public virtual ListIngestionDestinationsResponse ListIngestionDestinations(ListIngestionDestinationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionDestinationsResponseUnmarshaller.Instance;
return Invoke<ListIngestionDestinationsResponse>(request, options);
}
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
public virtual Task<ListIngestionDestinationsResponse> ListIngestionDestinationsAsync(ListIngestionDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionDestinationsResponseUnmarshaller.Instance;
return InvokeAsync<ListIngestionDestinationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListIngestions
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
public virtual ListIngestionsResponse ListIngestions(ListIngestionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionsResponseUnmarshaller.Instance;
return Invoke<ListIngestionsResponse>(request, options);
}
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
public virtual Task<ListIngestionsResponse> ListIngestionsAsync(ListIngestionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionsResponseUnmarshaller.Instance;
return InvokeAsync<ListIngestionsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region StartIngestion
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
public virtual StartIngestionResponse StartIngestion(StartIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIngestionResponseUnmarshaller.Instance;
return Invoke<StartIngestionResponse>(request, options);
}
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
public virtual Task<StartIngestionResponse> StartIngestionAsync(StartIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIngestionResponseUnmarshaller.Instance;
return InvokeAsync<StartIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region StartUserAccessTasks
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
public virtual StartUserAccessTasksResponse StartUserAccessTasks(StartUserAccessTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartUserAccessTasksResponseUnmarshaller.Instance;
return Invoke<StartUserAccessTasksResponse>(request, options);
}
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
public virtual Task<StartUserAccessTasksResponse> StartUserAccessTasksAsync(StartUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartUserAccessTasksResponseUnmarshaller.Instance;
return InvokeAsync<StartUserAccessTasksResponse>(request, options, cancellationToken);
}
#endregion
#region StopIngestion
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
public virtual StopIngestionResponse StopIngestion(StopIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopIngestionResponseUnmarshaller.Instance;
return Invoke<StopIngestionResponse>(request, options);
}
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
public virtual Task<StopIngestionResponse> StopIngestionAsync(StopIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopIngestionResponseUnmarshaller.Instance;
return InvokeAsync<StopIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAppAuthorization
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
public virtual UpdateAppAuthorizationResponse UpdateAppAuthorization(UpdateAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<UpdateAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
public virtual Task<UpdateAppAuthorizationResponse> UpdateAppAuthorizationAsync(UpdateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateIngestionDestination
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
public virtual UpdateIngestionDestinationResponse UpdateIngestionDestination(UpdateIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<UpdateIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
public virtual Task<UpdateIngestionDestinationResponse> UpdateIngestionDestinationAsync(UpdateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
}
} | 2,290 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppFabric.Model;
namespace Amazon.AppFabric
{
/// <summary>
/// Interface for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon
/// Web Services AppFabric Administration Guide</a>. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric
/// section of the CLI Reference</a>.
/// </summary>
public partial interface IAmazonAppFabric : IAmazonService, IDisposable
{
/// <summary>
/// Paginators for the service
/// </summary>
IAppFabricPaginatorFactory Paginators { get; }
#region BatchGetUserAccessTasks
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
BatchGetUserAccessTasksResponse BatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request);
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
Task<BatchGetUserAccessTasksResponse> BatchGetUserAccessTasksAsync(BatchGetUserAccessTasksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ConnectAppAuthorization
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
ConnectAppAuthorizationResponse ConnectAppAuthorization(ConnectAppAuthorizationRequest request);
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
Task<ConnectAppAuthorizationResponse> ConnectAppAuthorizationAsync(ConnectAppAuthorizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppAuthorization
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
CreateAppAuthorizationResponse CreateAppAuthorization(CreateAppAuthorizationRequest request);
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
Task<CreateAppAuthorizationResponse> CreateAppAuthorizationAsync(CreateAppAuthorizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppBundle
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
CreateAppBundleResponse CreateAppBundle(CreateAppBundleRequest request);
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
Task<CreateAppBundleResponse> CreateAppBundleAsync(CreateAppBundleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIngestion
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
CreateIngestionResponse CreateIngestion(CreateIngestionRequest request);
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
Task<CreateIngestionResponse> CreateIngestionAsync(CreateIngestionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIngestionDestination
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
CreateIngestionDestinationResponse CreateIngestionDestination(CreateIngestionDestinationRequest request);
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
Task<CreateIngestionDestinationResponse> CreateIngestionDestinationAsync(CreateIngestionDestinationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppAuthorization
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
DeleteAppAuthorizationResponse DeleteAppAuthorization(DeleteAppAuthorizationRequest request);
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
Task<DeleteAppAuthorizationResponse> DeleteAppAuthorizationAsync(DeleteAppAuthorizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppBundle
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
DeleteAppBundleResponse DeleteAppBundle(DeleteAppBundleRequest request);
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
Task<DeleteAppBundleResponse> DeleteAppBundleAsync(DeleteAppBundleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIngestion
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
DeleteIngestionResponse DeleteIngestion(DeleteIngestionRequest request);
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
Task<DeleteIngestionResponse> DeleteIngestionAsync(DeleteIngestionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIngestionDestination
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
DeleteIngestionDestinationResponse DeleteIngestionDestination(DeleteIngestionDestinationRequest request);
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
Task<DeleteIngestionDestinationResponse> DeleteIngestionDestinationAsync(DeleteIngestionDestinationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAppAuthorization
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
GetAppAuthorizationResponse GetAppAuthorization(GetAppAuthorizationRequest request);
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
Task<GetAppAuthorizationResponse> GetAppAuthorizationAsync(GetAppAuthorizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAppBundle
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
GetAppBundleResponse GetAppBundle(GetAppBundleRequest request);
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
Task<GetAppBundleResponse> GetAppBundleAsync(GetAppBundleRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIngestion
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
GetIngestionResponse GetIngestion(GetIngestionRequest request);
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
Task<GetIngestionResponse> GetIngestionAsync(GetIngestionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIngestionDestination
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
GetIngestionDestinationResponse GetIngestionDestination(GetIngestionDestinationRequest request);
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
Task<GetIngestionDestinationResponse> GetIngestionDestinationAsync(GetIngestionDestinationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppAuthorizations
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
ListAppAuthorizationsResponse ListAppAuthorizations(ListAppAuthorizationsRequest request);
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
Task<ListAppAuthorizationsResponse> ListAppAuthorizationsAsync(ListAppAuthorizationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppBundles
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
ListAppBundlesResponse ListAppBundles(ListAppBundlesRequest request);
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
Task<ListAppBundlesResponse> ListAppBundlesAsync(ListAppBundlesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIngestionDestinations
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
ListIngestionDestinationsResponse ListIngestionDestinations(ListIngestionDestinationsRequest request);
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
Task<ListIngestionDestinationsResponse> ListIngestionDestinationsAsync(ListIngestionDestinationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIngestions
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
ListIngestionsResponse ListIngestions(ListIngestionsRequest request);
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
Task<ListIngestionsResponse> ListIngestionsAsync(ListIngestionsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartIngestion
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
StartIngestionResponse StartIngestion(StartIngestionRequest request);
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
Task<StartIngestionResponse> StartIngestionAsync(StartIngestionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartUserAccessTasks
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
StartUserAccessTasksResponse StartUserAccessTasks(StartUserAccessTasksRequest request);
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
Task<StartUserAccessTasksResponse> StartUserAccessTasksAsync(StartUserAccessTasksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopIngestion
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
StopIngestionResponse StopIngestion(StopIngestionRequest request);
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
Task<StopIngestionResponse> StopIngestionAsync(StopIngestionRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAppAuthorization
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
UpdateAppAuthorizationResponse UpdateAppAuthorization(UpdateAppAuthorizationRequest request);
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
Task<UpdateAppAuthorizationResponse> UpdateAppAuthorizationAsync(UpdateAppAuthorizationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIngestionDestination
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
UpdateIngestionDestinationResponse UpdateIngestionDestination(UpdateIngestionDestinationRequest request);
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
Task<UpdateIngestionDestinationResponse> UpdateIngestionDestinationAsync(UpdateIngestionDestinationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 1,731 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.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.AppFabric.Model;
using Amazon.AppFabric.Model.Internal.MarshallTransformations;
using Amazon.AppFabric.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppFabric
{
/// <summary>
/// Implementation for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon
/// Web Services AppFabric Administration Guide</a>. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric
/// section of the CLI Reference</a>.
/// </summary>
public partial class AmazonAppFabricClient : AmazonServiceClient, IAmazonAppFabric
{
private static IServiceMetadata serviceMetadata = new AmazonAppFabricMetadata();
#region Constructors
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
public AmazonAppFabricClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppFabricConfig()) { }
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="region">The region to connect.</param>
public AmazonAppFabricClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppFabricConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAppFabricClient 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>
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
/// </code>
///
/// </summary>
/// <param name="config">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(AmazonAppFabricConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAppFabricClient(AWSCredentials credentials)
: this(credentials, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAppFabricClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppFabricConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Credentials and an
/// AmazonAppFabricClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(AWSCredentials credentials, AmazonAppFabricConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppFabricConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppFabricClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppFabricConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppFabricConfig())
{
}
/// <summary>
/// Constructs AmazonAppFabricClient 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 AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppFabricConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppFabricClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppFabricClient 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 AmazonAppFabricClient Configuration Object</param>
public AmazonAppFabricClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppFabricConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IAppFabricPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAppFabricPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppFabricPaginatorFactory(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 AmazonAppFabricEndpointResolver());
}
/// <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 BatchGetUserAccessTasks
internal virtual BatchGetUserAccessTasksResponse BatchGetUserAccessTasks(BatchGetUserAccessTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetUserAccessTasksResponseUnmarshaller.Instance;
return Invoke<BatchGetUserAccessTasksResponse>(request, options);
}
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
public virtual Task<BatchGetUserAccessTasksResponse> BatchGetUserAccessTasksAsync(BatchGetUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetUserAccessTasksResponseUnmarshaller.Instance;
return InvokeAsync<BatchGetUserAccessTasksResponse>(request, options, cancellationToken);
}
#endregion
#region ConnectAppAuthorization
internal virtual ConnectAppAuthorizationResponse ConnectAppAuthorization(ConnectAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ConnectAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConnectAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<ConnectAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
public virtual Task<ConnectAppAuthorizationResponse> ConnectAppAuthorizationAsync(ConnectAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ConnectAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ConnectAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<ConnectAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAppAuthorization
internal virtual CreateAppAuthorizationResponse CreateAppAuthorization(CreateAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<CreateAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
public virtual Task<CreateAppAuthorizationResponse> CreateAppAuthorizationAsync(CreateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<CreateAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAppBundle
internal virtual CreateAppBundleResponse CreateAppBundle(CreateAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBundleResponseUnmarshaller.Instance;
return Invoke<CreateAppBundleResponse>(request, options);
}
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
public virtual Task<CreateAppBundleResponse> CreateAppBundleAsync(CreateAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAppBundleResponseUnmarshaller.Instance;
return InvokeAsync<CreateAppBundleResponse>(request, options, cancellationToken);
}
#endregion
#region CreateIngestion
internal virtual CreateIngestionResponse CreateIngestion(CreateIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;
return Invoke<CreateIngestionResponse>(request, options);
}
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
public virtual Task<CreateIngestionResponse> CreateIngestionAsync(CreateIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionResponseUnmarshaller.Instance;
return InvokeAsync<CreateIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region CreateIngestionDestination
internal virtual CreateIngestionDestinationResponse CreateIngestionDestination(CreateIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<CreateIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
public virtual Task<CreateIngestionDestinationResponse> CreateIngestionDestinationAsync(CreateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<CreateIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAppAuthorization
internal virtual DeleteAppAuthorizationResponse DeleteAppAuthorization(DeleteAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<DeleteAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
public virtual Task<DeleteAppAuthorizationResponse> DeleteAppAuthorizationAsync(DeleteAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAppBundle
internal virtual DeleteAppBundleResponse DeleteAppBundle(DeleteAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBundleResponseUnmarshaller.Instance;
return Invoke<DeleteAppBundleResponse>(request, options);
}
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
public virtual Task<DeleteAppBundleResponse> DeleteAppBundleAsync(DeleteAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAppBundleResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAppBundleResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteIngestion
internal virtual DeleteIngestionResponse DeleteIngestion(DeleteIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionResponseUnmarshaller.Instance;
return Invoke<DeleteIngestionResponse>(request, options);
}
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
public virtual Task<DeleteIngestionResponse> DeleteIngestionAsync(DeleteIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionResponseUnmarshaller.Instance;
return InvokeAsync<DeleteIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteIngestionDestination
internal virtual DeleteIngestionDestinationResponse DeleteIngestionDestination(DeleteIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<DeleteIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
public virtual Task<DeleteIngestionDestinationResponse> DeleteIngestionDestinationAsync(DeleteIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
#region GetAppAuthorization
internal virtual GetAppAuthorizationResponse GetAppAuthorization(GetAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<GetAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
public virtual Task<GetAppAuthorizationResponse> GetAppAuthorizationAsync(GetAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<GetAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region GetAppBundle
internal virtual GetAppBundleResponse GetAppBundle(GetAppBundleRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppBundleResponseUnmarshaller.Instance;
return Invoke<GetAppBundleResponse>(request, options);
}
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
public virtual Task<GetAppBundleResponse> GetAppBundleAsync(GetAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAppBundleRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAppBundleResponseUnmarshaller.Instance;
return InvokeAsync<GetAppBundleResponse>(request, options, cancellationToken);
}
#endregion
#region GetIngestion
internal virtual GetIngestionResponse GetIngestion(GetIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionResponseUnmarshaller.Instance;
return Invoke<GetIngestionResponse>(request, options);
}
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
public virtual Task<GetIngestionResponse> GetIngestionAsync(GetIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionResponseUnmarshaller.Instance;
return InvokeAsync<GetIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region GetIngestionDestination
internal virtual GetIngestionDestinationResponse GetIngestionDestination(GetIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<GetIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
public virtual Task<GetIngestionDestinationResponse> GetIngestionDestinationAsync(GetIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<GetIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
#region ListAppAuthorizations
internal virtual ListAppAuthorizationsResponse ListAppAuthorizations(ListAppAuthorizationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAuthorizationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAuthorizationsResponseUnmarshaller.Instance;
return Invoke<ListAppAuthorizationsResponse>(request, options);
}
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
public virtual Task<ListAppAuthorizationsResponse> ListAppAuthorizationsAsync(ListAppAuthorizationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppAuthorizationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppAuthorizationsResponseUnmarshaller.Instance;
return InvokeAsync<ListAppAuthorizationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAppBundles
internal virtual ListAppBundlesResponse ListAppBundles(ListAppBundlesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppBundlesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppBundlesResponseUnmarshaller.Instance;
return Invoke<ListAppBundlesResponse>(request, options);
}
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
public virtual Task<ListAppBundlesResponse> ListAppBundlesAsync(ListAppBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAppBundlesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAppBundlesResponseUnmarshaller.Instance;
return InvokeAsync<ListAppBundlesResponse>(request, options, cancellationToken);
}
#endregion
#region ListIngestionDestinations
internal virtual ListIngestionDestinationsResponse ListIngestionDestinations(ListIngestionDestinationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionDestinationsResponseUnmarshaller.Instance;
return Invoke<ListIngestionDestinationsResponse>(request, options);
}
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
public virtual Task<ListIngestionDestinationsResponse> ListIngestionDestinationsAsync(ListIngestionDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionDestinationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionDestinationsResponseUnmarshaller.Instance;
return InvokeAsync<ListIngestionDestinationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListIngestions
internal virtual ListIngestionsResponse ListIngestions(ListIngestionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionsResponseUnmarshaller.Instance;
return Invoke<ListIngestionsResponse>(request, options);
}
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
public virtual Task<ListIngestionsResponse> ListIngestionsAsync(ListIngestionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListIngestionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListIngestionsResponseUnmarshaller.Instance;
return InvokeAsync<ListIngestionsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region StartIngestion
internal virtual StartIngestionResponse StartIngestion(StartIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIngestionResponseUnmarshaller.Instance;
return Invoke<StartIngestionResponse>(request, options);
}
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
public virtual Task<StartIngestionResponse> StartIngestionAsync(StartIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartIngestionResponseUnmarshaller.Instance;
return InvokeAsync<StartIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region StartUserAccessTasks
internal virtual StartUserAccessTasksResponse StartUserAccessTasks(StartUserAccessTasksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartUserAccessTasksResponseUnmarshaller.Instance;
return Invoke<StartUserAccessTasksResponse>(request, options);
}
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
public virtual Task<StartUserAccessTasksResponse> StartUserAccessTasksAsync(StartUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartUserAccessTasksRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartUserAccessTasksResponseUnmarshaller.Instance;
return InvokeAsync<StartUserAccessTasksResponse>(request, options, cancellationToken);
}
#endregion
#region StopIngestion
internal virtual StopIngestionResponse StopIngestion(StopIngestionRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StopIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopIngestionResponseUnmarshaller.Instance;
return Invoke<StopIngestionResponse>(request, options);
}
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
public virtual Task<StopIngestionResponse> StopIngestionAsync(StopIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StopIngestionRequestMarshaller.Instance;
options.ResponseUnmarshaller = StopIngestionResponseUnmarshaller.Instance;
return InvokeAsync<StopIngestionResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAppAuthorization
internal virtual UpdateAppAuthorizationResponse UpdateAppAuthorization(UpdateAppAuthorizationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppAuthorizationResponseUnmarshaller.Instance;
return Invoke<UpdateAppAuthorizationResponse>(request, options);
}
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
public virtual Task<UpdateAppAuthorizationResponse> UpdateAppAuthorizationAsync(UpdateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAppAuthorizationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAppAuthorizationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAppAuthorizationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateIngestionDestination
internal virtual UpdateIngestionDestinationResponse UpdateIngestionDestination(UpdateIngestionDestinationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIngestionDestinationResponseUnmarshaller.Instance;
return Invoke<UpdateIngestionDestinationResponse>(request, options);
}
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
public virtual Task<UpdateIngestionDestinationResponse> UpdateIngestionDestinationAsync(UpdateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateIngestionDestinationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateIngestionDestinationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateIngestionDestinationResponse>(request, options, cancellationToken);
}
#endregion
}
} | 1,638 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appfabric-2023-05-19.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppFabric.Model;
namespace Amazon.AppFabric
{
/// <summary>
/// Interface for accessing AppFabric
///
/// Amazon Web Services AppFabric quickly connects software as a service (SaaS) applications
/// across your organization. This allows IT and security teams to easily manage and secure
/// applications using a standard schema, and employees can complete everyday tasks faster
/// using generative artificial intelligence (AI). You can use these APIs to complete
/// AppFabric tasks, such as setting up audit log ingestions or viewing user access. For
/// more information about AppFabric, including the required permissions to use the service,
/// see the <a href="https://docs.aws.amazon.com/appfabric/latest/adminguide/">Amazon
/// Web Services AppFabric Administration Guide</a>. For more information about using
/// the Command Line Interface (CLI) to manage your AppFabric resources, see the <a href="https://docs.aws.amazon.com/cli/latest/reference/appfabric/index.html">AppFabric
/// section of the CLI Reference</a>.
/// </summary>
public partial interface IAmazonAppFabric : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAppFabricPaginatorFactory Paginators { get; }
#endif
#region BatchGetUserAccessTasks
/// <summary>
/// Gets user access details in a batch request.
///
///
/// <para>
/// This action polls data from the tasks that are kicked off by the <code>StartUserAccessTasks</code>
/// action.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchGetUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchGetUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/BatchGetUserAccessTasks">REST API Reference for BatchGetUserAccessTasks Operation</seealso>
Task<BatchGetUserAccessTasksResponse> BatchGetUserAccessTasksAsync(BatchGetUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ConnectAppAuthorization
/// <summary>
/// Establishes a connection between Amazon Web Services AppFabric and an application,
/// which allows AppFabric to call the APIs of the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ConnectAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ConnectAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ConnectAppAuthorization">REST API Reference for ConnectAppAuthorization Operation</seealso>
Task<ConnectAppAuthorizationResponse> ConnectAppAuthorizationAsync(ConnectAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppAuthorization
/// <summary>
/// Creates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppAuthorization">REST API Reference for CreateAppAuthorization Operation</seealso>
Task<CreateAppAuthorizationResponse> CreateAppAuthorizationAsync(CreateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAppBundle
/// <summary>
/// Creates an app bundle to collect data from an application using AppFabric.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateAppBundle">REST API Reference for CreateAppBundle Operation</seealso>
Task<CreateAppBundleResponse> CreateAppBundleAsync(CreateAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIngestion
/// <summary>
/// Creates a data ingestion for an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestion">REST API Reference for CreateIngestion Operation</seealso>
Task<CreateIngestionResponse> CreateIngestionAsync(CreateIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateIngestionDestination
/// <summary>
/// Creates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/CreateIngestionDestination">REST API Reference for CreateIngestionDestination Operation</seealso>
Task<CreateIngestionDestinationResponse> CreateIngestionDestinationAsync(CreateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppAuthorization
/// <summary>
/// Deletes an app authorization. You must delete the associated ingestion before you
/// can delete an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppAuthorization">REST API Reference for DeleteAppAuthorization Operation</seealso>
Task<DeleteAppAuthorizationResponse> DeleteAppAuthorizationAsync(DeleteAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAppBundle
/// <summary>
/// Deletes an app bundle. You must delete all associated app authorizations before you
/// can delete an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteAppBundle">REST API Reference for DeleteAppBundle Operation</seealso>
Task<DeleteAppBundleResponse> DeleteAppBundleAsync(DeleteAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIngestion
/// <summary>
/// Deletes an ingestion. You must stop (disable) the ingestion and you must delete all
/// associated ingestion destinations before you can delete an app ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestion">REST API Reference for DeleteIngestion Operation</seealso>
Task<DeleteIngestionResponse> DeleteIngestionAsync(DeleteIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteIngestionDestination
/// <summary>
/// Deletes an ingestion destination.
///
///
/// <para>
/// This deletes the association between an ingestion and it's destination. It doesn't
/// delete previously ingested data or the storage destination, such as the Amazon S3
/// bucket where the data is delivered. If the ingestion destination is deleted while
/// the associated ingestion is enabled, the ingestion will fail and is eventually disabled.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/DeleteIngestionDestination">REST API Reference for DeleteIngestionDestination Operation</seealso>
Task<DeleteIngestionDestinationResponse> DeleteIngestionDestinationAsync(DeleteIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAppAuthorization
/// <summary>
/// Returns information about an app authorization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppAuthorization">REST API Reference for GetAppAuthorization Operation</seealso>
Task<GetAppAuthorizationResponse> GetAppAuthorizationAsync(GetAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAppBundle
/// <summary>
/// Returns information about an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAppBundle service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAppBundle service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetAppBundle">REST API Reference for GetAppBundle Operation</seealso>
Task<GetAppBundleResponse> GetAppBundleAsync(GetAppBundleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIngestion
/// <summary>
/// Returns information about an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestion">REST API Reference for GetIngestion Operation</seealso>
Task<GetIngestionResponse> GetIngestionAsync(GetIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetIngestionDestination
/// <summary>
/// Returns information about an ingestion destination.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/GetIngestionDestination">REST API Reference for GetIngestionDestination Operation</seealso>
Task<GetIngestionDestinationResponse> GetIngestionDestinationAsync(GetIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppAuthorizations
/// <summary>
/// Returns a list of all app authorizations configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppAuthorizations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppAuthorizations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppAuthorizations">REST API Reference for ListAppAuthorizations Operation</seealso>
Task<ListAppAuthorizationsResponse> ListAppAuthorizationsAsync(ListAppAuthorizationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAppBundles
/// <summary>
/// Returns a list of app bundles.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAppBundles service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAppBundles service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListAppBundles">REST API Reference for ListAppBundles Operation</seealso>
Task<ListAppBundlesResponse> ListAppBundlesAsync(ListAppBundlesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIngestionDestinations
/// <summary>
/// Returns a list of all ingestion destinations configured for an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestionDestinations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestionDestinations service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestionDestinations">REST API Reference for ListIngestionDestinations Operation</seealso>
Task<ListIngestionDestinationsResponse> ListIngestionDestinationsAsync(ListIngestionDestinationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListIngestions
/// <summary>
/// Returns a list of all ingestions configured for an app bundle.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListIngestions service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListIngestions service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListIngestions">REST API Reference for ListIngestions Operation</seealso>
Task<ListIngestionsResponse> ListIngestionsAsync(ListIngestionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListTagsForResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartIngestion
/// <summary>
/// Starts (enables) an ingestion, which collects data from an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartIngestion">REST API Reference for StartIngestion Operation</seealso>
Task<StartIngestionResponse> StartIngestionAsync(StartIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartUserAccessTasks
/// <summary>
/// Starts the tasks to search user access status for a specific email address.
///
///
/// <para>
/// The tasks are stopped when the user access status data is found. The tasks are terminated
/// when the API calls to the application time out.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartUserAccessTasks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartUserAccessTasks service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StartUserAccessTasks">REST API Reference for StartUserAccessTasks Operation</seealso>
Task<StartUserAccessTasksResponse> StartUserAccessTasksAsync(StartUserAccessTasksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StopIngestion
/// <summary>
/// Stops (disables) an ingestion.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StopIngestion service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StopIngestion service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/StopIngestion">REST API Reference for StopIngestion Operation</seealso>
Task<StopIngestionResponse> StopIngestionAsync(StopIngestionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the TagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag or tags from a resource.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UntagResource service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAppAuthorization
/// <summary>
/// Updates an app authorization within an app bundle, which allows AppFabric to connect
/// to an application.
///
///
/// <para>
/// If the app authorization was in a <code>connected</code> state, updating the app authorization
/// will set it back to a <code>PendingConnect</code> state.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAppAuthorization service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAppAuthorization service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateAppAuthorization">REST API Reference for UpdateAppAuthorization Operation</seealso>
Task<UpdateAppAuthorizationResponse> UpdateAppAuthorizationAsync(UpdateAppAuthorizationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateIngestionDestination
/// <summary>
/// Updates an ingestion destination, which specifies how an application's ingested data
/// is processed by Amazon Web Services AppFabric and where it's delivered.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateIngestionDestination service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateIngestionDestination service method, as returned by AppFabric.</returns>
/// <exception cref="Amazon.AppFabric.Model.AccessDeniedException">
/// You are not authorized to perform this operation.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ConflictException">
/// The request has created a conflict. Check the request parameters and try again.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.InternalServerException">
/// The request processing has failed because of an unknown error, exception, or failure
/// with an internal server.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ServiceQuotaExceededException">
/// The request exceeds a service quota.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ThrottlingException">
/// The request rate exceeds the limit.
/// </exception>
/// <exception cref="Amazon.AppFabric.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/appfabric-2023-05-19/UpdateIngestionDestination">REST API Reference for UpdateIngestionDestination Operation</seealso>
Task<UpdateIngestionDestinationResponse> UpdateIngestionDestinationAsync(UpdateIngestionDestinationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 997 |
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.AppFabric")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AppFabric. Initial release of AWS AppFabric for connecting SaaS applications for better productivity and security.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AppFabric. Initial release of AWS AppFabric for connecting SaaS applications for better productivity and security.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AppFabric. Initial release of AWS AppFabric for connecting SaaS applications for better productivity and security.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AppFabric. Initial release of AWS AppFabric for connecting SaaS applications for better productivity and security.")]
#else
#error Unknown platform constant - unable to set correct AssemblyDescription
#endif
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyProduct("Amazon Web Services SDK for .NET")]
[assembly: AssemblyCompany("Amazon.com, Inc")]
[assembly: AssemblyCopyright("Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true on that type.
[assembly: ComVisible(false)]
// Version information for an assembly consists of the following four values:
//
// Major Version
// Minor Version
// Build Number
// Revision
//
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.3")]
[assembly: AssemblyFileVersion("3.7.100.0")]
[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 appflow-2020-08-23.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.Appflow.Internal;
namespace Amazon.Appflow
{
/// <summary>
/// Configuration for accessing Amazon Appflow service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonAppflowConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.113.0");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonAppflowConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppflowDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "appflow";
this.EndpointProvider = new AmazonAppflowEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "appflow";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2020-08-23";
}
}
/// <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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.Appflow
{
/// <summary>
/// Configuration for accessing Amazon Appflow service
/// </summary>
public static class AmazonAppflowDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// Appflow
/// </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 appflow-2020-08-23.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.Appflow.Endpoints
{
/// <summary>
/// Contains parameters used for resolving Appflow endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal AppflowEndpointProvider and AppflowEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class AppflowEndpointParameters : EndpointParameters
{
/// <summary>
/// AppflowEndpointParameters constructor
/// </summary>
public AppflowEndpointParameters()
{
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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.Appflow
{
///<summary>
/// Common exception for the Appflow service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonAppflowException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonAppflowException
/// </summary>
/// <param name="message"></param>
public AmazonAppflowException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonAppflowException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonAppflowException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAppflowException
/// </summary>
/// <param name="innerException"></param>
public AmazonAppflowException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAppflowException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAppflowException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonAppflowException
/// </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 AmazonAppflowException(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 AmazonAppflowException 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 AmazonAppflowException(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 appflow-2020-08-23.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.Appflow
{
/// <summary>
/// Constants used for properties of type AggregationType.
/// </summary>
public class AggregationType : ConstantClass
{
/// <summary>
/// Constant None for AggregationType
/// </summary>
public static readonly AggregationType None = new AggregationType("None");
/// <summary>
/// Constant SingleFile for AggregationType
/// </summary>
public static readonly AggregationType SingleFile = new AggregationType("SingleFile");
/// <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 AggregationType(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 AggregationType FindValue(string value)
{
return FindValue<AggregationType>(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 AggregationType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type AmplitudeConnectorOperator.
/// </summary>
public class AmplitudeConnectorOperator : ConstantClass
{
/// <summary>
/// Constant BETWEEN for AmplitudeConnectorOperator
/// </summary>
public static readonly AmplitudeConnectorOperator BETWEEN = new AmplitudeConnectorOperator("BETWEEN");
/// <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 AmplitudeConnectorOperator(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 AmplitudeConnectorOperator FindValue(string value)
{
return FindValue<AmplitudeConnectorOperator>(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 AmplitudeConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type AuthenticationType.
/// </summary>
public class AuthenticationType : ConstantClass
{
/// <summary>
/// Constant APIKEY for AuthenticationType
/// </summary>
public static readonly AuthenticationType APIKEY = new AuthenticationType("APIKEY");
/// <summary>
/// Constant BASIC for AuthenticationType
/// </summary>
public static readonly AuthenticationType BASIC = new AuthenticationType("BASIC");
/// <summary>
/// Constant CUSTOM for AuthenticationType
/// </summary>
public static readonly AuthenticationType CUSTOM = new AuthenticationType("CUSTOM");
/// <summary>
/// Constant OAUTH2 for AuthenticationType
/// </summary>
public static readonly AuthenticationType OAUTH2 = new AuthenticationType("OAUTH2");
/// <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 AuthenticationType(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 AuthenticationType FindValue(string value)
{
return FindValue<AuthenticationType>(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 AuthenticationType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type CatalogType.
/// </summary>
public class CatalogType : ConstantClass
{
/// <summary>
/// Constant GLUE for CatalogType
/// </summary>
public static readonly CatalogType GLUE = new CatalogType("GLUE");
/// <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 CatalogType(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 CatalogType FindValue(string value)
{
return FindValue<CatalogType>(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 CatalogType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ConnectionMode.
/// </summary>
public class ConnectionMode : ConstantClass
{
/// <summary>
/// Constant Private for ConnectionMode
/// </summary>
public static readonly ConnectionMode Private = new ConnectionMode("Private");
/// <summary>
/// Constant Public for ConnectionMode
/// </summary>
public static readonly ConnectionMode Public = new ConnectionMode("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 ConnectionMode(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 ConnectionMode FindValue(string value)
{
return FindValue<ConnectionMode>(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 ConnectionMode(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ConnectorProvisioningType.
/// </summary>
public class ConnectorProvisioningType : ConstantClass
{
/// <summary>
/// Constant LAMBDA for ConnectorProvisioningType
/// </summary>
public static readonly ConnectorProvisioningType LAMBDA = new ConnectorProvisioningType("LAMBDA");
/// <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 ConnectorProvisioningType(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 ConnectorProvisioningType FindValue(string value)
{
return FindValue<ConnectorProvisioningType>(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 ConnectorProvisioningType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ConnectorType.
/// </summary>
public class ConnectorType : ConstantClass
{
/// <summary>
/// Constant Amplitude for ConnectorType
/// </summary>
public static readonly ConnectorType Amplitude = new ConnectorType("Amplitude");
/// <summary>
/// Constant CustomConnector for ConnectorType
/// </summary>
public static readonly ConnectorType CustomConnector = new ConnectorType("CustomConnector");
/// <summary>
/// Constant CustomerProfiles for ConnectorType
/// </summary>
public static readonly ConnectorType CustomerProfiles = new ConnectorType("CustomerProfiles");
/// <summary>
/// Constant Datadog for ConnectorType
/// </summary>
public static readonly ConnectorType Datadog = new ConnectorType("Datadog");
/// <summary>
/// Constant Dynatrace for ConnectorType
/// </summary>
public static readonly ConnectorType Dynatrace = new ConnectorType("Dynatrace");
/// <summary>
/// Constant EventBridge for ConnectorType
/// </summary>
public static readonly ConnectorType EventBridge = new ConnectorType("EventBridge");
/// <summary>
/// Constant Googleanalytics for ConnectorType
/// </summary>
public static readonly ConnectorType Googleanalytics = new ConnectorType("Googleanalytics");
/// <summary>
/// Constant Honeycode for ConnectorType
/// </summary>
public static readonly ConnectorType Honeycode = new ConnectorType("Honeycode");
/// <summary>
/// Constant Infornexus for ConnectorType
/// </summary>
public static readonly ConnectorType Infornexus = new ConnectorType("Infornexus");
/// <summary>
/// Constant LookoutMetrics for ConnectorType
/// </summary>
public static readonly ConnectorType LookoutMetrics = new ConnectorType("LookoutMetrics");
/// <summary>
/// Constant Marketo for ConnectorType
/// </summary>
public static readonly ConnectorType Marketo = new ConnectorType("Marketo");
/// <summary>
/// Constant Pardot for ConnectorType
/// </summary>
public static readonly ConnectorType Pardot = new ConnectorType("Pardot");
/// <summary>
/// Constant Redshift for ConnectorType
/// </summary>
public static readonly ConnectorType Redshift = new ConnectorType("Redshift");
/// <summary>
/// Constant S3 for ConnectorType
/// </summary>
public static readonly ConnectorType S3 = new ConnectorType("S3");
/// <summary>
/// Constant Salesforce for ConnectorType
/// </summary>
public static readonly ConnectorType Salesforce = new ConnectorType("Salesforce");
/// <summary>
/// Constant SAPOData for ConnectorType
/// </summary>
public static readonly ConnectorType SAPOData = new ConnectorType("SAPOData");
/// <summary>
/// Constant Servicenow for ConnectorType
/// </summary>
public static readonly ConnectorType Servicenow = new ConnectorType("Servicenow");
/// <summary>
/// Constant Singular for ConnectorType
/// </summary>
public static readonly ConnectorType Singular = new ConnectorType("Singular");
/// <summary>
/// Constant Slack for ConnectorType
/// </summary>
public static readonly ConnectorType Slack = new ConnectorType("Slack");
/// <summary>
/// Constant Snowflake for ConnectorType
/// </summary>
public static readonly ConnectorType Snowflake = new ConnectorType("Snowflake");
/// <summary>
/// Constant Trendmicro for ConnectorType
/// </summary>
public static readonly ConnectorType Trendmicro = new ConnectorType("Trendmicro");
/// <summary>
/// Constant Upsolver for ConnectorType
/// </summary>
public static readonly ConnectorType Upsolver = new ConnectorType("Upsolver");
/// <summary>
/// Constant Veeva for ConnectorType
/// </summary>
public static readonly ConnectorType Veeva = new ConnectorType("Veeva");
/// <summary>
/// Constant Zendesk for ConnectorType
/// </summary>
public static readonly ConnectorType Zendesk = new ConnectorType("Zendesk");
/// <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 ConnectorType(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 ConnectorType FindValue(string value)
{
return FindValue<ConnectorType>(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 ConnectorType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DatadogConnectorOperator.
/// </summary>
public class DatadogConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator ADDITION = new DatadogConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator BETWEEN = new DatadogConnectorOperator("BETWEEN");
/// <summary>
/// Constant DIVISION for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator DIVISION = new DatadogConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator EQUAL_TO = new DatadogConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator MASK_ALL = new DatadogConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator MASK_FIRST_N = new DatadogConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator MASK_LAST_N = new DatadogConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator MULTIPLICATION = new DatadogConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator NO_OP = new DatadogConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator PROJECTION = new DatadogConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator SUBTRACTION = new DatadogConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator VALIDATE_NON_NEGATIVE = new DatadogConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator VALIDATE_NON_NULL = new DatadogConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator VALIDATE_NON_ZERO = new DatadogConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for DatadogConnectorOperator
/// </summary>
public static readonly DatadogConnectorOperator VALIDATE_NUMERIC = new DatadogConnectorOperator("VALIDATE_NUMERIC");
/// <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 DatadogConnectorOperator(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 DatadogConnectorOperator FindValue(string value)
{
return FindValue<DatadogConnectorOperator>(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 DatadogConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DataPullMode.
/// </summary>
public class DataPullMode : ConstantClass
{
/// <summary>
/// Constant Complete for DataPullMode
/// </summary>
public static readonly DataPullMode Complete = new DataPullMode("Complete");
/// <summary>
/// Constant Incremental for DataPullMode
/// </summary>
public static readonly DataPullMode Incremental = new DataPullMode("Incremental");
/// <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 DataPullMode(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 DataPullMode FindValue(string value)
{
return FindValue<DataPullMode>(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 DataPullMode(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DataTransferApiType.
/// </summary>
public class DataTransferApiType : ConstantClass
{
/// <summary>
/// Constant ASYNC for DataTransferApiType
/// </summary>
public static readonly DataTransferApiType ASYNC = new DataTransferApiType("ASYNC");
/// <summary>
/// Constant AUTOMATIC for DataTransferApiType
/// </summary>
public static readonly DataTransferApiType AUTOMATIC = new DataTransferApiType("AUTOMATIC");
/// <summary>
/// Constant SYNC for DataTransferApiType
/// </summary>
public static readonly DataTransferApiType SYNC = new DataTransferApiType("SYNC");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public DataTransferApiType(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 DataTransferApiType FindValue(string value)
{
return FindValue<DataTransferApiType>(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 DataTransferApiType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type DynatraceConnectorOperator.
/// </summary>
public class DynatraceConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator ADDITION = new DynatraceConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator BETWEEN = new DynatraceConnectorOperator("BETWEEN");
/// <summary>
/// Constant DIVISION for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator DIVISION = new DynatraceConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator EQUAL_TO = new DynatraceConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator MASK_ALL = new DynatraceConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator MASK_FIRST_N = new DynatraceConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator MASK_LAST_N = new DynatraceConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator MULTIPLICATION = new DynatraceConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator NO_OP = new DynatraceConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator PROJECTION = new DynatraceConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator SUBTRACTION = new DynatraceConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator VALIDATE_NON_NEGATIVE = new DynatraceConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator VALIDATE_NON_NULL = new DynatraceConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator VALIDATE_NON_ZERO = new DynatraceConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for DynatraceConnectorOperator
/// </summary>
public static readonly DynatraceConnectorOperator VALIDATE_NUMERIC = new DynatraceConnectorOperator("VALIDATE_NUMERIC");
/// <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 DynatraceConnectorOperator(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 DynatraceConnectorOperator FindValue(string value)
{
return FindValue<DynatraceConnectorOperator>(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 DynatraceConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ExecutionStatus.
/// </summary>
public class ExecutionStatus : ConstantClass
{
/// <summary>
/// Constant Canceled for ExecutionStatus
/// </summary>
public static readonly ExecutionStatus Canceled = new ExecutionStatus("Canceled");
/// <summary>
/// Constant CancelStarted for ExecutionStatus
/// </summary>
public static readonly ExecutionStatus CancelStarted = new ExecutionStatus("CancelStarted");
/// <summary>
/// Constant Error for ExecutionStatus
/// </summary>
public static readonly ExecutionStatus Error = new ExecutionStatus("Error");
/// <summary>
/// Constant InProgress for ExecutionStatus
/// </summary>
public static readonly ExecutionStatus InProgress = new ExecutionStatus("InProgress");
/// <summary>
/// Constant Successful for ExecutionStatus
/// </summary>
public static readonly ExecutionStatus Successful = new ExecutionStatus("Successful");
/// <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 ExecutionStatus(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 ExecutionStatus FindValue(string value)
{
return FindValue<ExecutionStatus>(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 ExecutionStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type FileType.
/// </summary>
public class FileType : ConstantClass
{
/// <summary>
/// Constant CSV for FileType
/// </summary>
public static readonly FileType CSV = new FileType("CSV");
/// <summary>
/// Constant JSON for FileType
/// </summary>
public static readonly FileType JSON = new FileType("JSON");
/// <summary>
/// Constant PARQUET for FileType
/// </summary>
public static readonly FileType PARQUET = new FileType("PARQUET");
/// <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 FileType(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 FileType FindValue(string value)
{
return FindValue<FileType>(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 FileType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type FlowStatus.
/// </summary>
public class FlowStatus : ConstantClass
{
/// <summary>
/// Constant Active for FlowStatus
/// </summary>
public static readonly FlowStatus Active = new FlowStatus("Active");
/// <summary>
/// Constant Deleted for FlowStatus
/// </summary>
public static readonly FlowStatus Deleted = new FlowStatus("Deleted");
/// <summary>
/// Constant Deprecated for FlowStatus
/// </summary>
public static readonly FlowStatus Deprecated = new FlowStatus("Deprecated");
/// <summary>
/// Constant Draft for FlowStatus
/// </summary>
public static readonly FlowStatus Draft = new FlowStatus("Draft");
/// <summary>
/// Constant Errored for FlowStatus
/// </summary>
public static readonly FlowStatus Errored = new FlowStatus("Errored");
/// <summary>
/// Constant Suspended for FlowStatus
/// </summary>
public static readonly FlowStatus Suspended = new FlowStatus("Suspended");
/// <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 FlowStatus(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 FlowStatus FindValue(string value)
{
return FindValue<FlowStatus>(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 FlowStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type GoogleAnalyticsConnectorOperator.
/// </summary>
public class GoogleAnalyticsConnectorOperator : ConstantClass
{
/// <summary>
/// Constant BETWEEN for GoogleAnalyticsConnectorOperator
/// </summary>
public static readonly GoogleAnalyticsConnectorOperator BETWEEN = new GoogleAnalyticsConnectorOperator("BETWEEN");
/// <summary>
/// Constant PROJECTION for GoogleAnalyticsConnectorOperator
/// </summary>
public static readonly GoogleAnalyticsConnectorOperator PROJECTION = new GoogleAnalyticsConnectorOperator("PROJECTION");
/// <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 GoogleAnalyticsConnectorOperator(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 GoogleAnalyticsConnectorOperator FindValue(string value)
{
return FindValue<GoogleAnalyticsConnectorOperator>(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 GoogleAnalyticsConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type InforNexusConnectorOperator.
/// </summary>
public class InforNexusConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator ADDITION = new InforNexusConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator BETWEEN = new InforNexusConnectorOperator("BETWEEN");
/// <summary>
/// Constant DIVISION for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator DIVISION = new InforNexusConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator EQUAL_TO = new InforNexusConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator MASK_ALL = new InforNexusConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator MASK_FIRST_N = new InforNexusConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator MASK_LAST_N = new InforNexusConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator MULTIPLICATION = new InforNexusConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator NO_OP = new InforNexusConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator PROJECTION = new InforNexusConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator SUBTRACTION = new InforNexusConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator VALIDATE_NON_NEGATIVE = new InforNexusConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator VALIDATE_NON_NULL = new InforNexusConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator VALIDATE_NON_ZERO = new InforNexusConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for InforNexusConnectorOperator
/// </summary>
public static readonly InforNexusConnectorOperator VALIDATE_NUMERIC = new InforNexusConnectorOperator("VALIDATE_NUMERIC");
/// <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 InforNexusConnectorOperator(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 InforNexusConnectorOperator FindValue(string value)
{
return FindValue<InforNexusConnectorOperator>(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 InforNexusConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type MarketoConnectorOperator.
/// </summary>
public class MarketoConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator ADDITION = new MarketoConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator BETWEEN = new MarketoConnectorOperator("BETWEEN");
/// <summary>
/// Constant DIVISION for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator DIVISION = new MarketoConnectorOperator("DIVISION");
/// <summary>
/// Constant GREATER_THAN for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator GREATER_THAN = new MarketoConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant LESS_THAN for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator LESS_THAN = new MarketoConnectorOperator("LESS_THAN");
/// <summary>
/// Constant MASK_ALL for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator MASK_ALL = new MarketoConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator MASK_FIRST_N = new MarketoConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator MASK_LAST_N = new MarketoConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator MULTIPLICATION = new MarketoConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator NO_OP = new MarketoConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator PROJECTION = new MarketoConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator SUBTRACTION = new MarketoConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator VALIDATE_NON_NEGATIVE = new MarketoConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator VALIDATE_NON_NULL = new MarketoConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator VALIDATE_NON_ZERO = new MarketoConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for MarketoConnectorOperator
/// </summary>
public static readonly MarketoConnectorOperator VALIDATE_NUMERIC = new MarketoConnectorOperator("VALIDATE_NUMERIC");
/// <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 MarketoConnectorOperator(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 MarketoConnectorOperator FindValue(string value)
{
return FindValue<MarketoConnectorOperator>(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 MarketoConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OAuth2CustomPropType.
/// </summary>
public class OAuth2CustomPropType : ConstantClass
{
/// <summary>
/// Constant AUTH_URL for OAuth2CustomPropType
/// </summary>
public static readonly OAuth2CustomPropType AUTH_URL = new OAuth2CustomPropType("AUTH_URL");
/// <summary>
/// Constant TOKEN_URL for OAuth2CustomPropType
/// </summary>
public static readonly OAuth2CustomPropType TOKEN_URL = new OAuth2CustomPropType("TOKEN_URL");
/// <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 OAuth2CustomPropType(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 OAuth2CustomPropType FindValue(string value)
{
return FindValue<OAuth2CustomPropType>(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 OAuth2CustomPropType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OAuth2GrantType.
/// </summary>
public class OAuth2GrantType : ConstantClass
{
/// <summary>
/// Constant AUTHORIZATION_CODE for OAuth2GrantType
/// </summary>
public static readonly OAuth2GrantType AUTHORIZATION_CODE = new OAuth2GrantType("AUTHORIZATION_CODE");
/// <summary>
/// Constant CLIENT_CREDENTIALS for OAuth2GrantType
/// </summary>
public static readonly OAuth2GrantType CLIENT_CREDENTIALS = new OAuth2GrantType("CLIENT_CREDENTIALS");
/// <summary>
/// Constant JWT_BEARER for OAuth2GrantType
/// </summary>
public static readonly OAuth2GrantType JWT_BEARER = new OAuth2GrantType("JWT_BEARER");
/// <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 OAuth2GrantType(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 OAuth2GrantType FindValue(string value)
{
return FindValue<OAuth2GrantType>(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 OAuth2GrantType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Operator.
/// </summary>
public class Operator : ConstantClass
{
/// <summary>
/// Constant ADDITION for Operator
/// </summary>
public static readonly Operator ADDITION = new Operator("ADDITION");
/// <summary>
/// Constant BETWEEN for Operator
/// </summary>
public static readonly Operator BETWEEN = new Operator("BETWEEN");
/// <summary>
/// Constant CONTAINS for Operator
/// </summary>
public static readonly Operator CONTAINS = new Operator("CONTAINS");
/// <summary>
/// Constant DIVISION for Operator
/// </summary>
public static readonly Operator DIVISION = new Operator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for Operator
/// </summary>
public static readonly Operator EQUAL_TO = new Operator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for Operator
/// </summary>
public static readonly Operator GREATER_THAN = new Operator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for Operator
/// </summary>
public static readonly Operator GREATER_THAN_OR_EQUAL_TO = new Operator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for Operator
/// </summary>
public static readonly Operator LESS_THAN = new Operator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for Operator
/// </summary>
public static readonly Operator LESS_THAN_OR_EQUAL_TO = new Operator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for Operator
/// </summary>
public static readonly Operator MASK_ALL = new Operator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for Operator
/// </summary>
public static readonly Operator MASK_FIRST_N = new Operator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for Operator
/// </summary>
public static readonly Operator MASK_LAST_N = new Operator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for Operator
/// </summary>
public static readonly Operator MULTIPLICATION = new Operator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for Operator
/// </summary>
public static readonly Operator NO_OP = new Operator("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for Operator
/// </summary>
public static readonly Operator NOT_EQUAL_TO = new Operator("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for Operator
/// </summary>
public static readonly Operator PROJECTION = new Operator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for Operator
/// </summary>
public static readonly Operator SUBTRACTION = new Operator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for Operator
/// </summary>
public static readonly Operator VALIDATE_NON_NEGATIVE = new Operator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for Operator
/// </summary>
public static readonly Operator VALIDATE_NON_NULL = new Operator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for Operator
/// </summary>
public static readonly Operator VALIDATE_NON_ZERO = new Operator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for Operator
/// </summary>
public static readonly Operator VALIDATE_NUMERIC = new Operator("VALIDATE_NUMERIC");
/// <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 Operator(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 Operator FindValue(string value)
{
return FindValue<Operator>(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 Operator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OperatorPropertiesKeys.
/// </summary>
public class OperatorPropertiesKeys : ConstantClass
{
/// <summary>
/// Constant CONCAT_FORMAT for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys CONCAT_FORMAT = new OperatorPropertiesKeys("CONCAT_FORMAT");
/// <summary>
/// Constant DATA_TYPE for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys DATA_TYPE = new OperatorPropertiesKeys("DATA_TYPE");
/// <summary>
/// Constant DESTINATION_DATA_TYPE for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys DESTINATION_DATA_TYPE = new OperatorPropertiesKeys("DESTINATION_DATA_TYPE");
/// <summary>
/// Constant EXCLUDE_SOURCE_FIELDS_LIST for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys EXCLUDE_SOURCE_FIELDS_LIST = new OperatorPropertiesKeys("EXCLUDE_SOURCE_FIELDS_LIST");
/// <summary>
/// Constant INCLUDE_NEW_FIELDS for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys INCLUDE_NEW_FIELDS = new OperatorPropertiesKeys("INCLUDE_NEW_FIELDS");
/// <summary>
/// Constant LOWER_BOUND for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys LOWER_BOUND = new OperatorPropertiesKeys("LOWER_BOUND");
/// <summary>
/// Constant MASK_LENGTH for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys MASK_LENGTH = new OperatorPropertiesKeys("MASK_LENGTH");
/// <summary>
/// Constant MASK_VALUE for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys MASK_VALUE = new OperatorPropertiesKeys("MASK_VALUE");
/// <summary>
/// Constant MATH_OPERATION_FIELDS_ORDER for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys MATH_OPERATION_FIELDS_ORDER = new OperatorPropertiesKeys("MATH_OPERATION_FIELDS_ORDER");
/// <summary>
/// Constant ORDERED_PARTITION_KEYS_LIST for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys ORDERED_PARTITION_KEYS_LIST = new OperatorPropertiesKeys("ORDERED_PARTITION_KEYS_LIST");
/// <summary>
/// Constant SOURCE_DATA_TYPE for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys SOURCE_DATA_TYPE = new OperatorPropertiesKeys("SOURCE_DATA_TYPE");
/// <summary>
/// Constant SUBFIELD_CATEGORY_MAP for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys SUBFIELD_CATEGORY_MAP = new OperatorPropertiesKeys("SUBFIELD_CATEGORY_MAP");
/// <summary>
/// Constant TRUNCATE_LENGTH for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys TRUNCATE_LENGTH = new OperatorPropertiesKeys("TRUNCATE_LENGTH");
/// <summary>
/// Constant UPPER_BOUND for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys UPPER_BOUND = new OperatorPropertiesKeys("UPPER_BOUND");
/// <summary>
/// Constant VALIDATION_ACTION for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys VALIDATION_ACTION = new OperatorPropertiesKeys("VALIDATION_ACTION");
/// <summary>
/// Constant VALUE for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys VALUE = new OperatorPropertiesKeys("VALUE");
/// <summary>
/// Constant VALUES for OperatorPropertiesKeys
/// </summary>
public static readonly OperatorPropertiesKeys VALUES = new OperatorPropertiesKeys("VALUES");
/// <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 OperatorPropertiesKeys(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 OperatorPropertiesKeys FindValue(string value)
{
return FindValue<OperatorPropertiesKeys>(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 OperatorPropertiesKeys(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Operators.
/// </summary>
public class Operators : ConstantClass
{
/// <summary>
/// Constant ADDITION for Operators
/// </summary>
public static readonly Operators ADDITION = new Operators("ADDITION");
/// <summary>
/// Constant BETWEEN for Operators
/// </summary>
public static readonly Operators BETWEEN = new Operators("BETWEEN");
/// <summary>
/// Constant CONTAINS for Operators
/// </summary>
public static readonly Operators CONTAINS = new Operators("CONTAINS");
/// <summary>
/// Constant DIVISION for Operators
/// </summary>
public static readonly Operators DIVISION = new Operators("DIVISION");
/// <summary>
/// Constant EQUAL_TO for Operators
/// </summary>
public static readonly Operators EQUAL_TO = new Operators("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for Operators
/// </summary>
public static readonly Operators GREATER_THAN = new Operators("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for Operators
/// </summary>
public static readonly Operators GREATER_THAN_OR_EQUAL_TO = new Operators("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for Operators
/// </summary>
public static readonly Operators LESS_THAN = new Operators("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for Operators
/// </summary>
public static readonly Operators LESS_THAN_OR_EQUAL_TO = new Operators("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for Operators
/// </summary>
public static readonly Operators MASK_ALL = new Operators("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for Operators
/// </summary>
public static readonly Operators MASK_FIRST_N = new Operators("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for Operators
/// </summary>
public static readonly Operators MASK_LAST_N = new Operators("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for Operators
/// </summary>
public static readonly Operators MULTIPLICATION = new Operators("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for Operators
/// </summary>
public static readonly Operators NO_OP = new Operators("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for Operators
/// </summary>
public static readonly Operators NOT_EQUAL_TO = new Operators("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for Operators
/// </summary>
public static readonly Operators PROJECTION = new Operators("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for Operators
/// </summary>
public static readonly Operators SUBTRACTION = new Operators("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for Operators
/// </summary>
public static readonly Operators VALIDATE_NON_NEGATIVE = new Operators("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for Operators
/// </summary>
public static readonly Operators VALIDATE_NON_NULL = new Operators("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for Operators
/// </summary>
public static readonly Operators VALIDATE_NON_ZERO = new Operators("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for Operators
/// </summary>
public static readonly Operators VALIDATE_NUMERIC = new Operators("VALIDATE_NUMERIC");
/// <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 Operators(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 Operators FindValue(string value)
{
return FindValue<Operators>(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 Operators(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PardotConnectorOperator.
/// </summary>
public class PardotConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator ADDITION = new PardotConnectorOperator("ADDITION");
/// <summary>
/// Constant DIVISION for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator DIVISION = new PardotConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator EQUAL_TO = new PardotConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator MASK_ALL = new PardotConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator MASK_FIRST_N = new PardotConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator MASK_LAST_N = new PardotConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator MULTIPLICATION = new PardotConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator NO_OP = new PardotConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator PROJECTION = new PardotConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator SUBTRACTION = new PardotConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator VALIDATE_NON_NEGATIVE = new PardotConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator VALIDATE_NON_NULL = new PardotConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator VALIDATE_NON_ZERO = new PardotConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for PardotConnectorOperator
/// </summary>
public static readonly PardotConnectorOperator VALIDATE_NUMERIC = new PardotConnectorOperator("VALIDATE_NUMERIC");
/// <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 PardotConnectorOperator(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 PardotConnectorOperator FindValue(string value)
{
return FindValue<PardotConnectorOperator>(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 PardotConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PathPrefix.
/// </summary>
public class PathPrefix : ConstantClass
{
/// <summary>
/// Constant EXECUTION_ID for PathPrefix
/// </summary>
public static readonly PathPrefix EXECUTION_ID = new PathPrefix("EXECUTION_ID");
/// <summary>
/// Constant SCHEMA_VERSION for PathPrefix
/// </summary>
public static readonly PathPrefix SCHEMA_VERSION = new PathPrefix("SCHEMA_VERSION");
/// <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 PathPrefix(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 PathPrefix FindValue(string value)
{
return FindValue<PathPrefix>(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 PathPrefix(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PrefixFormat.
/// </summary>
public class PrefixFormat : ConstantClass
{
/// <summary>
/// Constant DAY for PrefixFormat
/// </summary>
public static readonly PrefixFormat DAY = new PrefixFormat("DAY");
/// <summary>
/// Constant HOUR for PrefixFormat
/// </summary>
public static readonly PrefixFormat HOUR = new PrefixFormat("HOUR");
/// <summary>
/// Constant MINUTE for PrefixFormat
/// </summary>
public static readonly PrefixFormat MINUTE = new PrefixFormat("MINUTE");
/// <summary>
/// Constant MONTH for PrefixFormat
/// </summary>
public static readonly PrefixFormat MONTH = new PrefixFormat("MONTH");
/// <summary>
/// Constant YEAR for PrefixFormat
/// </summary>
public static readonly PrefixFormat YEAR = new PrefixFormat("YEAR");
/// <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 PrefixFormat(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 PrefixFormat FindValue(string value)
{
return FindValue<PrefixFormat>(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 PrefixFormat(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PrefixType.
/// </summary>
public class PrefixType : ConstantClass
{
/// <summary>
/// Constant FILENAME for PrefixType
/// </summary>
public static readonly PrefixType FILENAME = new PrefixType("FILENAME");
/// <summary>
/// Constant PATH for PrefixType
/// </summary>
public static readonly PrefixType PATH = new PrefixType("PATH");
/// <summary>
/// Constant PATH_AND_FILENAME for PrefixType
/// </summary>
public static readonly PrefixType PATH_AND_FILENAME = new PrefixType("PATH_AND_FILENAME");
/// <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 PrefixType(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 PrefixType FindValue(string value)
{
return FindValue<PrefixType>(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 PrefixType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PrivateConnectionProvisioningFailureCause.
/// </summary>
public class PrivateConnectionProvisioningFailureCause : ConstantClass
{
/// <summary>
/// Constant ACCESS_DENIED for PrivateConnectionProvisioningFailureCause
/// </summary>
public static readonly PrivateConnectionProvisioningFailureCause ACCESS_DENIED = new PrivateConnectionProvisioningFailureCause("ACCESS_DENIED");
/// <summary>
/// Constant CONNECTOR_AUTHENTICATION for PrivateConnectionProvisioningFailureCause
/// </summary>
public static readonly PrivateConnectionProvisioningFailureCause CONNECTOR_AUTHENTICATION = new PrivateConnectionProvisioningFailureCause("CONNECTOR_AUTHENTICATION");
/// <summary>
/// Constant CONNECTOR_SERVER for PrivateConnectionProvisioningFailureCause
/// </summary>
public static readonly PrivateConnectionProvisioningFailureCause CONNECTOR_SERVER = new PrivateConnectionProvisioningFailureCause("CONNECTOR_SERVER");
/// <summary>
/// Constant INTERNAL_SERVER for PrivateConnectionProvisioningFailureCause
/// </summary>
public static readonly PrivateConnectionProvisioningFailureCause INTERNAL_SERVER = new PrivateConnectionProvisioningFailureCause("INTERNAL_SERVER");
/// <summary>
/// Constant VALIDATION for PrivateConnectionProvisioningFailureCause
/// </summary>
public static readonly PrivateConnectionProvisioningFailureCause VALIDATION = new PrivateConnectionProvisioningFailureCause("VALIDATION");
/// <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 PrivateConnectionProvisioningFailureCause(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 PrivateConnectionProvisioningFailureCause FindValue(string value)
{
return FindValue<PrivateConnectionProvisioningFailureCause>(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 PrivateConnectionProvisioningFailureCause(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type PrivateConnectionProvisioningStatus.
/// </summary>
public class PrivateConnectionProvisioningStatus : ConstantClass
{
/// <summary>
/// Constant CREATED for PrivateConnectionProvisioningStatus
/// </summary>
public static readonly PrivateConnectionProvisioningStatus CREATED = new PrivateConnectionProvisioningStatus("CREATED");
/// <summary>
/// Constant FAILED for PrivateConnectionProvisioningStatus
/// </summary>
public static readonly PrivateConnectionProvisioningStatus FAILED = new PrivateConnectionProvisioningStatus("FAILED");
/// <summary>
/// Constant PENDING for PrivateConnectionProvisioningStatus
/// </summary>
public static readonly PrivateConnectionProvisioningStatus PENDING = new PrivateConnectionProvisioningStatus("PENDING");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public PrivateConnectionProvisioningStatus(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 PrivateConnectionProvisioningStatus FindValue(string value)
{
return FindValue<PrivateConnectionProvisioningStatus>(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 PrivateConnectionProvisioningStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type S3ConnectorOperator.
/// </summary>
public class S3ConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator ADDITION = new S3ConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator BETWEEN = new S3ConnectorOperator("BETWEEN");
/// <summary>
/// Constant DIVISION for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator DIVISION = new S3ConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator EQUAL_TO = new S3ConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator GREATER_THAN = new S3ConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator GREATER_THAN_OR_EQUAL_TO = new S3ConnectorOperator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator LESS_THAN = new S3ConnectorOperator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator LESS_THAN_OR_EQUAL_TO = new S3ConnectorOperator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator MASK_ALL = new S3ConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator MASK_FIRST_N = new S3ConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator MASK_LAST_N = new S3ConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator MULTIPLICATION = new S3ConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator NO_OP = new S3ConnectorOperator("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator NOT_EQUAL_TO = new S3ConnectorOperator("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator PROJECTION = new S3ConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator SUBTRACTION = new S3ConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator VALIDATE_NON_NEGATIVE = new S3ConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator VALIDATE_NON_NULL = new S3ConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator VALIDATE_NON_ZERO = new S3ConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for S3ConnectorOperator
/// </summary>
public static readonly S3ConnectorOperator VALIDATE_NUMERIC = new S3ConnectorOperator("VALIDATE_NUMERIC");
/// <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 S3ConnectorOperator(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 S3ConnectorOperator FindValue(string value)
{
return FindValue<S3ConnectorOperator>(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 S3ConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type S3InputFileType.
/// </summary>
public class S3InputFileType : ConstantClass
{
/// <summary>
/// Constant CSV for S3InputFileType
/// </summary>
public static readonly S3InputFileType CSV = new S3InputFileType("CSV");
/// <summary>
/// Constant JSON for S3InputFileType
/// </summary>
public static readonly S3InputFileType JSON = new S3InputFileType("JSON");
/// <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 S3InputFileType(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 S3InputFileType FindValue(string value)
{
return FindValue<S3InputFileType>(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 S3InputFileType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SalesforceConnectorOperator.
/// </summary>
public class SalesforceConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator ADDITION = new SalesforceConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator BETWEEN = new SalesforceConnectorOperator("BETWEEN");
/// <summary>
/// Constant CONTAINS for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator CONTAINS = new SalesforceConnectorOperator("CONTAINS");
/// <summary>
/// Constant DIVISION for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator DIVISION = new SalesforceConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator EQUAL_TO = new SalesforceConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator GREATER_THAN = new SalesforceConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator GREATER_THAN_OR_EQUAL_TO = new SalesforceConnectorOperator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator LESS_THAN = new SalesforceConnectorOperator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator LESS_THAN_OR_EQUAL_TO = new SalesforceConnectorOperator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator MASK_ALL = new SalesforceConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator MASK_FIRST_N = new SalesforceConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator MASK_LAST_N = new SalesforceConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator MULTIPLICATION = new SalesforceConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator NO_OP = new SalesforceConnectorOperator("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator NOT_EQUAL_TO = new SalesforceConnectorOperator("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator PROJECTION = new SalesforceConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator SUBTRACTION = new SalesforceConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator VALIDATE_NON_NEGATIVE = new SalesforceConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator VALIDATE_NON_NULL = new SalesforceConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator VALIDATE_NON_ZERO = new SalesforceConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for SalesforceConnectorOperator
/// </summary>
public static readonly SalesforceConnectorOperator VALIDATE_NUMERIC = new SalesforceConnectorOperator("VALIDATE_NUMERIC");
/// <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 SalesforceConnectorOperator(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 SalesforceConnectorOperator FindValue(string value)
{
return FindValue<SalesforceConnectorOperator>(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 SalesforceConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SalesforceDataTransferApi.
/// </summary>
public class SalesforceDataTransferApi : ConstantClass
{
/// <summary>
/// Constant AUTOMATIC for SalesforceDataTransferApi
/// </summary>
public static readonly SalesforceDataTransferApi AUTOMATIC = new SalesforceDataTransferApi("AUTOMATIC");
/// <summary>
/// Constant BULKV2 for SalesforceDataTransferApi
/// </summary>
public static readonly SalesforceDataTransferApi BULKV2 = new SalesforceDataTransferApi("BULKV2");
/// <summary>
/// Constant REST_SYNC for SalesforceDataTransferApi
/// </summary>
public static readonly SalesforceDataTransferApi REST_SYNC = new SalesforceDataTransferApi("REST_SYNC");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public SalesforceDataTransferApi(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 SalesforceDataTransferApi FindValue(string value)
{
return FindValue<SalesforceDataTransferApi>(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 SalesforceDataTransferApi(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SAPODataConnectorOperator.
/// </summary>
public class SAPODataConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator ADDITION = new SAPODataConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator BETWEEN = new SAPODataConnectorOperator("BETWEEN");
/// <summary>
/// Constant CONTAINS for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator CONTAINS = new SAPODataConnectorOperator("CONTAINS");
/// <summary>
/// Constant DIVISION for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator DIVISION = new SAPODataConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator EQUAL_TO = new SAPODataConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator GREATER_THAN = new SAPODataConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator GREATER_THAN_OR_EQUAL_TO = new SAPODataConnectorOperator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator LESS_THAN = new SAPODataConnectorOperator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator LESS_THAN_OR_EQUAL_TO = new SAPODataConnectorOperator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator MASK_ALL = new SAPODataConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator MASK_FIRST_N = new SAPODataConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator MASK_LAST_N = new SAPODataConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator MULTIPLICATION = new SAPODataConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator NO_OP = new SAPODataConnectorOperator("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator NOT_EQUAL_TO = new SAPODataConnectorOperator("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator PROJECTION = new SAPODataConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator SUBTRACTION = new SAPODataConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator VALIDATE_NON_NEGATIVE = new SAPODataConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator VALIDATE_NON_NULL = new SAPODataConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator VALIDATE_NON_ZERO = new SAPODataConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for SAPODataConnectorOperator
/// </summary>
public static readonly SAPODataConnectorOperator VALIDATE_NUMERIC = new SAPODataConnectorOperator("VALIDATE_NUMERIC");
/// <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 SAPODataConnectorOperator(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 SAPODataConnectorOperator FindValue(string value)
{
return FindValue<SAPODataConnectorOperator>(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 SAPODataConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ScheduleFrequencyType.
/// </summary>
public class ScheduleFrequencyType : ConstantClass
{
/// <summary>
/// Constant BYMINUTE for ScheduleFrequencyType
/// </summary>
public static readonly ScheduleFrequencyType BYMINUTE = new ScheduleFrequencyType("BYMINUTE");
/// <summary>
/// Constant DAILY for ScheduleFrequencyType
/// </summary>
public static readonly ScheduleFrequencyType DAILY = new ScheduleFrequencyType("DAILY");
/// <summary>
/// Constant HOURLY for ScheduleFrequencyType
/// </summary>
public static readonly ScheduleFrequencyType HOURLY = new ScheduleFrequencyType("HOURLY");
/// <summary>
/// Constant MONTHLY for ScheduleFrequencyType
/// </summary>
public static readonly ScheduleFrequencyType MONTHLY = new ScheduleFrequencyType("MONTHLY");
/// <summary>
/// Constant ONCE for ScheduleFrequencyType
/// </summary>
public static readonly ScheduleFrequencyType ONCE = new ScheduleFrequencyType("ONCE");
/// <summary>
/// Constant WEEKLY for ScheduleFrequencyType
/// </summary>
public static readonly ScheduleFrequencyType WEEKLY = new ScheduleFrequencyType("WEEKLY");
/// <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 ScheduleFrequencyType(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 ScheduleFrequencyType FindValue(string value)
{
return FindValue<ScheduleFrequencyType>(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 ScheduleFrequencyType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ServiceNowConnectorOperator.
/// </summary>
public class ServiceNowConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator ADDITION = new ServiceNowConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator BETWEEN = new ServiceNowConnectorOperator("BETWEEN");
/// <summary>
/// Constant CONTAINS for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator CONTAINS = new ServiceNowConnectorOperator("CONTAINS");
/// <summary>
/// Constant DIVISION for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator DIVISION = new ServiceNowConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator EQUAL_TO = new ServiceNowConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator GREATER_THAN = new ServiceNowConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator GREATER_THAN_OR_EQUAL_TO = new ServiceNowConnectorOperator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator LESS_THAN = new ServiceNowConnectorOperator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator LESS_THAN_OR_EQUAL_TO = new ServiceNowConnectorOperator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator MASK_ALL = new ServiceNowConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator MASK_FIRST_N = new ServiceNowConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator MASK_LAST_N = new ServiceNowConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator MULTIPLICATION = new ServiceNowConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator NO_OP = new ServiceNowConnectorOperator("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator NOT_EQUAL_TO = new ServiceNowConnectorOperator("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator PROJECTION = new ServiceNowConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator SUBTRACTION = new ServiceNowConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator VALIDATE_NON_NEGATIVE = new ServiceNowConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator VALIDATE_NON_NULL = new ServiceNowConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator VALIDATE_NON_ZERO = new ServiceNowConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for ServiceNowConnectorOperator
/// </summary>
public static readonly ServiceNowConnectorOperator VALIDATE_NUMERIC = new ServiceNowConnectorOperator("VALIDATE_NUMERIC");
/// <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 ServiceNowConnectorOperator(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 ServiceNowConnectorOperator FindValue(string value)
{
return FindValue<ServiceNowConnectorOperator>(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 ServiceNowConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SingularConnectorOperator.
/// </summary>
public class SingularConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator ADDITION = new SingularConnectorOperator("ADDITION");
/// <summary>
/// Constant DIVISION for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator DIVISION = new SingularConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator EQUAL_TO = new SingularConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator MASK_ALL = new SingularConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator MASK_FIRST_N = new SingularConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator MASK_LAST_N = new SingularConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator MULTIPLICATION = new SingularConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator NO_OP = new SingularConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator PROJECTION = new SingularConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator SUBTRACTION = new SingularConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator VALIDATE_NON_NEGATIVE = new SingularConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator VALIDATE_NON_NULL = new SingularConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator VALIDATE_NON_ZERO = new SingularConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for SingularConnectorOperator
/// </summary>
public static readonly SingularConnectorOperator VALIDATE_NUMERIC = new SingularConnectorOperator("VALIDATE_NUMERIC");
/// <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 SingularConnectorOperator(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 SingularConnectorOperator FindValue(string value)
{
return FindValue<SingularConnectorOperator>(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 SingularConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SlackConnectorOperator.
/// </summary>
public class SlackConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator ADDITION = new SlackConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator BETWEEN = new SlackConnectorOperator("BETWEEN");
/// <summary>
/// Constant DIVISION for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator DIVISION = new SlackConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator EQUAL_TO = new SlackConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator GREATER_THAN = new SlackConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator GREATER_THAN_OR_EQUAL_TO = new SlackConnectorOperator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator LESS_THAN = new SlackConnectorOperator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator LESS_THAN_OR_EQUAL_TO = new SlackConnectorOperator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator MASK_ALL = new SlackConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator MASK_FIRST_N = new SlackConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator MASK_LAST_N = new SlackConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator MULTIPLICATION = new SlackConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator NO_OP = new SlackConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator PROJECTION = new SlackConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator SUBTRACTION = new SlackConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator VALIDATE_NON_NEGATIVE = new SlackConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator VALIDATE_NON_NULL = new SlackConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator VALIDATE_NON_ZERO = new SlackConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for SlackConnectorOperator
/// </summary>
public static readonly SlackConnectorOperator VALIDATE_NUMERIC = new SlackConnectorOperator("VALIDATE_NUMERIC");
/// <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 SlackConnectorOperator(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 SlackConnectorOperator FindValue(string value)
{
return FindValue<SlackConnectorOperator>(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 SlackConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SupportedDataTransferType.
/// </summary>
public class SupportedDataTransferType : ConstantClass
{
/// <summary>
/// Constant FILE for SupportedDataTransferType
/// </summary>
public static readonly SupportedDataTransferType FILE = new SupportedDataTransferType("FILE");
/// <summary>
/// Constant RECORD for SupportedDataTransferType
/// </summary>
public static readonly SupportedDataTransferType RECORD = new SupportedDataTransferType("RECORD");
/// <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 SupportedDataTransferType(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 SupportedDataTransferType FindValue(string value)
{
return FindValue<SupportedDataTransferType>(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 SupportedDataTransferType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type TaskType.
/// </summary>
public class TaskType : ConstantClass
{
/// <summary>
/// Constant Arithmetic for TaskType
/// </summary>
public static readonly TaskType Arithmetic = new TaskType("Arithmetic");
/// <summary>
/// Constant Filter for TaskType
/// </summary>
public static readonly TaskType Filter = new TaskType("Filter");
/// <summary>
/// Constant Map for TaskType
/// </summary>
public static readonly TaskType Map = new TaskType("Map");
/// <summary>
/// Constant Map_all for TaskType
/// </summary>
public static readonly TaskType Map_all = new TaskType("Map_all");
/// <summary>
/// Constant Mask for TaskType
/// </summary>
public static readonly TaskType Mask = new TaskType("Mask");
/// <summary>
/// Constant Merge for TaskType
/// </summary>
public static readonly TaskType Merge = new TaskType("Merge");
/// <summary>
/// Constant Partition for TaskType
/// </summary>
public static readonly TaskType Partition = new TaskType("Partition");
/// <summary>
/// Constant Passthrough for TaskType
/// </summary>
public static readonly TaskType Passthrough = new TaskType("Passthrough");
/// <summary>
/// Constant Truncate for TaskType
/// </summary>
public static readonly TaskType Truncate = new TaskType("Truncate");
/// <summary>
/// Constant Validate for TaskType
/// </summary>
public static readonly TaskType Validate = new TaskType("Validate");
/// <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 TaskType(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 TaskType FindValue(string value)
{
return FindValue<TaskType>(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 TaskType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type TrendmicroConnectorOperator.
/// </summary>
public class TrendmicroConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator ADDITION = new TrendmicroConnectorOperator("ADDITION");
/// <summary>
/// Constant DIVISION for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator DIVISION = new TrendmicroConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator EQUAL_TO = new TrendmicroConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator MASK_ALL = new TrendmicroConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator MASK_FIRST_N = new TrendmicroConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator MASK_LAST_N = new TrendmicroConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator MULTIPLICATION = new TrendmicroConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator NO_OP = new TrendmicroConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator PROJECTION = new TrendmicroConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator SUBTRACTION = new TrendmicroConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator VALIDATE_NON_NEGATIVE = new TrendmicroConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator VALIDATE_NON_NULL = new TrendmicroConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator VALIDATE_NON_ZERO = new TrendmicroConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for TrendmicroConnectorOperator
/// </summary>
public static readonly TrendmicroConnectorOperator VALIDATE_NUMERIC = new TrendmicroConnectorOperator("VALIDATE_NUMERIC");
/// <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 TrendmicroConnectorOperator(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 TrendmicroConnectorOperator FindValue(string value)
{
return FindValue<TrendmicroConnectorOperator>(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 TrendmicroConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type TriggerType.
/// </summary>
public class TriggerType : ConstantClass
{
/// <summary>
/// Constant Event for TriggerType
/// </summary>
public static readonly TriggerType Event = new TriggerType("Event");
/// <summary>
/// Constant OnDemand for TriggerType
/// </summary>
public static readonly TriggerType OnDemand = new TriggerType("OnDemand");
/// <summary>
/// Constant Scheduled for TriggerType
/// </summary>
public static readonly TriggerType Scheduled = new TriggerType("Scheduled");
/// <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 TriggerType(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 TriggerType FindValue(string value)
{
return FindValue<TriggerType>(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 TriggerType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type VeevaConnectorOperator.
/// </summary>
public class VeevaConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator ADDITION = new VeevaConnectorOperator("ADDITION");
/// <summary>
/// Constant BETWEEN for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator BETWEEN = new VeevaConnectorOperator("BETWEEN");
/// <summary>
/// Constant CONTAINS for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator CONTAINS = new VeevaConnectorOperator("CONTAINS");
/// <summary>
/// Constant DIVISION for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator DIVISION = new VeevaConnectorOperator("DIVISION");
/// <summary>
/// Constant EQUAL_TO for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator EQUAL_TO = new VeevaConnectorOperator("EQUAL_TO");
/// <summary>
/// Constant GREATER_THAN for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator GREATER_THAN = new VeevaConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant GREATER_THAN_OR_EQUAL_TO for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator GREATER_THAN_OR_EQUAL_TO = new VeevaConnectorOperator("GREATER_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant LESS_THAN for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator LESS_THAN = new VeevaConnectorOperator("LESS_THAN");
/// <summary>
/// Constant LESS_THAN_OR_EQUAL_TO for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator LESS_THAN_OR_EQUAL_TO = new VeevaConnectorOperator("LESS_THAN_OR_EQUAL_TO");
/// <summary>
/// Constant MASK_ALL for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator MASK_ALL = new VeevaConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator MASK_FIRST_N = new VeevaConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator MASK_LAST_N = new VeevaConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator MULTIPLICATION = new VeevaConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator NO_OP = new VeevaConnectorOperator("NO_OP");
/// <summary>
/// Constant NOT_EQUAL_TO for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator NOT_EQUAL_TO = new VeevaConnectorOperator("NOT_EQUAL_TO");
/// <summary>
/// Constant PROJECTION for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator PROJECTION = new VeevaConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator SUBTRACTION = new VeevaConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator VALIDATE_NON_NEGATIVE = new VeevaConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator VALIDATE_NON_NULL = new VeevaConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator VALIDATE_NON_ZERO = new VeevaConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for VeevaConnectorOperator
/// </summary>
public static readonly VeevaConnectorOperator VALIDATE_NUMERIC = new VeevaConnectorOperator("VALIDATE_NUMERIC");
/// <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 VeevaConnectorOperator(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 VeevaConnectorOperator FindValue(string value)
{
return FindValue<VeevaConnectorOperator>(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 VeevaConnectorOperator(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type WriteOperationType.
/// </summary>
public class WriteOperationType : ConstantClass
{
/// <summary>
/// Constant DELETE for WriteOperationType
/// </summary>
public static readonly WriteOperationType DELETE = new WriteOperationType("DELETE");
/// <summary>
/// Constant INSERT for WriteOperationType
/// </summary>
public static readonly WriteOperationType INSERT = new WriteOperationType("INSERT");
/// <summary>
/// Constant UPDATE for WriteOperationType
/// </summary>
public static readonly WriteOperationType UPDATE = new WriteOperationType("UPDATE");
/// <summary>
/// Constant UPSERT for WriteOperationType
/// </summary>
public static readonly WriteOperationType UPSERT = new WriteOperationType("UPSERT");
/// <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 WriteOperationType(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 WriteOperationType FindValue(string value)
{
return FindValue<WriteOperationType>(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 WriteOperationType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ZendeskConnectorOperator.
/// </summary>
public class ZendeskConnectorOperator : ConstantClass
{
/// <summary>
/// Constant ADDITION for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator ADDITION = new ZendeskConnectorOperator("ADDITION");
/// <summary>
/// Constant DIVISION for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator DIVISION = new ZendeskConnectorOperator("DIVISION");
/// <summary>
/// Constant GREATER_THAN for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator GREATER_THAN = new ZendeskConnectorOperator("GREATER_THAN");
/// <summary>
/// Constant MASK_ALL for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator MASK_ALL = new ZendeskConnectorOperator("MASK_ALL");
/// <summary>
/// Constant MASK_FIRST_N for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator MASK_FIRST_N = new ZendeskConnectorOperator("MASK_FIRST_N");
/// <summary>
/// Constant MASK_LAST_N for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator MASK_LAST_N = new ZendeskConnectorOperator("MASK_LAST_N");
/// <summary>
/// Constant MULTIPLICATION for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator MULTIPLICATION = new ZendeskConnectorOperator("MULTIPLICATION");
/// <summary>
/// Constant NO_OP for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator NO_OP = new ZendeskConnectorOperator("NO_OP");
/// <summary>
/// Constant PROJECTION for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator PROJECTION = new ZendeskConnectorOperator("PROJECTION");
/// <summary>
/// Constant SUBTRACTION for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator SUBTRACTION = new ZendeskConnectorOperator("SUBTRACTION");
/// <summary>
/// Constant VALIDATE_NON_NEGATIVE for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator VALIDATE_NON_NEGATIVE = new ZendeskConnectorOperator("VALIDATE_NON_NEGATIVE");
/// <summary>
/// Constant VALIDATE_NON_NULL for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator VALIDATE_NON_NULL = new ZendeskConnectorOperator("VALIDATE_NON_NULL");
/// <summary>
/// Constant VALIDATE_NON_ZERO for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator VALIDATE_NON_ZERO = new ZendeskConnectorOperator("VALIDATE_NON_ZERO");
/// <summary>
/// Constant VALIDATE_NUMERIC for ZendeskConnectorOperator
/// </summary>
public static readonly ZendeskConnectorOperator VALIDATE_NUMERIC = new ZendeskConnectorOperator("VALIDATE_NUMERIC");
/// <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 ZendeskConnectorOperator(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 ZendeskConnectorOperator FindValue(string value)
{
return FindValue<ZendeskConnectorOperator>(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 ZendeskConnectorOperator(string value)
{
return FindValue(value);
}
}
} | 3,506 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.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.Appflow.Internal
{
/// <summary>
/// Amazon Appflow endpoint provider.
/// Resolves endpoint for given set of AppflowEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonAppflowEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for AppflowEndpointParameters
/// </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://appflow-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://appflow-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://appflow.{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://appflow.{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 appflow-2020-08-23.normal.json service model.
*/
using System;
using Amazon.Appflow.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.Appflow.Endpoints;
#pragma warning disable 1591
namespace Amazon.Appflow.Internal
{
/// <summary>
/// Amazon Appflow endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for Appflow service requests.
/// Collects values for AppflowEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppflowEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonAppflowEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonAppflowConfig)requestContext.ClientConfig;
var result = new AppflowEndpointParameters();
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 appflow-2020-08-23.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Internal
{
/// <summary>
/// Service metadata for Amazon Appflow service
/// </summary>
public partial class AmazonAppflowMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "Appflow";
}
}
/// <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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// AppFlow/Requester has invalid or missing permissions.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AccessDeniedException : AmazonAppflowException
{
/// <summary>
/// Constructs a new AccessDeniedException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public AccessDeniedException(string message)
: base(message) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AccessDeniedException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="innerException"></param>
public AccessDeniedException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AccessDeniedException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of AccessDeniedException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AccessDeniedException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the AccessDeniedException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected AccessDeniedException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The aggregation settings that you can use to customize the output format of your
/// flow data.
/// </summary>
public partial class AggregationConfig
{
private AggregationType _aggregationType;
private long? _targetFileSize;
/// <summary>
/// Gets and sets the property AggregationType.
/// <para>
/// Specifies whether Amazon AppFlow aggregates the flow records into a single file,
/// or leave them unaggregated.
/// </para>
/// </summary>
public AggregationType AggregationType
{
get { return this._aggregationType; }
set { this._aggregationType = value; }
}
// Check to see if AggregationType property is set
internal bool IsSetAggregationType()
{
return this._aggregationType != null;
}
/// <summary>
/// Gets and sets the property TargetFileSize.
/// <para>
/// The desired file size, in MB, for each output file that Amazon AppFlow writes to the
/// flow destination. For each file, Amazon AppFlow attempts to achieve the size that
/// you specify. The actual file sizes might differ from this target based on the number
/// and size of the records that each file contains.
/// </para>
/// </summary>
public long TargetFileSize
{
get { return this._targetFileSize.GetValueOrDefault(); }
set { this._targetFileSize = value; }
}
// Check to see if TargetFileSize property is set
internal bool IsSetTargetFileSize()
{
return this._targetFileSize.HasValue;
}
}
} | 81 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.Appflow
{
/// <summary>
/// Base class for Appflow operation requests.
/// </summary>
public partial class AmazonAppflowRequest : 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific credentials required when using Amplitude.
/// </summary>
public partial class AmplitudeConnectorProfileCredentials
{
private string _apiKey;
private string _secretKey;
/// <summary>
/// Gets and sets the property ApiKey.
/// <para>
/// A unique alphanumeric identifier used to authenticate a user, developer, or calling
/// program to your API.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=256)]
public string ApiKey
{
get { return this._apiKey; }
set { this._apiKey = value; }
}
// Check to see if ApiKey property is set
internal bool IsSetApiKey()
{
return this._apiKey != null;
}
/// <summary>
/// Gets and sets the property SecretKey.
/// <para>
/// The Secret Access Key portion of the credentials.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=256)]
public string SecretKey
{
get { return this._secretKey; }
set { this._secretKey = value; }
}
// Check to see if SecretKey property is set
internal bool IsSetSecretKey()
{
return this._secretKey != 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector-specific profile properties required when using Amplitude.
/// </summary>
public partial class AmplitudeConnectorProfileProperties
{
}
} | 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The connector metadata specific to Amplitude.
/// </summary>
public partial class AmplitudeMetadata
{
}
} | 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The properties that are applied when Amplitude is being used as a source.
/// </summary>
public partial class AmplitudeSourceProperties
{
private string _object;
/// <summary>
/// Gets and sets the property Object.
/// <para>
/// The object specified in the Amplitude flow source.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Object
{
get { return this._object; }
set { this._object = value; }
}
// Check to see if Object property is set
internal bool IsSetObject()
{
return this._object != 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The API key credentials required for API key authentication.
/// </summary>
public partial class ApiKeyCredentials
{
private string _apiKey;
private string _apiSecretKey;
/// <summary>
/// Gets and sets the property ApiKey.
/// <para>
/// The API key required for API key authentication.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=256)]
public string ApiKey
{
get { return this._apiKey; }
set { this._apiKey = value; }
}
// Check to see if ApiKey property is set
internal bool IsSetApiKey()
{
return this._apiKey != null;
}
/// <summary>
/// Gets and sets the property ApiSecretKey.
/// <para>
/// The API secret key required for API key authentication.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true, Max=256)]
public string ApiSecretKey
{
get { return this._apiSecretKey; }
set { this._apiSecretKey = value; }
}
// Check to see if ApiSecretKey property is set
internal bool IsSetApiSecretKey()
{
return this._apiSecretKey != 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Contains information about the authentication config that the connector supports.
/// </summary>
public partial class AuthenticationConfig
{
private List<CustomAuthConfig> _customAuthConfigs = new List<CustomAuthConfig>();
private bool? _isApiKeyAuthSupported;
private bool? _isBasicAuthSupported;
private bool? _isCustomAuthSupported;
private bool? _isoAuth2Supported;
private OAuth2Defaults _oAuth2Defaults;
/// <summary>
/// Gets and sets the property CustomAuthConfigs.
/// <para>
/// Contains information required for custom authentication.
/// </para>
/// </summary>
public List<CustomAuthConfig> CustomAuthConfigs
{
get { return this._customAuthConfigs; }
set { this._customAuthConfigs = value; }
}
// Check to see if CustomAuthConfigs property is set
internal bool IsSetCustomAuthConfigs()
{
return this._customAuthConfigs != null && this._customAuthConfigs.Count > 0;
}
/// <summary>
/// Gets and sets the property IsApiKeyAuthSupported.
/// <para>
/// Indicates whether API key authentication is supported by the connector
/// </para>
/// </summary>
public bool IsApiKeyAuthSupported
{
get { return this._isApiKeyAuthSupported.GetValueOrDefault(); }
set { this._isApiKeyAuthSupported = value; }
}
// Check to see if IsApiKeyAuthSupported property is set
internal bool IsSetIsApiKeyAuthSupported()
{
return this._isApiKeyAuthSupported.HasValue;
}
/// <summary>
/// Gets and sets the property IsBasicAuthSupported.
/// <para>
/// Indicates whether basic authentication is supported by the connector.
/// </para>
/// </summary>
public bool IsBasicAuthSupported
{
get { return this._isBasicAuthSupported.GetValueOrDefault(); }
set { this._isBasicAuthSupported = value; }
}
// Check to see if IsBasicAuthSupported property is set
internal bool IsSetIsBasicAuthSupported()
{
return this._isBasicAuthSupported.HasValue;
}
/// <summary>
/// Gets and sets the property IsCustomAuthSupported.
/// <para>
/// Indicates whether custom authentication is supported by the connector
/// </para>
/// </summary>
public bool IsCustomAuthSupported
{
get { return this._isCustomAuthSupported.GetValueOrDefault(); }
set { this._isCustomAuthSupported = value; }
}
// Check to see if IsCustomAuthSupported property is set
internal bool IsSetIsCustomAuthSupported()
{
return this._isCustomAuthSupported.HasValue;
}
/// <summary>
/// Gets and sets the property IsOAuth2Supported.
/// <para>
/// Indicates whether OAuth 2.0 authentication is supported by the connector.
/// </para>
/// </summary>
public bool IsOAuth2Supported
{
get { return this._isoAuth2Supported.GetValueOrDefault(); }
set { this._isoAuth2Supported = value; }
}
// Check to see if IsOAuth2Supported property is set
internal bool IsSetIsOAuth2Supported()
{
return this._isoAuth2Supported.HasValue;
}
/// <summary>
/// Gets and sets the property OAuth2Defaults.
/// <para>
/// Contains the default values required for OAuth 2.0 authentication.
/// </para>
/// </summary>
public OAuth2Defaults OAuth2Defaults
{
get { return this._oAuth2Defaults; }
set { this._oAuth2Defaults = value; }
}
// Check to see if OAuth2Defaults property is set
internal bool IsSetOAuth2Defaults()
{
return this._oAuth2Defaults != null;
}
}
} | 152 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Information about required authentication parameters.
/// </summary>
public partial class AuthParameter
{
private List<string> _connectorSuppliedValues = new List<string>();
private string _description;
private bool? _isRequired;
private bool? _isSensitiveField;
private string _key;
private string _label;
/// <summary>
/// Gets and sets the property ConnectorSuppliedValues.
/// <para>
/// Contains default values for this authentication parameter that are supplied by the
/// connector.
/// </para>
/// </summary>
public List<string> ConnectorSuppliedValues
{
get { return this._connectorSuppliedValues; }
set { this._connectorSuppliedValues = value; }
}
// Check to see if ConnectorSuppliedValues property is set
internal bool IsSetConnectorSuppliedValues()
{
return this._connectorSuppliedValues != null && this._connectorSuppliedValues.Count > 0;
}
/// <summary>
/// Gets and sets the property Description.
/// <para>
/// A description about the authentication parameter.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property IsRequired.
/// <para>
/// Indicates whether this authentication parameter is required.
/// </para>
/// </summary>
public bool IsRequired
{
get { return this._isRequired.GetValueOrDefault(); }
set { this._isRequired = value; }
}
// Check to see if IsRequired property is set
internal bool IsSetIsRequired()
{
return this._isRequired.HasValue;
}
/// <summary>
/// Gets and sets the property IsSensitiveField.
/// <para>
/// Indicates whether this authentication parameter is a sensitive field.
/// </para>
/// </summary>
public bool IsSensitiveField
{
get { return this._isSensitiveField.GetValueOrDefault(); }
set { this._isSensitiveField = value; }
}
// Check to see if IsSensitiveField property is set
internal bool IsSetIsSensitiveField()
{
return this._isSensitiveField.HasValue;
}
/// <summary>
/// Gets and sets the property Key.
/// <para>
/// The authentication key required to authenticate with the connector.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
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 Label.
/// <para>
/// Label used for authentication parameter.
/// </para>
/// </summary>
[AWSProperty(Max=128)]
public string Label
{
get { return this._label; }
set { this._label = value; }
}
// Check to see if Label property is set
internal bool IsSetLabel()
{
return this._label != null;
}
}
} | 156 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The basic auth credentials required for basic authentication.
/// </summary>
public partial class BasicAuthCredentials
{
private string _password;
private string _username;
/// <summary>
/// Gets and sets the property Password.
/// <para>
/// The password to use to connect to a resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Sensitive=true, Max=512)]
public string Password
{
get { return this._password; }
set { this._password = value; }
}
// Check to see if Password property is set
internal bool IsSetPassword()
{
return this._password != null;
}
/// <summary>
/// Gets and sets the property Username.
/// <para>
/// The username to use to connect to a resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=512)]
public string Username
{
get { return this._username; }
set { this._username = value; }
}
// Check to see if Username property is set
internal bool IsSetUsername()
{
return this._username != 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Container for the parameters to the CancelFlowExecutions operation.
/// Cancels active runs for a flow.
///
///
/// <para>
/// You can cancel all of the active runs for a flow, or you can cancel specific runs
/// by providing their IDs.
/// </para>
///
/// <para>
/// You can cancel a flow run only when the run is in progress. You can't cancel a run
/// that has already completed or failed. You also can't cancel a run that's scheduled
/// to occur but hasn't started yet. To prevent a scheduled run, you can deactivate the
/// flow with the <code>StopFlow</code> action.
/// </para>
///
/// <para>
/// You cannot resume a run after you cancel it.
/// </para>
///
/// <para>
/// When you send your request, the status for each run becomes <code>CancelStarted</code>.
/// When the cancellation completes, the status becomes <code>Canceled</code>.
/// </para>
/// <note>
/// <para>
/// When you cancel a run, you still incur charges for any data that the run already processed
/// before the cancellation. If the run had already written some data to the flow destination,
/// then that data remains in the destination. If you configured the flow to use a batch
/// API (such as the Salesforce Bulk API 2.0), then the run will finish reading or writing
/// its entire batch of data after the cancellation. For these operations, the data processing
/// charges for Amazon AppFlow apply. For the pricing information, see <a href="http://aws.amazon.com/appflow/pricing/">Amazon
/// AppFlow pricing</a>.
/// </para>
/// </note>
/// </summary>
public partial class CancelFlowExecutionsRequest : AmazonAppflowRequest
{
private List<string> _executionIds = new List<string>();
private string _flowName;
/// <summary>
/// Gets and sets the property ExecutionIds.
/// <para>
/// The ID of each active run to cancel. These runs must belong to the flow you specify
/// in your request.
/// </para>
///
/// <para>
/// If you omit this parameter, your request ends all active runs that belong to the flow.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public List<string> ExecutionIds
{
get { return this._executionIds; }
set { this._executionIds = value; }
}
// Check to see if ExecutionIds property is set
internal bool IsSetExecutionIds()
{
return this._executionIds != null && this._executionIds.Count > 0;
}
/// <summary>
/// Gets and sets the property FlowName.
/// <para>
/// The name of a flow with active runs that you want to cancel.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=256)]
public string FlowName
{
get { return this._flowName; }
set { this._flowName = value; }
}
// Check to see if FlowName property is set
internal bool IsSetFlowName()
{
return this._flowName != null;
}
}
} | 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 appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// This is the response object from the CancelFlowExecutions operation.
/// </summary>
public partial class CancelFlowExecutionsResponse : AmazonWebServiceResponse
{
private List<string> _invalidExecutions = new List<string>();
/// <summary>
/// Gets and sets the property InvalidExecutions.
/// <para>
/// The IDs of runs that Amazon AppFlow couldn't cancel. These runs might be ineligible
/// for canceling because they haven't started yet or have already completed.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public List<string> InvalidExecutions
{
get { return this._invalidExecutions; }
set { this._invalidExecutions = value; }
}
// Check to see if InvalidExecutions property is set
internal bool IsSetInvalidExecutions()
{
return this._invalidExecutions != null && this._invalidExecutions.Count > 0;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// There was a conflict when processing the request (for example, a flow with the given
/// name already exists within the account. Check for conflicting resource names and try
/// again.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ConflictException : AmazonAppflowException
{
/// <summary>
/// Constructs a new ConflictException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ConflictException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ConflictException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="innerException"></param>
public ConflictException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ConflictException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 126 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// An error occurred when authenticating with the connector endpoint.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ConnectorAuthenticationException : AmazonAppflowException
{
/// <summary>
/// Constructs a new ConnectorAuthenticationException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ConnectorAuthenticationException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ConnectorAuthenticationException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ConnectorAuthenticationException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ConnectorAuthenticationException
/// </summary>
/// <param name="innerException"></param>
public ConnectorAuthenticationException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ConnectorAuthenticationException
/// </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 ConnectorAuthenticationException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ConnectorAuthenticationException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConnectorAuthenticationException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ConnectorAuthenticationException 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 ConnectorAuthenticationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
} | 124 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The configuration settings related to a given connector.
/// </summary>
public partial class ConnectorConfiguration
{
private AuthenticationConfig _authenticationConfig;
private bool? _canUseAsDestination;
private bool? _canUseAsSource;
private string _connectorArn;
private string _connectorDescription;
private string _connectorLabel;
private ConnectorMetadata _connectorMetadata;
private List<string> _connectorModes = new List<string>();
private string _connectorName;
private string _connectorOwner;
private ConnectorProvisioningConfig _connectorProvisioningConfig;
private ConnectorProvisioningType _connectorProvisioningType;
private List<ConnectorRuntimeSetting> _connectorRuntimeSettings = new List<ConnectorRuntimeSetting>();
private ConnectorType _connectorType;
private string _connectorVersion;
private bool? _isPrivateLinkEnabled;
private bool? _isPrivateLinkEndpointUrlRequired;
private string _logourl;
private DateTime? _registeredAt;
private string _registeredBy;
private List<string> _supportedApiVersions = new List<string>();
private List<DataTransferApi> _supportedDataTransferApis = new List<DataTransferApi>();
private List<string> _supportedDataTransferTypes = new List<string>();
private List<string> _supportedDestinationConnectors = new List<string>();
private List<string> _supportedOperators = new List<string>();
private List<string> _supportedSchedulingFrequencies = new List<string>();
private List<string> _supportedTriggerTypes = new List<string>();
private List<string> _supportedWriteOperations = new List<string>();
/// <summary>
/// Gets and sets the property AuthenticationConfig.
/// <para>
/// The authentication config required for the connector.
/// </para>
/// </summary>
public AuthenticationConfig AuthenticationConfig
{
get { return this._authenticationConfig; }
set { this._authenticationConfig = value; }
}
// Check to see if AuthenticationConfig property is set
internal bool IsSetAuthenticationConfig()
{
return this._authenticationConfig != null;
}
/// <summary>
/// Gets and sets the property CanUseAsDestination.
/// <para>
/// Specifies whether the connector can be used as a destination.
/// </para>
/// </summary>
public bool CanUseAsDestination
{
get { return this._canUseAsDestination.GetValueOrDefault(); }
set { this._canUseAsDestination = value; }
}
// Check to see if CanUseAsDestination property is set
internal bool IsSetCanUseAsDestination()
{
return this._canUseAsDestination.HasValue;
}
/// <summary>
/// Gets and sets the property CanUseAsSource.
/// <para>
/// Specifies whether the connector can be used as a source.
/// </para>
/// </summary>
public bool CanUseAsSource
{
get { return this._canUseAsSource.GetValueOrDefault(); }
set { this._canUseAsSource = value; }
}
// Check to see if CanUseAsSource property is set
internal bool IsSetCanUseAsSource()
{
return this._canUseAsSource.HasValue;
}
/// <summary>
/// Gets and sets the property ConnectorArn.
/// <para>
/// The Amazon Resource Name (ARN) for the registered connector.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ConnectorArn
{
get { return this._connectorArn; }
set { this._connectorArn = value; }
}
// Check to see if ConnectorArn property is set
internal bool IsSetConnectorArn()
{
return this._connectorArn != null;
}
/// <summary>
/// Gets and sets the property ConnectorDescription.
/// <para>
/// A description about the connector.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string ConnectorDescription
{
get { return this._connectorDescription; }
set { this._connectorDescription = value; }
}
// Check to see if ConnectorDescription property is set
internal bool IsSetConnectorDescription()
{
return this._connectorDescription != null;
}
/// <summary>
/// Gets and sets the property ConnectorLabel.
/// <para>
/// The label used for registering the connector.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorLabel
{
get { return this._connectorLabel; }
set { this._connectorLabel = value; }
}
// Check to see if ConnectorLabel property is set
internal bool IsSetConnectorLabel()
{
return this._connectorLabel != null;
}
/// <summary>
/// Gets and sets the property ConnectorMetadata.
/// <para>
/// Specifies connector-specific metadata such as <code>oAuthScopes</code>, <code>supportedRegions</code>,
/// <code>privateLinkServiceUrl</code>, and so on.
/// </para>
/// </summary>
public ConnectorMetadata ConnectorMetadata
{
get { return this._connectorMetadata; }
set { this._connectorMetadata = value; }
}
// Check to see if ConnectorMetadata property is set
internal bool IsSetConnectorMetadata()
{
return this._connectorMetadata != null;
}
/// <summary>
/// Gets and sets the property ConnectorModes.
/// <para>
/// The connection modes that the connector supports.
/// </para>
/// </summary>
public List<string> ConnectorModes
{
get { return this._connectorModes; }
set { this._connectorModes = value; }
}
// Check to see if ConnectorModes property is set
internal bool IsSetConnectorModes()
{
return this._connectorModes != null && this._connectorModes.Count > 0;
}
/// <summary>
/// Gets and sets the property ConnectorName.
/// <para>
/// The connector name.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorName
{
get { return this._connectorName; }
set { this._connectorName = value; }
}
// Check to see if ConnectorName property is set
internal bool IsSetConnectorName()
{
return this._connectorName != null;
}
/// <summary>
/// Gets and sets the property ConnectorOwner.
/// <para>
/// The owner who developed the connector.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorOwner
{
get { return this._connectorOwner; }
set { this._connectorOwner = value; }
}
// Check to see if ConnectorOwner property is set
internal bool IsSetConnectorOwner()
{
return this._connectorOwner != null;
}
/// <summary>
/// Gets and sets the property ConnectorProvisioningConfig.
/// <para>
/// The configuration required for registering the connector.
/// </para>
/// </summary>
public ConnectorProvisioningConfig ConnectorProvisioningConfig
{
get { return this._connectorProvisioningConfig; }
set { this._connectorProvisioningConfig = value; }
}
// Check to see if ConnectorProvisioningConfig property is set
internal bool IsSetConnectorProvisioningConfig()
{
return this._connectorProvisioningConfig != null;
}
/// <summary>
/// Gets and sets the property ConnectorProvisioningType.
/// <para>
/// The provisioning type used to register the connector.
/// </para>
/// </summary>
public ConnectorProvisioningType ConnectorProvisioningType
{
get { return this._connectorProvisioningType; }
set { this._connectorProvisioningType = value; }
}
// Check to see if ConnectorProvisioningType property is set
internal bool IsSetConnectorProvisioningType()
{
return this._connectorProvisioningType != null;
}
/// <summary>
/// Gets and sets the property ConnectorRuntimeSettings.
/// <para>
/// The required connector runtime settings.
/// </para>
/// </summary>
public List<ConnectorRuntimeSetting> ConnectorRuntimeSettings
{
get { return this._connectorRuntimeSettings; }
set { this._connectorRuntimeSettings = value; }
}
// Check to see if ConnectorRuntimeSettings property is set
internal bool IsSetConnectorRuntimeSettings()
{
return this._connectorRuntimeSettings != null && this._connectorRuntimeSettings.Count > 0;
}
/// <summary>
/// Gets and sets the property ConnectorType.
/// <para>
/// The connector type.
/// </para>
/// </summary>
public ConnectorType ConnectorType
{
get { return this._connectorType; }
set { this._connectorType = value; }
}
// Check to see if ConnectorType property is set
internal bool IsSetConnectorType()
{
return this._connectorType != null;
}
/// <summary>
/// Gets and sets the property ConnectorVersion.
/// <para>
/// The connector version.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorVersion
{
get { return this._connectorVersion; }
set { this._connectorVersion = value; }
}
// Check to see if ConnectorVersion property is set
internal bool IsSetConnectorVersion()
{
return this._connectorVersion != null;
}
/// <summary>
/// Gets and sets the property IsPrivateLinkEnabled.
/// <para>
/// Specifies if PrivateLink is enabled for that connector.
/// </para>
/// </summary>
public bool IsPrivateLinkEnabled
{
get { return this._isPrivateLinkEnabled.GetValueOrDefault(); }
set { this._isPrivateLinkEnabled = value; }
}
// Check to see if IsPrivateLinkEnabled property is set
internal bool IsSetIsPrivateLinkEnabled()
{
return this._isPrivateLinkEnabled.HasValue;
}
/// <summary>
/// Gets and sets the property IsPrivateLinkEndpointUrlRequired.
/// <para>
/// Specifies if a PrivateLink endpoint URL is required.
/// </para>
/// </summary>
public bool IsPrivateLinkEndpointUrlRequired
{
get { return this._isPrivateLinkEndpointUrlRequired.GetValueOrDefault(); }
set { this._isPrivateLinkEndpointUrlRequired = value; }
}
// Check to see if IsPrivateLinkEndpointUrlRequired property is set
internal bool IsSetIsPrivateLinkEndpointUrlRequired()
{
return this._isPrivateLinkEndpointUrlRequired.HasValue;
}
/// <summary>
/// Gets and sets the property LogoURL.
/// <para>
/// Logo URL of the connector.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string LogoURL
{
get { return this._logourl; }
set { this._logourl = value; }
}
// Check to see if LogoURL property is set
internal bool IsSetLogoURL()
{
return this._logourl != null;
}
/// <summary>
/// Gets and sets the property RegisteredAt.
/// <para>
/// The date on which the connector was registered.
/// </para>
/// </summary>
public DateTime RegisteredAt
{
get { return this._registeredAt.GetValueOrDefault(); }
set { this._registeredAt = value; }
}
// Check to see if RegisteredAt property is set
internal bool IsSetRegisteredAt()
{
return this._registeredAt.HasValue;
}
/// <summary>
/// Gets and sets the property RegisteredBy.
/// <para>
/// Information about who registered the connector.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string RegisteredBy
{
get { return this._registeredBy; }
set { this._registeredBy = value; }
}
// Check to see if RegisteredBy property is set
internal bool IsSetRegisteredBy()
{
return this._registeredBy != null;
}
/// <summary>
/// Gets and sets the property SupportedApiVersions.
/// <para>
/// A list of API versions that are supported by the connector.
/// </para>
/// </summary>
public List<string> SupportedApiVersions
{
get { return this._supportedApiVersions; }
set { this._supportedApiVersions = value; }
}
// Check to see if SupportedApiVersions property is set
internal bool IsSetSupportedApiVersions()
{
return this._supportedApiVersions != null && this._supportedApiVersions.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedDataTransferApis.
/// <para>
/// The APIs of the connector application that Amazon AppFlow can use to transfer your
/// data.
/// </para>
/// </summary>
public List<DataTransferApi> SupportedDataTransferApis
{
get { return this._supportedDataTransferApis; }
set { this._supportedDataTransferApis = value; }
}
// Check to see if SupportedDataTransferApis property is set
internal bool IsSetSupportedDataTransferApis()
{
return this._supportedDataTransferApis != null && this._supportedDataTransferApis.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedDataTransferTypes.
/// <para>
/// The data transfer types that the connector supports.
/// </para>
/// <dl> <dt>RECORD</dt> <dd>
/// <para>
/// Structured records.
/// </para>
/// </dd> <dt>FILE</dt> <dd>
/// <para>
/// Files or binary data.
/// </para>
/// </dd> </dl>
/// </summary>
public List<string> SupportedDataTransferTypes
{
get { return this._supportedDataTransferTypes; }
set { this._supportedDataTransferTypes = value; }
}
// Check to see if SupportedDataTransferTypes property is set
internal bool IsSetSupportedDataTransferTypes()
{
return this._supportedDataTransferTypes != null && this._supportedDataTransferTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedDestinationConnectors.
/// <para>
/// Lists the connectors that are available for use as destinations.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=100)]
public List<string> SupportedDestinationConnectors
{
get { return this._supportedDestinationConnectors; }
set { this._supportedDestinationConnectors = value; }
}
// Check to see if SupportedDestinationConnectors property is set
internal bool IsSetSupportedDestinationConnectors()
{
return this._supportedDestinationConnectors != null && this._supportedDestinationConnectors.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedOperators.
/// <para>
/// A list of operators supported by the connector.
/// </para>
/// </summary>
public List<string> SupportedOperators
{
get { return this._supportedOperators; }
set { this._supportedOperators = value; }
}
// Check to see if SupportedOperators property is set
internal bool IsSetSupportedOperators()
{
return this._supportedOperators != null && this._supportedOperators.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedSchedulingFrequencies.
/// <para>
/// Specifies the supported flow frequency for that connector.
/// </para>
/// </summary>
public List<string> SupportedSchedulingFrequencies
{
get { return this._supportedSchedulingFrequencies; }
set { this._supportedSchedulingFrequencies = value; }
}
// Check to see if SupportedSchedulingFrequencies property is set
internal bool IsSetSupportedSchedulingFrequencies()
{
return this._supportedSchedulingFrequencies != null && this._supportedSchedulingFrequencies.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedTriggerTypes.
/// <para>
/// Specifies the supported trigger types for the flow.
/// </para>
/// </summary>
public List<string> SupportedTriggerTypes
{
get { return this._supportedTriggerTypes; }
set { this._supportedTriggerTypes = value; }
}
// Check to see if SupportedTriggerTypes property is set
internal bool IsSetSupportedTriggerTypes()
{
return this._supportedTriggerTypes != null && this._supportedTriggerTypes.Count > 0;
}
/// <summary>
/// Gets and sets the property SupportedWriteOperations.
/// <para>
/// A list of write operations supported by the connector.
/// </para>
/// </summary>
public List<string> SupportedWriteOperations
{
get { return this._supportedWriteOperations; }
set { this._supportedWriteOperations = value; }
}
// Check to see if SupportedWriteOperations property is set
internal bool IsSetSupportedWriteOperations()
{
return this._supportedWriteOperations != null && this._supportedWriteOperations.Count > 0;
}
}
} | 590 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Information about the registered connector.
/// </summary>
public partial class ConnectorDetail
{
private string _applicationType;
private string _connectorDescription;
private string _connectorLabel;
private List<string> _connectorModes = new List<string>();
private string _connectorName;
private string _connectorOwner;
private ConnectorProvisioningType _connectorProvisioningType;
private ConnectorType _connectorType;
private string _connectorVersion;
private DateTime? _registeredAt;
private string _registeredBy;
private List<string> _supportedDataTransferTypes = new List<string>();
/// <summary>
/// Gets and sets the property ApplicationType.
/// <para>
/// The application type of the connector.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string ApplicationType
{
get { return this._applicationType; }
set { this._applicationType = value; }
}
// Check to see if ApplicationType property is set
internal bool IsSetApplicationType()
{
return this._applicationType != null;
}
/// <summary>
/// Gets and sets the property ConnectorDescription.
/// <para>
/// A description about the registered connector.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
public string ConnectorDescription
{
get { return this._connectorDescription; }
set { this._connectorDescription = value; }
}
// Check to see if ConnectorDescription property is set
internal bool IsSetConnectorDescription()
{
return this._connectorDescription != null;
}
/// <summary>
/// Gets and sets the property ConnectorLabel.
/// <para>
/// A label used for the connector.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorLabel
{
get { return this._connectorLabel; }
set { this._connectorLabel = value; }
}
// Check to see if ConnectorLabel property is set
internal bool IsSetConnectorLabel()
{
return this._connectorLabel != null;
}
/// <summary>
/// Gets and sets the property ConnectorModes.
/// <para>
/// The connection mode that the connector supports.
/// </para>
/// </summary>
public List<string> ConnectorModes
{
get { return this._connectorModes; }
set { this._connectorModes = value; }
}
// Check to see if ConnectorModes property is set
internal bool IsSetConnectorModes()
{
return this._connectorModes != null && this._connectorModes.Count > 0;
}
/// <summary>
/// Gets and sets the property ConnectorName.
/// <para>
/// The name of the connector.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorName
{
get { return this._connectorName; }
set { this._connectorName = value; }
}
// Check to see if ConnectorName property is set
internal bool IsSetConnectorName()
{
return this._connectorName != null;
}
/// <summary>
/// Gets and sets the property ConnectorOwner.
/// <para>
/// The owner of the connector.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorOwner
{
get { return this._connectorOwner; }
set { this._connectorOwner = value; }
}
// Check to see if ConnectorOwner property is set
internal bool IsSetConnectorOwner()
{
return this._connectorOwner != null;
}
/// <summary>
/// Gets and sets the property ConnectorProvisioningType.
/// <para>
/// The provisioning type that the connector uses.
/// </para>
/// </summary>
public ConnectorProvisioningType ConnectorProvisioningType
{
get { return this._connectorProvisioningType; }
set { this._connectorProvisioningType = value; }
}
// Check to see if ConnectorProvisioningType property is set
internal bool IsSetConnectorProvisioningType()
{
return this._connectorProvisioningType != null;
}
/// <summary>
/// Gets and sets the property ConnectorType.
/// <para>
/// The connector type.
/// </para>
/// </summary>
public ConnectorType ConnectorType
{
get { return this._connectorType; }
set { this._connectorType = value; }
}
// Check to see if ConnectorType property is set
internal bool IsSetConnectorType()
{
return this._connectorType != null;
}
/// <summary>
/// Gets and sets the property ConnectorVersion.
/// <para>
/// The connector version.
/// </para>
/// </summary>
[AWSProperty(Max=256)]
public string ConnectorVersion
{
get { return this._connectorVersion; }
set { this._connectorVersion = value; }
}
// Check to see if ConnectorVersion property is set
internal bool IsSetConnectorVersion()
{
return this._connectorVersion != null;
}
/// <summary>
/// Gets and sets the property RegisteredAt.
/// <para>
/// The time at which the connector was registered.
/// </para>
/// </summary>
public DateTime RegisteredAt
{
get { return this._registeredAt.GetValueOrDefault(); }
set { this._registeredAt = value; }
}
// Check to see if RegisteredAt property is set
internal bool IsSetRegisteredAt()
{
return this._registeredAt.HasValue;
}
/// <summary>
/// Gets and sets the property RegisteredBy.
/// <para>
/// The user who registered the connector.
/// </para>
/// </summary>
[AWSProperty(Max=512)]
public string RegisteredBy
{
get { return this._registeredBy; }
set { this._registeredBy = value; }
}
// Check to see if RegisteredBy property is set
internal bool IsSetRegisteredBy()
{
return this._registeredBy != null;
}
/// <summary>
/// Gets and sets the property SupportedDataTransferTypes.
/// <para>
/// The data transfer types that the connector supports.
/// </para>
/// <dl> <dt>RECORD</dt> <dd>
/// <para>
/// Structured records.
/// </para>
/// </dd> <dt>FILE</dt> <dd>
/// <para>
/// Files or binary data.
/// </para>
/// </dd> </dl>
/// </summary>
public List<string> SupportedDataTransferTypes
{
get { return this._supportedDataTransferTypes; }
set { this._supportedDataTransferTypes = value; }
}
// Check to see if SupportedDataTransferTypes property is set
internal bool IsSetSupportedDataTransferTypes()
{
return this._supportedDataTransferTypes != null && this._supportedDataTransferTypes.Count > 0;
}
}
} | 282 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// The high-level entity that can be queried in Amazon AppFlow. For example, a Salesforce
/// entity might be an <i>Account</i> or <i>Opportunity</i>, whereas a ServiceNow entity
/// might be an <i>Incident</i>.
/// </summary>
public partial class ConnectorEntity
{
private bool? _hasNestedEntities;
private string _label;
private string _name;
/// <summary>
/// Gets and sets the property HasNestedEntities.
/// <para>
/// Specifies whether the connector entity is a parent or a category and has more entities
/// nested underneath it. If another call is made with <code>entitiesPath = "the_current_entity_name_with_hasNestedEntities_true"</code>,
/// then it returns the nested entities underneath it. This provides a way to retrieve
/// all supported entities in a recursive fashion.
/// </para>
/// </summary>
public bool HasNestedEntities
{
get { return this._hasNestedEntities.GetValueOrDefault(); }
set { this._hasNestedEntities = value; }
}
// Check to see if HasNestedEntities property is set
internal bool IsSetHasNestedEntities()
{
return this._hasNestedEntities.HasValue;
}
/// <summary>
/// Gets and sets the property Label.
/// <para>
/// The label applied to the connector entity.
/// </para>
/// </summary>
[AWSProperty(Max=128)]
public string Label
{
get { return this._label; }
set { this._label = value; }
}
// Check to see if Label property is set
internal bool IsSetLabel()
{
return this._label != null;
}
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The name of the connector entity.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=128)]
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;
}
}
} | 102 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the appflow-2020-08-23.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.Appflow.Model
{
/// <summary>
/// Describes the data model of a connector field. For example, for an <i>account</i>
/// entity, the fields would be <i>account name</i>, <i>account ID</i>, and so on.
/// </summary>
public partial class ConnectorEntityField
{
private Dictionary<string, string> _customProperties = new Dictionary<string, string>();
private string _defaultValue;
private string _description;
private DestinationFieldProperties _destinationProperties;
private string _identifier;
private bool? _isDeprecated;
private bool? _isPrimaryKey;
private string _label;
private string _parentIdentifier;
private SourceFieldProperties _sourceProperties;
private SupportedFieldTypeDetails _supportedFieldTypeDetails;
/// <summary>
/// Gets and sets the property CustomProperties.
/// <para>
/// A map that has specific properties related to the ConnectorEntityField.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=50)]
public Dictionary<string, string> CustomProperties
{
get { return this._customProperties; }
set { this._customProperties = value; }
}
// Check to see if CustomProperties property is set
internal bool IsSetCustomProperties()
{
return this._customProperties != null && this._customProperties.Count > 0;
}
/// <summary>
/// Gets and sets the property DefaultValue.
/// <para>
/// Default value that can be assigned to this field.
/// </para>
/// </summary>
[AWSProperty(Max=2048)]
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 Description.
/// <para>
/// A description of the connector entity field.
/// </para>
/// </summary>
[AWSProperty(Max=1024)]
public string Description
{
get { return this._description; }
set { this._description = value; }
}
// Check to see if Description property is set
internal bool IsSetDescription()
{
return this._description != null;
}
/// <summary>
/// Gets and sets the property DestinationProperties.
/// <para>
/// The properties applied to a field when the connector is being used as a destination.
///
/// </para>
/// </summary>
public DestinationFieldProperties DestinationProperties
{
get { return this._destinationProperties; }
set { this._destinationProperties = value; }
}
// Check to see if DestinationProperties property is set
internal bool IsSetDestinationProperties()
{
return this._destinationProperties != null;
}
/// <summary>
/// Gets and sets the property Identifier.
/// <para>
/// The unique identifier of the connector field.
/// </para>
/// </summary>
[AWSProperty(Required=true, Max=128)]
public string Identifier
{
get { return this._identifier; }
set { this._identifier = value; }
}
// Check to see if Identifier property is set
internal bool IsSetIdentifier()
{
return this._identifier != null;
}
/// <summary>
/// Gets and sets the property IsDeprecated.
/// <para>
/// Booelan value that indicates whether this field is deprecated or not.
/// </para>
/// </summary>
public bool IsDeprecated
{
get { return this._isDeprecated.GetValueOrDefault(); }
set { this._isDeprecated = value; }
}
// Check to see if IsDeprecated property is set
internal bool IsSetIsDeprecated()
{
return this._isDeprecated.HasValue;
}
/// <summary>
/// Gets and sets the property IsPrimaryKey.
/// <para>
/// Booelan value that indicates whether this field can be used as a primary key.
/// </para>
/// </summary>
public bool IsPrimaryKey
{
get { return this._isPrimaryKey.GetValueOrDefault(); }
set { this._isPrimaryKey = value; }
}
// Check to see if IsPrimaryKey property is set
internal bool IsSetIsPrimaryKey()
{
return this._isPrimaryKey.HasValue;
}
/// <summary>
/// Gets and sets the property Label.
/// <para>
/// The label applied to a connector entity field.
/// </para>
/// </summary>
[AWSProperty(Max=128)]
public string Label
{
get { return this._label; }
set { this._label = value; }
}
// Check to see if Label property is set
internal bool IsSetLabel()
{
return this._label != null;
}
/// <summary>
/// Gets and sets the property ParentIdentifier.
/// <para>
/// The parent identifier of the connector field.
/// </para>
/// </summary>
[AWSProperty(Max=128)]
public string ParentIdentifier
{
get { return this._parentIdentifier; }
set { this._parentIdentifier = value; }
}
// Check to see if ParentIdentifier property is set
internal bool IsSetParentIdentifier()
{
return this._parentIdentifier != null;
}
/// <summary>
/// Gets and sets the property SourceProperties.
/// <para>
/// The properties that can be applied to a field when the connector is being used as
/// a source.
/// </para>
/// </summary>
public SourceFieldProperties SourceProperties
{
get { return this._sourceProperties; }
set { this._sourceProperties = value; }
}
// Check to see if SourceProperties property is set
internal bool IsSetSourceProperties()
{
return this._sourceProperties != null;
}
/// <summary>
/// Gets and sets the property SupportedFieldTypeDetails.
/// <para>
/// Contains details regarding the supported <code>FieldType</code>, including the corresponding
/// <code>filterOperators</code> and <code>supportedValues</code>.
/// </para>
/// </summary>
public SupportedFieldTypeDetails SupportedFieldTypeDetails
{
get { return this._supportedFieldTypeDetails; }
set { this._supportedFieldTypeDetails = value; }
}
// Check to see if SupportedFieldTypeDetails property is set
internal bool IsSetSupportedFieldTypeDetails()
{
return this._supportedFieldTypeDetails != null;
}
}
} | 257 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.