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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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))
{
}
return unmarshalledObject;
}
private static ServiceQuotaExceededExceptionUnmarshaller _instance = new ServiceQuotaExceededExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ServiceQuotaExceededExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 85 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// SyncResource Request Marshaller
/// </summary>
public class SyncResourceRequestMarshaller : IMarshaller<IRequest, SyncResourceRequest> , 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((SyncResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(SyncResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRegistry");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-06-24";
request.HttpMethod = "POST";
if (!publicRequest.IsSetResource())
throw new AmazonAppRegistryException("Request object does not have required field Resource set");
request.AddPathResource("{resource}", StringUtils.FromString(publicRequest.Resource));
if (!publicRequest.IsSetResourceType())
throw new AmazonAppRegistryException("Request object does not have required field ResourceType set");
request.AddPathResource("{resourceType}", StringUtils.FromString(publicRequest.ResourceType));
request.ResourcePath = "/sync/{resourceType}/{resource}";
return request;
}
private static SyncResourceRequestMarshaller _instance = new SyncResourceRequestMarshaller();
internal static SyncResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static SyncResourceRequestMarshaller 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for SyncResource operation
/// </summary>
public class SyncResourceResponseUnmarshaller : 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)
{
SyncResourceResponse response = new SyncResourceResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("actionTaken", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ActionTaken = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("applicationArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ApplicationArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.ResourceArn = 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("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 AmazonAppRegistryException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static SyncResourceResponseUnmarshaller _instance = new SyncResourceResponseUnmarshaller();
internal static SyncResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static SyncResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 138 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// TagQueryConfiguration Marshaller
/// </summary>
public class TagQueryConfigurationMarshaller : IRequestMarshaller<TagQueryConfiguration, 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(TagQueryConfiguration requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetTagKey())
{
context.Writer.WritePropertyName("tagKey");
context.Writer.Write(requestObject.TagKey);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static TagQueryConfigurationMarshaller Instance = new TagQueryConfigurationMarshaller();
}
} | 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for TagQueryConfiguration Object
/// </summary>
public class TagQueryConfigurationUnmarshaller : IUnmarshaller<TagQueryConfiguration, XmlUnmarshallerContext>, IUnmarshaller<TagQueryConfiguration, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
TagQueryConfiguration IUnmarshaller<TagQueryConfiguration, 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 TagQueryConfiguration Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
TagQueryConfiguration unmarshalledObject = new TagQueryConfiguration();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("tagKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TagKey = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static TagQueryConfigurationUnmarshaller _instance = new TagQueryConfigurationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static TagQueryConfigurationUnmarshaller 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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.AppRegistry");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-06-24";
request.HttpMethod = "POST";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAppRegistryException("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.WriteObjectStart();
foreach (var publicRequestTagsKvp in publicRequest.Tags)
{
context.Writer.WritePropertyName(publicRequestTagsKvp.Key);
var publicRequestTagsValue = publicRequestTagsKvp.Value;
context.Writer.Write(publicRequestTagsValue);
}
context.Writer.WriteObjectEnd();
}
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;
}
}
}
} | 112 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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("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("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppRegistryException(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;
}
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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("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;
}
}
}
} | 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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.AppRegistry");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-06-24";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAppRegistryException("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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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("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("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppRegistryException(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;
}
}
}
} | 107 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateApplication Request Marshaller
/// </summary>
public class UpdateApplicationRequestMarshaller : IMarshaller<IRequest, UpdateApplicationRequest> , 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((UpdateApplicationRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateApplicationRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRegistry");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-06-24";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetApplication())
throw new AmazonAppRegistryException("Request object does not have required field Application set");
request.AddPathResource("{application}", StringUtils.FromString(publicRequest.Application));
request.ResourcePath = "/applications/{application}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateApplicationRequestMarshaller _instance = new UpdateApplicationRequestMarshaller();
internal static UpdateApplicationRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApplicationRequestMarshaller 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateApplication operation
/// </summary>
public class UpdateApplicationResponseUnmarshaller : 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)
{
UpdateApplicationResponse response = new UpdateApplicationResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("application", targetDepth))
{
var unmarshaller = ApplicationUnmarshaller.Instance;
response.Application = 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("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 AmazonAppRegistryException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateApplicationResponseUnmarshaller _instance = new UpdateApplicationResponseUnmarshaller();
internal static UpdateApplicationResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateApplicationResponseUnmarshaller 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAttributeGroup Request Marshaller
/// </summary>
public class UpdateAttributeGroupRequestMarshaller : IMarshaller<IRequest, UpdateAttributeGroupRequest> , 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((UpdateAttributeGroupRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAttributeGroupRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AppRegistry");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2020-06-24";
request.HttpMethod = "PATCH";
if (!publicRequest.IsSetAttributeGroup())
throw new AmazonAppRegistryException("Request object does not have required field AttributeGroup set");
request.AddPathResource("{attributeGroup}", StringUtils.FromString(publicRequest.AttributeGroup));
request.ResourcePath = "/attribute-groups/{attributeGroup}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAttributes())
{
context.Writer.WritePropertyName("attributes");
context.Writer.Write(publicRequest.Attributes);
}
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAttributeGroupRequestMarshaller _instance = new UpdateAttributeGroupRequestMarshaller();
internal static UpdateAttributeGroupRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAttributeGroupRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
} | 116 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAttributeGroup operation
/// </summary>
public class UpdateAttributeGroupResponseUnmarshaller : 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)
{
UpdateAttributeGroupResponse response = new UpdateAttributeGroupResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("attributeGroup", targetDepth))
{
var unmarshaller = AttributeGroupUnmarshaller.Instance;
response.AttributeGroup = 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("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("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAppRegistryException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAttributeGroupResponseUnmarshaller _instance = new UpdateAttributeGroupResponseUnmarshaller();
internal static UpdateAttributeGroupResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAttributeGroupResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 122 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AppRegistry.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))
{
}
return unmarshalledObject;
}
private static ValidationExceptionUnmarshaller _instance = new ValidationExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
} | 85 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginators for the AppRegistry service
///</summary>
public class AppRegistryPaginatorFactory : IAppRegistryPaginatorFactory
{
private readonly IAmazonAppRegistry client;
internal AppRegistryPaginatorFactory(IAmazonAppRegistry client)
{
this.client = client;
}
/// <summary>
/// Paginator for ListApplications operation
///</summary>
public IListApplicationsPaginator ListApplications(ListApplicationsRequest request)
{
return new ListApplicationsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssociatedAttributeGroups operation
///</summary>
public IListAssociatedAttributeGroupsPaginator ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
{
return new ListAssociatedAttributeGroupsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssociatedResources operation
///</summary>
public IListAssociatedResourcesPaginator ListAssociatedResources(ListAssociatedResourcesRequest request)
{
return new ListAssociatedResourcesPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAttributeGroups operation
///</summary>
public IListAttributeGroupsPaginator ListAttributeGroups(ListAttributeGroupsRequest request)
{
return new ListAttributeGroupsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAttributeGroupsForApplication operation
///</summary>
public IListAttributeGroupsForApplicationPaginator ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
{
return new ListAttributeGroupsForApplicationPaginator(this.client, request);
}
}
} | 78 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginators for the AppRegistry service
///</summary>
public interface IAppRegistryPaginatorFactory
{
/// <summary>
/// Paginator for ListApplications operation
///</summary>
IListApplicationsPaginator ListApplications(ListApplicationsRequest request);
/// <summary>
/// Paginator for ListAssociatedAttributeGroups operation
///</summary>
IListAssociatedAttributeGroupsPaginator ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request);
/// <summary>
/// Paginator for ListAssociatedResources operation
///</summary>
IListAssociatedResourcesPaginator ListAssociatedResources(ListAssociatedResourcesRequest request);
/// <summary>
/// Paginator for ListAttributeGroups operation
///</summary>
IListAttributeGroupsPaginator ListAttributeGroups(ListAttributeGroupsRequest request);
/// <summary>
/// Paginator for ListAttributeGroupsForApplication operation
///</summary>
IListAttributeGroupsForApplicationPaginator ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request);
}
} | 53 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginator for the ListApplications operation
///</summary>
public interface IListApplicationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListApplicationsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Applications
/// </summary>
IPaginatedEnumerable<ApplicationSummary> Applications { 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 servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginator for the ListAssociatedAttributeGroups operation
///</summary>
public interface IListAssociatedAttributeGroupsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssociatedAttributeGroupsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the AttributeGroups
/// </summary>
IPaginatedEnumerable<string> AttributeGroups { 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 servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginator for the ListAssociatedResources operation
///</summary>
public interface IListAssociatedResourcesPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssociatedResourcesResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the Resources
/// </summary>
IPaginatedEnumerable<ResourceInfo> Resources { 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 servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginator for the ListAttributeGroupsForApplication operation
///</summary>
public interface IListAttributeGroupsForApplicationPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAttributeGroupsForApplicationResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the AttributeGroupsDetails
/// </summary>
IPaginatedEnumerable<AttributeGroupDetails> AttributeGroupsDetails { 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 servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppRegistry.Model
{
/// <summary>
/// Paginator for the ListAttributeGroups operation
///</summary>
public interface IListAttributeGroupsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAttributeGroupsResponse> Responses { get; }
/// <summary>
/// Enumerable containing all of the AttributeGroups
/// </summary>
IPaginatedEnumerable<AttributeGroupSummary> AttributeGroups { 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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model
{
/// <summary>
/// Base class for ListApplications paginators.
/// </summary>
internal sealed partial class ListApplicationsPaginator : IPaginator<ListApplicationsResponse>, IListApplicationsPaginator
{
private readonly IAmazonAppRegistry _client;
private readonly ListApplicationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListApplicationsResponse> Responses => new PaginatedResponse<ListApplicationsResponse>(this);
/// <summary>
/// Enumerable containing all of the Applications
/// </summary>
public IPaginatedEnumerable<ApplicationSummary> Applications =>
new PaginatedResultKeyResponse<ListApplicationsResponse, ApplicationSummary>(this, (i) => i.Applications);
internal ListApplicationsPaginator(IAmazonAppRegistry client, ListApplicationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListApplicationsResponse> IPaginator<ListApplicationsResponse>.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;
ListApplicationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListApplications(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListApplicationsResponse> IPaginator<ListApplicationsResponse>.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;
ListApplicationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListApplicationsAsync(_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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model
{
/// <summary>
/// Base class for ListAssociatedAttributeGroups paginators.
/// </summary>
internal sealed partial class ListAssociatedAttributeGroupsPaginator : IPaginator<ListAssociatedAttributeGroupsResponse>, IListAssociatedAttributeGroupsPaginator
{
private readonly IAmazonAppRegistry _client;
private readonly ListAssociatedAttributeGroupsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssociatedAttributeGroupsResponse> Responses => new PaginatedResponse<ListAssociatedAttributeGroupsResponse>(this);
/// <summary>
/// Enumerable containing all of the AttributeGroups
/// </summary>
public IPaginatedEnumerable<string> AttributeGroups =>
new PaginatedResultKeyResponse<ListAssociatedAttributeGroupsResponse, string>(this, (i) => i.AttributeGroups);
internal ListAssociatedAttributeGroupsPaginator(IAmazonAppRegistry client, ListAssociatedAttributeGroupsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssociatedAttributeGroupsResponse> IPaginator<ListAssociatedAttributeGroupsResponse>.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;
ListAssociatedAttributeGroupsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssociatedAttributeGroups(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssociatedAttributeGroupsResponse> IPaginator<ListAssociatedAttributeGroupsResponse>.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;
ListAssociatedAttributeGroupsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssociatedAttributeGroupsAsync(_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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model
{
/// <summary>
/// Base class for ListAssociatedResources paginators.
/// </summary>
internal sealed partial class ListAssociatedResourcesPaginator : IPaginator<ListAssociatedResourcesResponse>, IListAssociatedResourcesPaginator
{
private readonly IAmazonAppRegistry _client;
private readonly ListAssociatedResourcesRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssociatedResourcesResponse> Responses => new PaginatedResponse<ListAssociatedResourcesResponse>(this);
/// <summary>
/// Enumerable containing all of the Resources
/// </summary>
public IPaginatedEnumerable<ResourceInfo> Resources =>
new PaginatedResultKeyResponse<ListAssociatedResourcesResponse, ResourceInfo>(this, (i) => i.Resources);
internal ListAssociatedResourcesPaginator(IAmazonAppRegistry client, ListAssociatedResourcesRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssociatedResourcesResponse> IPaginator<ListAssociatedResourcesResponse>.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;
ListAssociatedResourcesResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssociatedResources(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssociatedResourcesResponse> IPaginator<ListAssociatedResourcesResponse>.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;
ListAssociatedResourcesResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssociatedResourcesAsync(_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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model
{
/// <summary>
/// Base class for ListAttributeGroupsForApplication paginators.
/// </summary>
internal sealed partial class ListAttributeGroupsForApplicationPaginator : IPaginator<ListAttributeGroupsForApplicationResponse>, IListAttributeGroupsForApplicationPaginator
{
private readonly IAmazonAppRegistry _client;
private readonly ListAttributeGroupsForApplicationRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAttributeGroupsForApplicationResponse> Responses => new PaginatedResponse<ListAttributeGroupsForApplicationResponse>(this);
/// <summary>
/// Enumerable containing all of the AttributeGroupsDetails
/// </summary>
public IPaginatedEnumerable<AttributeGroupDetails> AttributeGroupsDetails =>
new PaginatedResultKeyResponse<ListAttributeGroupsForApplicationResponse, AttributeGroupDetails>(this, (i) => i.AttributeGroupsDetails);
internal ListAttributeGroupsForApplicationPaginator(IAmazonAppRegistry client, ListAttributeGroupsForApplicationRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAttributeGroupsForApplicationResponse> IPaginator<ListAttributeGroupsForApplicationResponse>.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;
ListAttributeGroupsForApplicationResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAttributeGroupsForApplication(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAttributeGroupsForApplicationResponse> IPaginator<ListAttributeGroupsForApplicationResponse>.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;
ListAttributeGroupsForApplicationResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAttributeGroupsForApplicationAsync(_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 servicecatalog-appregistry-2020-06-24.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.AppRegistry.Model
{
/// <summary>
/// Base class for ListAttributeGroups paginators.
/// </summary>
internal sealed partial class ListAttributeGroupsPaginator : IPaginator<ListAttributeGroupsResponse>, IListAttributeGroupsPaginator
{
private readonly IAmazonAppRegistry _client;
private readonly ListAttributeGroupsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAttributeGroupsResponse> Responses => new PaginatedResponse<ListAttributeGroupsResponse>(this);
/// <summary>
/// Enumerable containing all of the AttributeGroups
/// </summary>
public IPaginatedEnumerable<AttributeGroupSummary> AttributeGroups =>
new PaginatedResultKeyResponse<ListAttributeGroupsResponse, AttributeGroupSummary>(this, (i) => i.AttributeGroups);
internal ListAttributeGroupsPaginator(IAmazonAppRegistry client, ListAttributeGroupsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAttributeGroupsResponse> IPaginator<ListAttributeGroupsResponse>.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;
ListAttributeGroupsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAttributeGroups(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAttributeGroupsResponse> IPaginator<ListAttributeGroupsResponse>.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;
ListAttributeGroupsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAttributeGroupsAsync(_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 servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.AppRegistry.Model;
using Amazon.AppRegistry.Model.Internal.MarshallTransformations;
using Amazon.AppRegistry.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppRegistry
{
/// <summary>
/// Implementation for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
/// </summary>
public partial class AmazonAppRegistryClient : AmazonServiceClient, IAmazonAppRegistry
{
private static IServiceMetadata serviceMetadata = new AmazonAppRegistryMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IAppRegistryPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAppRegistryPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppRegistryPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig()) { }
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(AmazonAppRegistryConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAppRegistryClient(AWSCredentials credentials)
: this(credentials, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAppRegistryClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials and an
/// AmazonAppRegistryClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(AWSCredentials credentials, AmazonAppRegistryConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppRegistryConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppRegistryConfig 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 AmazonAppRegistryEndpointResolver());
}
/// <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 AssociateAttributeGroup
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
public virtual AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<AssociateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the AssociateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup operation on AmazonAppRegistryClient.</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 EndAssociateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
public virtual IAsyncResult BeginAssociateAttributeGroup(AssociateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the AssociateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateAttributeGroup.</param>
///
/// <returns>Returns a AssociateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
public virtual AssociateAttributeGroupResponse EndAssociateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke<AssociateAttributeGroupResponse>(asyncResult);
}
#endregion
#region AssociateResource
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
public virtual AssociateResourceResponse AssociateResource(AssociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return Invoke<AssociateResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the AssociateResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the AssociateResource operation on AmazonAppRegistryClient.</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 EndAssociateResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
public virtual IAsyncResult BeginAssociateResource(AssociateResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the AssociateResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateResource.</param>
///
/// <returns>Returns a AssociateResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
public virtual AssociateResourceResponse EndAssociateResource(IAsyncResult asyncResult)
{
return EndInvoke<AssociateResourceResponse>(asyncResult);
}
#endregion
#region CreateApplication
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke<CreateApplicationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApplication operation on AmazonAppRegistryClient.</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 EndCreateApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
public virtual IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApplication.</param>
///
/// <returns>Returns a CreateApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
public virtual CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult)
{
return EndInvoke<CreateApplicationResponse>(asyncResult);
}
#endregion
#region CreateAttributeGroup
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
public virtual CreateAttributeGroupResponse CreateAttributeGroup(CreateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<CreateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup operation on AmazonAppRegistryClient.</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 EndCreateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
public virtual IAsyncResult BeginCreateAttributeGroup(CreateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAttributeGroup.</param>
///
/// <returns>Returns a CreateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
public virtual CreateAttributeGroupResponse EndCreateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke<CreateAttributeGroupResponse>(asyncResult);
}
#endregion
#region DeleteApplication
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke<DeleteApplicationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppRegistryClient.</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 EndDeleteApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
public virtual IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApplication.</param>
///
/// <returns>Returns a DeleteApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
public virtual DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult)
{
return EndInvoke<DeleteApplicationResponse>(asyncResult);
}
#endregion
#region DeleteAttributeGroup
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
public virtual DeleteAttributeGroupResponse DeleteAttributeGroup(DeleteAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return Invoke<DeleteAttributeGroupResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup operation on AmazonAppRegistryClient.</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 EndDeleteAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
public virtual IAsyncResult BeginDeleteAttributeGroup(DeleteAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAttributeGroup.</param>
///
/// <returns>Returns a DeleteAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
public virtual DeleteAttributeGroupResponse EndDeleteAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAttributeGroupResponse>(asyncResult);
}
#endregion
#region DisassociateAttributeGroup
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
public virtual DisassociateAttributeGroupResponse DisassociateAttributeGroup(DisassociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<DisassociateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DisassociateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup operation on AmazonAppRegistryClient.</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 EndDisassociateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
public virtual IAsyncResult BeginDisassociateAttributeGroup(DisassociateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DisassociateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateAttributeGroup.</param>
///
/// <returns>Returns a DisassociateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
public virtual DisassociateAttributeGroupResponse EndDisassociateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke<DisassociateAttributeGroupResponse>(asyncResult);
}
#endregion
#region DisassociateResource
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
public virtual DisassociateResourceResponse DisassociateResource(DisassociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return Invoke<DisassociateResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DisassociateResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource operation on AmazonAppRegistryClient.</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 EndDisassociateResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
public virtual IAsyncResult BeginDisassociateResource(DisassociateResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DisassociateResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateResource.</param>
///
/// <returns>Returns a DisassociateResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
public virtual DisassociateResourceResponse EndDisassociateResource(IAsyncResult asyncResult)
{
return EndInvoke<DisassociateResourceResponse>(asyncResult);
}
#endregion
#region GetApplication
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
public virtual GetApplicationResponse GetApplication(GetApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return Invoke<GetApplicationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApplication operation on AmazonAppRegistryClient.</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 EndGetApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
public virtual IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApplication.</param>
///
/// <returns>Returns a GetApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
public virtual GetApplicationResponse EndGetApplication(IAsyncResult asyncResult)
{
return EndInvoke<GetApplicationResponse>(asyncResult);
}
#endregion
#region GetAssociatedResource
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
public virtual GetAssociatedResourceResponse GetAssociatedResource(GetAssociatedResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return Invoke<GetAssociatedResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAssociatedResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource operation on AmazonAppRegistryClient.</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 EndGetAssociatedResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
public virtual IAsyncResult BeginGetAssociatedResource(GetAssociatedResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAssociatedResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssociatedResource.</param>
///
/// <returns>Returns a GetAssociatedResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
public virtual GetAssociatedResourceResponse EndGetAssociatedResource(IAsyncResult asyncResult)
{
return EndInvoke<GetAssociatedResourceResponse>(asyncResult);
}
#endregion
#region GetAttributeGroup
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
public virtual GetAttributeGroupResponse GetAttributeGroup(GetAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return Invoke<GetAttributeGroupResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup operation on AmazonAppRegistryClient.</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 EndGetAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
public virtual IAsyncResult BeginGetAttributeGroup(GetAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAttributeGroup.</param>
///
/// <returns>Returns a GetAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
public virtual GetAttributeGroupResponse EndGetAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke<GetAttributeGroupResponse>(asyncResult);
}
#endregion
#region GetConfiguration
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return Invoke<GetConfigurationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration operation on AmazonAppRegistryClient.</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 EndGetConfiguration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
public virtual IAsyncResult BeginGetConfiguration(GetConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguration.</param>
///
/// <returns>Returns a GetConfigurationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
public virtual GetConfigurationResponse EndGetConfiguration(IAsyncResult asyncResult)
{
return EndInvoke<GetConfigurationResponse>(asyncResult);
}
#endregion
#region ListApplications
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke<ListApplicationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListApplications operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListApplications operation on AmazonAppRegistryClient.</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 EndListApplications
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
public virtual IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListApplications operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListApplications.</param>
///
/// <returns>Returns a ListApplicationsResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
public virtual ListApplicationsResponse EndListApplications(IAsyncResult asyncResult)
{
return EndInvoke<ListApplicationsResponse>(asyncResult);
}
#endregion
#region ListAssociatedAttributeGroups
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
public virtual ListAssociatedAttributeGroupsResponse ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return Invoke<ListAssociatedAttributeGroupsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssociatedAttributeGroups operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups operation on AmazonAppRegistryClient.</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 EndListAssociatedAttributeGroups
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
public virtual IAsyncResult BeginListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssociatedAttributeGroups operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedAttributeGroups.</param>
///
/// <returns>Returns a ListAssociatedAttributeGroupsResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
public virtual ListAssociatedAttributeGroupsResponse EndListAssociatedAttributeGroups(IAsyncResult asyncResult)
{
return EndInvoke<ListAssociatedAttributeGroupsResponse>(asyncResult);
}
#endregion
#region ListAssociatedResources
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
public virtual ListAssociatedResourcesResponse ListAssociatedResources(ListAssociatedResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return Invoke<ListAssociatedResourcesResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssociatedResources operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources operation on AmazonAppRegistryClient.</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 EndListAssociatedResources
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
public virtual IAsyncResult BeginListAssociatedResources(ListAssociatedResourcesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssociatedResources operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedResources.</param>
///
/// <returns>Returns a ListAssociatedResourcesResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
public virtual ListAssociatedResourcesResponse EndListAssociatedResources(IAsyncResult asyncResult)
{
return EndInvoke<ListAssociatedResourcesResponse>(asyncResult);
}
#endregion
#region ListAttributeGroups
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
public virtual ListAttributeGroupsResponse ListAttributeGroups(ListAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return Invoke<ListAttributeGroupsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAttributeGroups operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups operation on AmazonAppRegistryClient.</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 EndListAttributeGroups
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
public virtual IAsyncResult BeginListAttributeGroups(ListAttributeGroupsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAttributeGroups operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAttributeGroups.</param>
///
/// <returns>Returns a ListAttributeGroupsResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
public virtual ListAttributeGroupsResponse EndListAttributeGroups(IAsyncResult asyncResult)
{
return EndInvoke<ListAttributeGroupsResponse>(asyncResult);
}
#endregion
#region ListAttributeGroupsForApplication
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
public virtual ListAttributeGroupsForApplicationResponse ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return Invoke<ListAttributeGroupsForApplicationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAttributeGroupsForApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication operation on AmazonAppRegistryClient.</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 EndListAttributeGroupsForApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
public virtual IAsyncResult BeginListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAttributeGroupsForApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAttributeGroupsForApplication.</param>
///
/// <returns>Returns a ListAttributeGroupsForApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
public virtual ListAttributeGroupsForApplicationResponse EndListAttributeGroupsForApplication(IAsyncResult asyncResult)
{
return EndInvoke<ListAttributeGroupsForApplicationResponse>(asyncResult);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 AmazonAppRegistryClient.</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/AWS242AppRegistry-2020-06-24/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 AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke<ListTagsForResourceResponse>(asyncResult);
}
#endregion
#region PutConfiguration
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
public virtual PutConfigurationResponse PutConfiguration(PutConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return Invoke<PutConfigurationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the PutConfiguration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration operation on AmazonAppRegistryClient.</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 EndPutConfiguration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
public virtual IAsyncResult BeginPutConfiguration(PutConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the PutConfiguration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutConfiguration.</param>
///
/// <returns>Returns a PutConfigurationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
public virtual PutConfigurationResponse EndPutConfiguration(IAsyncResult asyncResult)
{
return EndInvoke<PutConfigurationResponse>(asyncResult);
}
#endregion
#region SyncResource
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
public virtual SyncResourceResponse SyncResource(SyncResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return Invoke<SyncResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the SyncResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the SyncResource operation on AmazonAppRegistryClient.</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 EndSyncResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
public virtual IAsyncResult BeginSyncResource(SyncResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the SyncResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginSyncResource.</param>
///
/// <returns>Returns a SyncResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
public virtual SyncResourceResponse EndSyncResource(IAsyncResult asyncResult)
{
return EndInvoke<SyncResourceResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 AmazonAppRegistryClient.</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/AWS242AppRegistry-2020-06-24/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 AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Removes tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 AmazonAppRegistryClient.</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/AWS242AppRegistry-2020-06-24/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 AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateApplication
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke<UpdateApplicationResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppRegistryClient.</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 EndUpdateApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
public virtual IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApplication.</param>
///
/// <returns>Returns a UpdateApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
public virtual UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult)
{
return EndInvoke<UpdateApplicationResponse>(asyncResult);
}
#endregion
#region UpdateAttributeGroup
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
public virtual UpdateAttributeGroupResponse UpdateAttributeGroup(UpdateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<UpdateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup operation on AmazonAppRegistryClient.</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 EndUpdateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
public virtual IAsyncResult BeginUpdateAttributeGroup(UpdateAttributeGroupRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAttributeGroup.</param>
///
/// <returns>Returns a UpdateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
public virtual UpdateAttributeGroupResponse EndUpdateAttributeGroup(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAttributeGroupResponse>(asyncResult);
}
#endregion
}
} | 1,879 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppRegistry.Model;
namespace Amazon.AppRegistry
{
/// <summary>
/// Interface for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
/// </summary>
public partial interface IAmazonAppRegistry : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAppRegistryPaginatorFactory Paginators { get; }
#endif
#region AssociateAttributeGroup
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request);
/// <summary>
/// Initiates the asynchronous execution of the AssociateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup operation on AmazonAppRegistryClient.</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 EndAssociateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
IAsyncResult BeginAssociateAttributeGroup(AssociateAttributeGroupRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the AssociateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateAttributeGroup.</param>
///
/// <returns>Returns a AssociateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
AssociateAttributeGroupResponse EndAssociateAttributeGroup(IAsyncResult asyncResult);
#endregion
#region AssociateResource
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
AssociateResourceResponse AssociateResource(AssociateResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the AssociateResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the AssociateResource operation on AmazonAppRegistryClient.</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 EndAssociateResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
IAsyncResult BeginAssociateResource(AssociateResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the AssociateResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateResource.</param>
///
/// <returns>Returns a AssociateResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
AssociateResourceResponse EndAssociateResource(IAsyncResult asyncResult);
#endregion
#region CreateApplication
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
CreateApplicationResponse CreateApplication(CreateApplicationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateApplication operation on AmazonAppRegistryClient.</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 EndCreateApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
IAsyncResult BeginCreateApplication(CreateApplicationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateApplication.</param>
///
/// <returns>Returns a CreateApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
CreateApplicationResponse EndCreateApplication(IAsyncResult asyncResult);
#endregion
#region CreateAttributeGroup
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
CreateAttributeGroupResponse CreateAttributeGroup(CreateAttributeGroupRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup operation on AmazonAppRegistryClient.</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 EndCreateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
IAsyncResult BeginCreateAttributeGroup(CreateAttributeGroupRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAttributeGroup.</param>
///
/// <returns>Returns a CreateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
CreateAttributeGroupResponse EndCreateAttributeGroup(IAsyncResult asyncResult);
#endregion
#region DeleteApplication
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication operation on AmazonAppRegistryClient.</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 EndDeleteApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
IAsyncResult BeginDeleteApplication(DeleteApplicationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteApplication.</param>
///
/// <returns>Returns a DeleteApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
DeleteApplicationResponse EndDeleteApplication(IAsyncResult asyncResult);
#endregion
#region DeleteAttributeGroup
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
DeleteAttributeGroupResponse DeleteAttributeGroup(DeleteAttributeGroupRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup operation on AmazonAppRegistryClient.</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 EndDeleteAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
IAsyncResult BeginDeleteAttributeGroup(DeleteAttributeGroupRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAttributeGroup.</param>
///
/// <returns>Returns a DeleteAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
DeleteAttributeGroupResponse EndDeleteAttributeGroup(IAsyncResult asyncResult);
#endregion
#region DisassociateAttributeGroup
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
DisassociateAttributeGroupResponse DisassociateAttributeGroup(DisassociateAttributeGroupRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DisassociateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup operation on AmazonAppRegistryClient.</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 EndDisassociateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
IAsyncResult BeginDisassociateAttributeGroup(DisassociateAttributeGroupRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DisassociateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateAttributeGroup.</param>
///
/// <returns>Returns a DisassociateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
DisassociateAttributeGroupResponse EndDisassociateAttributeGroup(IAsyncResult asyncResult);
#endregion
#region DisassociateResource
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
DisassociateResourceResponse DisassociateResource(DisassociateResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DisassociateResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource operation on AmazonAppRegistryClient.</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 EndDisassociateResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
IAsyncResult BeginDisassociateResource(DisassociateResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DisassociateResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateResource.</param>
///
/// <returns>Returns a DisassociateResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
DisassociateResourceResponse EndDisassociateResource(IAsyncResult asyncResult);
#endregion
#region GetApplication
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
GetApplicationResponse GetApplication(GetApplicationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetApplication operation on AmazonAppRegistryClient.</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 EndGetApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
IAsyncResult BeginGetApplication(GetApplicationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetApplication.</param>
///
/// <returns>Returns a GetApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
GetApplicationResponse EndGetApplication(IAsyncResult asyncResult);
#endregion
#region GetAssociatedResource
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
GetAssociatedResourceResponse GetAssociatedResource(GetAssociatedResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAssociatedResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource operation on AmazonAppRegistryClient.</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 EndGetAssociatedResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
IAsyncResult BeginGetAssociatedResource(GetAssociatedResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAssociatedResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssociatedResource.</param>
///
/// <returns>Returns a GetAssociatedResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
GetAssociatedResourceResponse EndGetAssociatedResource(IAsyncResult asyncResult);
#endregion
#region GetAttributeGroup
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
GetAttributeGroupResponse GetAttributeGroup(GetAttributeGroupRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup operation on AmazonAppRegistryClient.</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 EndGetAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
IAsyncResult BeginGetAttributeGroup(GetAttributeGroupRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAttributeGroup.</param>
///
/// <returns>Returns a GetAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
GetAttributeGroupResponse EndGetAttributeGroup(IAsyncResult asyncResult);
#endregion
#region GetConfiguration
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
GetConfigurationResponse GetConfiguration(GetConfigurationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetConfiguration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration operation on AmazonAppRegistryClient.</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 EndGetConfiguration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
IAsyncResult BeginGetConfiguration(GetConfigurationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetConfiguration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetConfiguration.</param>
///
/// <returns>Returns a GetConfigurationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
GetConfigurationResponse EndGetConfiguration(IAsyncResult asyncResult);
#endregion
#region ListApplications
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
ListApplicationsResponse ListApplications(ListApplicationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListApplications operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListApplications operation on AmazonAppRegistryClient.</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 EndListApplications
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
IAsyncResult BeginListApplications(ListApplicationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListApplications operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListApplications.</param>
///
/// <returns>Returns a ListApplicationsResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
ListApplicationsResponse EndListApplications(IAsyncResult asyncResult);
#endregion
#region ListAssociatedAttributeGroups
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
ListAssociatedAttributeGroupsResponse ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssociatedAttributeGroups operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups operation on AmazonAppRegistryClient.</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 EndListAssociatedAttributeGroups
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
IAsyncResult BeginListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssociatedAttributeGroups operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedAttributeGroups.</param>
///
/// <returns>Returns a ListAssociatedAttributeGroupsResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
ListAssociatedAttributeGroupsResponse EndListAssociatedAttributeGroups(IAsyncResult asyncResult);
#endregion
#region ListAssociatedResources
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
ListAssociatedResourcesResponse ListAssociatedResources(ListAssociatedResourcesRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssociatedResources operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources operation on AmazonAppRegistryClient.</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 EndListAssociatedResources
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
IAsyncResult BeginListAssociatedResources(ListAssociatedResourcesRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssociatedResources operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssociatedResources.</param>
///
/// <returns>Returns a ListAssociatedResourcesResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
ListAssociatedResourcesResponse EndListAssociatedResources(IAsyncResult asyncResult);
#endregion
#region ListAttributeGroups
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
ListAttributeGroupsResponse ListAttributeGroups(ListAttributeGroupsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAttributeGroups operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups operation on AmazonAppRegistryClient.</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 EndListAttributeGroups
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
IAsyncResult BeginListAttributeGroups(ListAttributeGroupsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAttributeGroups operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAttributeGroups.</param>
///
/// <returns>Returns a ListAttributeGroupsResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
ListAttributeGroupsResponse EndListAttributeGroups(IAsyncResult asyncResult);
#endregion
#region ListAttributeGroupsForApplication
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
ListAttributeGroupsForApplicationResponse ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAttributeGroupsForApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication operation on AmazonAppRegistryClient.</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 EndListAttributeGroupsForApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
IAsyncResult BeginListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAttributeGroupsForApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAttributeGroupsForApplication.</param>
///
/// <returns>Returns a ListAttributeGroupsForApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
ListAttributeGroupsForApplicationResponse EndListAttributeGroupsForApplication(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 AmazonAppRegistryClient.</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/AWS242AppRegistry-2020-06-24/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 AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region PutConfiguration
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
PutConfigurationResponse PutConfiguration(PutConfigurationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the PutConfiguration operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration operation on AmazonAppRegistryClient.</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 EndPutConfiguration
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
IAsyncResult BeginPutConfiguration(PutConfigurationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the PutConfiguration operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginPutConfiguration.</param>
///
/// <returns>Returns a PutConfigurationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
PutConfigurationResponse EndPutConfiguration(IAsyncResult asyncResult);
#endregion
#region SyncResource
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
SyncResourceResponse SyncResource(SyncResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the SyncResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the SyncResource operation on AmazonAppRegistryClient.</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 EndSyncResource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
IAsyncResult BeginSyncResource(SyncResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the SyncResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginSyncResource.</param>
///
/// <returns>Returns a SyncResourceResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
SyncResourceResponse EndSyncResource(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 AmazonAppRegistryClient.</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/AWS242AppRegistry-2020-06-24/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 AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Removes tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 AmazonAppRegistryClient.</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/AWS242AppRegistry-2020-06-24/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 AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateApplication
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateApplication operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication operation on AmazonAppRegistryClient.</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 EndUpdateApplication
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
IAsyncResult BeginUpdateApplication(UpdateApplicationRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateApplication operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateApplication.</param>
///
/// <returns>Returns a UpdateApplicationResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
UpdateApplicationResponse EndUpdateApplication(IAsyncResult asyncResult);
#endregion
#region UpdateAttributeGroup
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
UpdateAttributeGroupResponse UpdateAttributeGroup(UpdateAttributeGroupRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAttributeGroup operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup operation on AmazonAppRegistryClient.</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 EndUpdateAttributeGroup
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
IAsyncResult BeginUpdateAttributeGroup(UpdateAttributeGroupRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAttributeGroup operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAttributeGroup.</param>
///
/// <returns>Returns a UpdateAttributeGroupResult from AppRegistry.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
UpdateAttributeGroupResponse EndUpdateAttributeGroup(IAsyncResult asyncResult);
#endregion
}
} | 1,323 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AppRegistry.Model;
using Amazon.AppRegistry.Model.Internal.MarshallTransformations;
using Amazon.AppRegistry.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppRegistry
{
/// <summary>
/// Implementation for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
/// </summary>
public partial class AmazonAppRegistryClient : AmazonServiceClient, IAmazonAppRegistry
{
private static IServiceMetadata serviceMetadata = new AmazonAppRegistryMetadata();
private IAppRegistryPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAppRegistryPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppRegistryPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig()) { }
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(AmazonAppRegistryConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAppRegistryClient(AWSCredentials credentials)
: this(credentials, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAppRegistryClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials and an
/// AmazonAppRegistryClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(AWSCredentials credentials, AmazonAppRegistryConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppRegistryConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppRegistryConfig 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 AmazonAppRegistryEndpointResolver());
}
/// <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 AssociateAttributeGroup
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
public virtual AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<AssociateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
public virtual Task<AssociateAttributeGroupResponse> AssociateAttributeGroupAsync(AssociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<AssociateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region AssociateResource
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
public virtual AssociateResourceResponse AssociateResource(AssociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return Invoke<AssociateResourceResponse>(request, options);
}
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
public virtual Task<AssociateResourceResponse> AssociateResourceAsync(AssociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return InvokeAsync<AssociateResourceResponse>(request, options, cancellationToken);
}
#endregion
#region CreateApplication
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
public virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke<CreateApplicationResponse>(request, options);
}
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
public virtual Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return InvokeAsync<CreateApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAttributeGroup
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
public virtual CreateAttributeGroupResponse CreateAttributeGroup(CreateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<CreateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
public virtual Task<CreateAttributeGroupResponse> CreateAttributeGroupAsync(CreateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<CreateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApplication
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
public virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke<DeleteApplicationResponse>(request, options);
}
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
public virtual Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAttributeGroup
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
public virtual DeleteAttributeGroupResponse DeleteAttributeGroup(DeleteAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return Invoke<DeleteAttributeGroupResponse>(request, options);
}
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
public virtual Task<DeleteAttributeGroupResponse> DeleteAttributeGroupAsync(DeleteAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region DisassociateAttributeGroup
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
public virtual DisassociateAttributeGroupResponse DisassociateAttributeGroup(DisassociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<DisassociateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
public virtual Task<DisassociateAttributeGroupResponse> DisassociateAttributeGroupAsync(DisassociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<DisassociateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region DisassociateResource
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
public virtual DisassociateResourceResponse DisassociateResource(DisassociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return Invoke<DisassociateResourceResponse>(request, options);
}
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
public virtual Task<DisassociateResourceResponse> DisassociateResourceAsync(DisassociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return InvokeAsync<DisassociateResourceResponse>(request, options, cancellationToken);
}
#endregion
#region GetApplication
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
public virtual GetApplicationResponse GetApplication(GetApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return Invoke<GetApplicationResponse>(request, options);
}
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
public virtual Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return InvokeAsync<GetApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssociatedResource
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
public virtual GetAssociatedResourceResponse GetAssociatedResource(GetAssociatedResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return Invoke<GetAssociatedResourceResponse>(request, options);
}
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
public virtual Task<GetAssociatedResourceResponse> GetAssociatedResourceAsync(GetAssociatedResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return InvokeAsync<GetAssociatedResourceResponse>(request, options, cancellationToken);
}
#endregion
#region GetAttributeGroup
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
public virtual GetAttributeGroupResponse GetAttributeGroup(GetAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return Invoke<GetAttributeGroupResponse>(request, options);
}
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
public virtual Task<GetAttributeGroupResponse> GetAttributeGroupAsync(GetAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<GetAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguration
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return Invoke<GetConfigurationResponse>(request, options);
}
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
public virtual Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return InvokeAsync<GetConfigurationResponse>(request, options, cancellationToken);
}
#endregion
#region ListApplications
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke<ListApplicationsResponse>(request, options);
}
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
public virtual Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return InvokeAsync<ListApplicationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssociatedAttributeGroups
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
public virtual ListAssociatedAttributeGroupsResponse ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return Invoke<ListAssociatedAttributeGroupsResponse>(request, options);
}
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
public virtual Task<ListAssociatedAttributeGroupsResponse> ListAssociatedAttributeGroupsAsync(ListAssociatedAttributeGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssociatedAttributeGroupsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssociatedResources
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
public virtual ListAssociatedResourcesResponse ListAssociatedResources(ListAssociatedResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return Invoke<ListAssociatedResourcesResponse>(request, options);
}
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
public virtual Task<ListAssociatedResourcesResponse> ListAssociatedResourcesAsync(ListAssociatedResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return InvokeAsync<ListAssociatedResourcesResponse>(request, options, cancellationToken);
}
#endregion
#region ListAttributeGroups
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
public virtual ListAttributeGroupsResponse ListAttributeGroups(ListAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return Invoke<ListAttributeGroupsResponse>(request, options);
}
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
public virtual Task<ListAttributeGroupsResponse> ListAttributeGroupsAsync(ListAttributeGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return InvokeAsync<ListAttributeGroupsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAttributeGroupsForApplication
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
public virtual ListAttributeGroupsForApplicationResponse ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return Invoke<ListAttributeGroupsForApplicationResponse>(request, options);
}
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
public virtual Task<ListAttributeGroupsForApplicationResponse> ListAttributeGroupsForApplicationAsync(ListAttributeGroupsForApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return InvokeAsync<ListAttributeGroupsForApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 PutConfiguration
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
public virtual PutConfigurationResponse PutConfiguration(PutConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return Invoke<PutConfigurationResponse>(request, options);
}
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
public virtual Task<PutConfigurationResponse> PutConfigurationAsync(PutConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return InvokeAsync<PutConfigurationResponse>(request, options, cancellationToken);
}
#endregion
#region SyncResource
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
public virtual SyncResourceResponse SyncResource(SyncResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return Invoke<SyncResourceResponse>(request, options);
}
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
public virtual Task<SyncResourceResponse> SyncResourceAsync(SyncResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return InvokeAsync<SyncResourceResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 UpdateApplication
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
public virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke<UpdateApplicationResponse>(request, options);
}
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
public virtual Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAttributeGroup
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
public virtual UpdateAttributeGroupResponse UpdateAttributeGroup(UpdateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<UpdateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
public virtual Task<UpdateAttributeGroupResponse> UpdateAttributeGroupAsync(UpdateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
}
} | 1,878 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppRegistry.Model;
namespace Amazon.AppRegistry
{
/// <summary>
/// Interface for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
/// </summary>
public partial interface IAmazonAppRegistry : IAmazonService, IDisposable
{
/// <summary>
/// Paginators for the service
/// </summary>
IAppRegistryPaginatorFactory Paginators { get; }
#region AssociateAttributeGroup
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request);
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
Task<AssociateAttributeGroupResponse> AssociateAttributeGroupAsync(AssociateAttributeGroupRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AssociateResource
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
AssociateResourceResponse AssociateResource(AssociateResourceRequest request);
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
Task<AssociateResourceResponse> AssociateResourceAsync(AssociateResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApplication
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
CreateApplicationResponse CreateApplication(CreateApplicationRequest request);
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAttributeGroup
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
CreateAttributeGroupResponse CreateAttributeGroup(CreateAttributeGroupRequest request);
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
Task<CreateAttributeGroupResponse> CreateAttributeGroupAsync(CreateAttributeGroupRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplication
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request);
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAttributeGroup
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
DeleteAttributeGroupResponse DeleteAttributeGroup(DeleteAttributeGroupRequest request);
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
Task<DeleteAttributeGroupResponse> DeleteAttributeGroupAsync(DeleteAttributeGroupRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateAttributeGroup
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
DisassociateAttributeGroupResponse DisassociateAttributeGroup(DisassociateAttributeGroupRequest request);
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
Task<DisassociateAttributeGroupResponse> DisassociateAttributeGroupAsync(DisassociateAttributeGroupRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateResource
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
DisassociateResourceResponse DisassociateResource(DisassociateResourceRequest request);
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
Task<DisassociateResourceResponse> DisassociateResourceAsync(DisassociateResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApplication
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
GetApplicationResponse GetApplication(GetApplicationRequest request);
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssociatedResource
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
GetAssociatedResourceResponse GetAssociatedResource(GetAssociatedResourceRequest request);
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
Task<GetAssociatedResourceResponse> GetAssociatedResourceAsync(GetAssociatedResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAttributeGroup
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
GetAttributeGroupResponse GetAttributeGroup(GetAttributeGroupRequest request);
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
Task<GetAttributeGroupResponse> GetAttributeGroupAsync(GetAttributeGroupRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguration
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
GetConfigurationResponse GetConfiguration(GetConfigurationRequest request);
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplications
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
ListApplicationsResponse ListApplications(ListApplicationsRequest request);
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssociatedAttributeGroups
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
ListAssociatedAttributeGroupsResponse ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request);
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
Task<ListAssociatedAttributeGroupsResponse> ListAssociatedAttributeGroupsAsync(ListAssociatedAttributeGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssociatedResources
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
ListAssociatedResourcesResponse ListAssociatedResources(ListAssociatedResourcesRequest request);
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
Task<ListAssociatedResourcesResponse> ListAssociatedResourcesAsync(ListAssociatedResourcesRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAttributeGroups
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
ListAttributeGroupsResponse ListAttributeGroups(ListAttributeGroupsRequest request);
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
Task<ListAttributeGroupsResponse> ListAttributeGroupsAsync(ListAttributeGroupsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAttributeGroupsForApplication
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
ListAttributeGroupsForApplicationResponse ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request);
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
Task<ListAttributeGroupsForApplicationResponse> ListAttributeGroupsForApplicationAsync(ListAttributeGroupsForApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutConfiguration
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
PutConfigurationResponse PutConfiguration(PutConfigurationRequest request);
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
Task<PutConfigurationResponse> PutConfigurationAsync(PutConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SyncResource
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
SyncResourceResponse SyncResource(SyncResourceRequest request);
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
Task<SyncResourceResponse> SyncResourceAsync(SyncResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Removes tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApplication
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request);
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAttributeGroup
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
UpdateAttributeGroupResponse UpdateAttributeGroup(UpdateAttributeGroupRequest request);
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
Task<UpdateAttributeGroupResponse> UpdateAttributeGroupAsync(UpdateAttributeGroupRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 1,345 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AppRegistry.Model;
using Amazon.AppRegistry.Model.Internal.MarshallTransformations;
using Amazon.AppRegistry.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AppRegistry
{
/// <summary>
/// Implementation for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
/// </summary>
public partial class AmazonAppRegistryClient : AmazonServiceClient, IAmazonAppRegistry
{
private static IServiceMetadata serviceMetadata = new AmazonAppRegistryMetadata();
#region Constructors
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig()) { }
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAppRegistryConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(AmazonAppRegistryConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAppRegistryClient(AWSCredentials credentials)
: this(credentials, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAppRegistryClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Credentials and an
/// AmazonAppRegistryClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(AWSCredentials credentials, AmazonAppRegistryConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAppRegistryConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAppRegistryConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig())
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient 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 AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAppRegistryConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAppRegistryClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAppRegistryClient 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 AmazonAppRegistryClient Configuration Object</param>
public AmazonAppRegistryClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAppRegistryConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IAppRegistryPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAppRegistryPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AppRegistryPaginatorFactory(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 AmazonAppRegistryEndpointResolver());
}
/// <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 AssociateAttributeGroup
internal virtual AssociateAttributeGroupResponse AssociateAttributeGroup(AssociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<AssociateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
public virtual Task<AssociateAttributeGroupResponse> AssociateAttributeGroupAsync(AssociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<AssociateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region AssociateResource
internal virtual AssociateResourceResponse AssociateResource(AssociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return Invoke<AssociateResourceResponse>(request, options);
}
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
public virtual Task<AssociateResourceResponse> AssociateResourceAsync(AssociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateResourceResponseUnmarshaller.Instance;
return InvokeAsync<AssociateResourceResponse>(request, options, cancellationToken);
}
#endregion
#region CreateApplication
internal virtual CreateApplicationResponse CreateApplication(CreateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return Invoke<CreateApplicationResponse>(request, options);
}
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
public virtual Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateApplicationResponseUnmarshaller.Instance;
return InvokeAsync<CreateApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAttributeGroup
internal virtual CreateAttributeGroupResponse CreateAttributeGroup(CreateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<CreateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
public virtual Task<CreateAttributeGroupResponse> CreateAttributeGroupAsync(CreateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<CreateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteApplication
internal virtual DeleteApplicationResponse DeleteApplication(DeleteApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return Invoke<DeleteApplicationResponse>(request, options);
}
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
public virtual Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteApplicationResponseUnmarshaller.Instance;
return InvokeAsync<DeleteApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAttributeGroup
internal virtual DeleteAttributeGroupResponse DeleteAttributeGroup(DeleteAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return Invoke<DeleteAttributeGroupResponse>(request, options);
}
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
public virtual Task<DeleteAttributeGroupResponse> DeleteAttributeGroupAsync(DeleteAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region DisassociateAttributeGroup
internal virtual DisassociateAttributeGroupResponse DisassociateAttributeGroup(DisassociateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<DisassociateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
public virtual Task<DisassociateAttributeGroupResponse> DisassociateAttributeGroupAsync(DisassociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<DisassociateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region DisassociateResource
internal virtual DisassociateResourceResponse DisassociateResource(DisassociateResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return Invoke<DisassociateResourceResponse>(request, options);
}
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
public virtual Task<DisassociateResourceResponse> DisassociateResourceAsync(DisassociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateResourceResponseUnmarshaller.Instance;
return InvokeAsync<DisassociateResourceResponse>(request, options, cancellationToken);
}
#endregion
#region GetApplication
internal virtual GetApplicationResponse GetApplication(GetApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return Invoke<GetApplicationResponse>(request, options);
}
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
public virtual Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetApplicationResponseUnmarshaller.Instance;
return InvokeAsync<GetApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssociatedResource
internal virtual GetAssociatedResourceResponse GetAssociatedResource(GetAssociatedResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return Invoke<GetAssociatedResourceResponse>(request, options);
}
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
public virtual Task<GetAssociatedResourceResponse> GetAssociatedResourceAsync(GetAssociatedResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssociatedResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssociatedResourceResponseUnmarshaller.Instance;
return InvokeAsync<GetAssociatedResourceResponse>(request, options, cancellationToken);
}
#endregion
#region GetAttributeGroup
internal virtual GetAttributeGroupResponse GetAttributeGroup(GetAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return Invoke<GetAttributeGroupResponse>(request, options);
}
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
public virtual Task<GetAttributeGroupResponse> GetAttributeGroupAsync(GetAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<GetAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
#region GetConfiguration
internal virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return Invoke<GetConfigurationResponse>(request, options);
}
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
public virtual Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return InvokeAsync<GetConfigurationResponse>(request, options, cancellationToken);
}
#endregion
#region ListApplications
internal virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return Invoke<ListApplicationsResponse>(request, options);
}
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
public virtual Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListApplicationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListApplicationsResponseUnmarshaller.Instance;
return InvokeAsync<ListApplicationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssociatedAttributeGroups
internal virtual ListAssociatedAttributeGroupsResponse ListAssociatedAttributeGroups(ListAssociatedAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return Invoke<ListAssociatedAttributeGroupsResponse>(request, options);
}
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
public virtual Task<ListAssociatedAttributeGroupsResponse> ListAssociatedAttributeGroupsAsync(ListAssociatedAttributeGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedAttributeGroupsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssociatedAttributeGroupsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssociatedResources
internal virtual ListAssociatedResourcesResponse ListAssociatedResources(ListAssociatedResourcesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return Invoke<ListAssociatedResourcesResponse>(request, options);
}
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
public virtual Task<ListAssociatedResourcesResponse> ListAssociatedResourcesAsync(ListAssociatedResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssociatedResourcesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssociatedResourcesResponseUnmarshaller.Instance;
return InvokeAsync<ListAssociatedResourcesResponse>(request, options, cancellationToken);
}
#endregion
#region ListAttributeGroups
internal virtual ListAttributeGroupsResponse ListAttributeGroups(ListAttributeGroupsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return Invoke<ListAttributeGroupsResponse>(request, options);
}
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
public virtual Task<ListAttributeGroupsResponse> ListAttributeGroupsAsync(ListAttributeGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsResponseUnmarshaller.Instance;
return InvokeAsync<ListAttributeGroupsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAttributeGroupsForApplication
internal virtual ListAttributeGroupsForApplicationResponse ListAttributeGroupsForApplication(ListAttributeGroupsForApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return Invoke<ListAttributeGroupsForApplicationResponse>(request, options);
}
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
public virtual Task<ListAttributeGroupsForApplicationResponse> ListAttributeGroupsForApplicationAsync(ListAttributeGroupsForApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAttributeGroupsForApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAttributeGroupsForApplicationResponseUnmarshaller.Instance;
return InvokeAsync<ListAttributeGroupsForApplicationResponse>(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>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 PutConfiguration
internal virtual PutConfigurationResponse PutConfiguration(PutConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return Invoke<PutConfigurationResponse>(request, options);
}
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
public virtual Task<PutConfigurationResponse> PutConfigurationAsync(PutConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutConfigurationResponseUnmarshaller.Instance;
return InvokeAsync<PutConfigurationResponse>(request, options, cancellationToken);
}
#endregion
#region SyncResource
internal virtual SyncResourceResponse SyncResource(SyncResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return Invoke<SyncResourceResponse>(request, options);
}
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
public virtual Task<SyncResourceResponse> SyncResourceAsync(SyncResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SyncResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = SyncResourceResponseUnmarshaller.Instance;
return InvokeAsync<SyncResourceResponse>(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.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/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 UpdateApplication
internal virtual UpdateApplicationResponse UpdateApplication(UpdateApplicationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return Invoke<UpdateApplicationResponse>(request, options);
}
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
public virtual Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateApplicationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateApplicationResponseUnmarshaller.Instance;
return InvokeAsync<UpdateApplicationResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAttributeGroup
internal virtual UpdateAttributeGroupResponse UpdateAttributeGroup(UpdateAttributeGroupRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return Invoke<UpdateAttributeGroupResponse>(request, options);
}
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
public virtual Task<UpdateAttributeGroupResponse> UpdateAttributeGroupAsync(UpdateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAttributeGroupRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAttributeGroupResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAttributeGroupResponse>(request, options, cancellationToken);
}
#endregion
}
} | 1,402 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the servicecatalog-appregistry-2020-06-24.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AppRegistry.Model;
namespace Amazon.AppRegistry
{
/// <summary>
/// Interface for accessing AppRegistry
///
/// Amazon Web Services Service Catalog AppRegistry enables organizations to understand
/// the application context of their Amazon Web Services resources. AppRegistry provides
/// a repository of your applications, their resources, and the application metadata that
/// you use within your enterprise.
/// </summary>
public partial interface IAmazonAppRegistry : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAppRegistryPaginatorFactory Paginators { get; }
#endif
#region AssociateAttributeGroup
/// <summary>
/// Associates an attribute group with an application to augment the application's metadata
/// with the group's attributes. This feature enables applications to be described with
/// user-defined details that are machine-readable, such as third-party integrations.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateAttributeGroup">REST API Reference for AssociateAttributeGroup Operation</seealso>
Task<AssociateAttributeGroupResponse> AssociateAttributeGroupAsync(AssociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region AssociateResource
/// <summary>
/// Associates a resource with an application. The resource can be specified by its ARN
/// or name. The application can be specified by ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/AssociateResource">REST API Reference for AssociateResource Operation</seealso>
Task<AssociateResourceResponse> AssociateResourceAsync(AssociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateApplication
/// <summary>
/// Creates a new application that is the top-level node in a hierarchy of related cloud
/// resource abstractions.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateApplication">REST API Reference for CreateApplication Operation</seealso>
Task<CreateApplicationResponse> CreateApplicationAsync(CreateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAttributeGroup
/// <summary>
/// Creates a new attribute group as a container for user-defined attributes. This feature
/// enables users to have full control over their cloud application's metadata in a rich
/// machine-readable format to facilitate integration with automated workflows and third-party
/// tools.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ServiceQuotaExceededException">
/// The maximum number of resources per account has been reached.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/CreateAttributeGroup">REST API Reference for CreateAttributeGroup Operation</seealso>
Task<CreateAttributeGroupResponse> CreateAttributeGroupAsync(CreateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteApplication
/// <summary>
/// Deletes an application that is specified either by its application ID, name, or ARN.
/// All associated attribute groups and resources must be disassociated from it before
/// deleting an application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteApplication">REST API Reference for DeleteApplication Operation</seealso>
Task<DeleteApplicationResponse> DeleteApplicationAsync(DeleteApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAttributeGroup
/// <summary>
/// Deletes an attribute group, specified either by its attribute group ID, name, or ARN.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DeleteAttributeGroup">REST API Reference for DeleteAttributeGroup Operation</seealso>
Task<DeleteAttributeGroupResponse> DeleteAttributeGroupAsync(DeleteAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateAttributeGroup
/// <summary>
/// Disassociates an attribute group from an application to remove the extra attributes
/// contained in the attribute group from the application's metadata. This operation reverts
/// <code>AssociateAttributeGroup</code>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateAttributeGroup">REST API Reference for DisassociateAttributeGroup Operation</seealso>
Task<DisassociateAttributeGroupResponse> DisassociateAttributeGroupAsync(DisassociateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateResource
/// <summary>
/// Disassociates a resource from application. Both the resource and the application can
/// be specified either by ID or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/DisassociateResource">REST API Reference for DisassociateResource Operation</seealso>
Task<DisassociateResourceResponse> DisassociateResourceAsync(DisassociateResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetApplication
/// <summary>
/// Retrieves metadata information about one of your applications. The application can
/// be specified by its ARN, ID, or name (which is unique within one account in one region
/// at a given point in time). Specify by ARN or ID in automated workflows if you want
/// to make sure that the exact same application is returned or a <code>ResourceNotFoundException</code>
/// is thrown, avoiding the ABA addressing problem.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetApplication">REST API Reference for GetApplication Operation</seealso>
Task<GetApplicationResponse> GetApplicationAsync(GetApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssociatedResource
/// <summary>
/// Gets the resource associated with the application.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssociatedResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssociatedResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAssociatedResource">REST API Reference for GetAssociatedResource Operation</seealso>
Task<GetAssociatedResourceResponse> GetAssociatedResourceAsync(GetAssociatedResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAttributeGroup
/// <summary>
/// Retrieves an attribute group by its ARN, ID, or name. The attribute group can be
/// specified by its ARN, ID, or name.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetAttributeGroup">REST API Reference for GetAttributeGroup Operation</seealso>
Task<GetAttributeGroupResponse> GetAttributeGroupAsync(GetAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetConfiguration
/// <summary>
/// Retrieves a <code>TagKey</code> configuration from an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/GetConfiguration">REST API Reference for GetConfiguration Operation</seealso>
Task<GetConfigurationResponse> GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListApplications
/// <summary>
/// Retrieves a list of all of your applications. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListApplications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListApplications service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListApplications">REST API Reference for ListApplications Operation</seealso>
Task<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssociatedAttributeGroups
/// <summary>
/// Lists all attribute groups that are associated with specified application. Results
/// are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedAttributeGroups">REST API Reference for ListAssociatedAttributeGroups Operation</seealso>
Task<ListAssociatedAttributeGroupsResponse> ListAssociatedAttributeGroupsAsync(ListAssociatedAttributeGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssociatedResources
/// <summary>
/// Lists all of the resources that are associated with the specified application. Results
/// are paginated.
///
/// <note>
/// <para>
/// If you share an application, and a consumer account associates a tag query to the
/// application, all of the users who can access the application can also view the tag
/// values in all accounts that are associated with it using this API.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssociatedResources service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssociatedResources service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAssociatedResources">REST API Reference for ListAssociatedResources Operation</seealso>
Task<ListAssociatedResourcesResponse> ListAssociatedResourcesAsync(ListAssociatedResourcesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAttributeGroups
/// <summary>
/// Lists all attribute groups which you have access to. Results are paginated.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroups service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroups service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroups">REST API Reference for ListAttributeGroups Operation</seealso>
Task<ListAttributeGroupsResponse> ListAttributeGroupsAsync(ListAttributeGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAttributeGroupsForApplication
/// <summary>
/// Lists the details of all attribute groups associated with a specific application.
/// The results display in pages.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAttributeGroupsForApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAttributeGroupsForApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListAttributeGroupsForApplication">REST API Reference for ListAttributeGroupsForApplication Operation</seealso>
Task<ListAttributeGroupsForApplicationResponse> ListAttributeGroupsForApplicationAsync(ListAttributeGroupsForApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Lists all of the tags on the 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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region PutConfiguration
/// <summary>
/// Associates a <code>TagKey</code> configuration to an account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the PutConfiguration service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the PutConfiguration service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/PutConfiguration">REST API Reference for PutConfiguration Operation</seealso>
Task<PutConfigurationResponse> PutConfigurationAsync(PutConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region SyncResource
/// <summary>
/// Syncs the resource with current AppRegistry records.
///
///
/// <para>
/// Specifically, the resource’s AppRegistry system tags sync with its associated application.
/// We remove the resource's AppRegistry system tags if it does not associate with the
/// application. The caller must have permissions to read and update the resource.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the SyncResource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the SyncResource service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/SyncResource">REST API Reference for SyncResource Operation</seealso>
Task<SyncResourceResponse> SyncResourceAsync(SyncResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Assigns one or more tags (key-value pairs) to the specified resource.
///
///
/// <para>
/// Each tag consists of a key and an optional value. If a tag with the same key is already
/// associated with the resource, this action updates its value.
/// </para>
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes tags from a resource.
///
///
/// <para>
/// This operation returns an empty response if the call was successful.
/// </para>
/// </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 AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateApplication
/// <summary>
/// Updates an existing application with new attributes.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateApplication service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateApplication service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ThrottlingException">
/// The maximum number of API requests has been exceeded.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateApplication">REST API Reference for UpdateApplication Operation</seealso>
Task<UpdateApplicationResponse> UpdateApplicationAsync(UpdateApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAttributeGroup
/// <summary>
/// Updates an existing attribute group with new details.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAttributeGroup service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAttributeGroup service method, as returned by AppRegistry.</returns>
/// <exception cref="Amazon.AppRegistry.Model.ConflictException">
/// There was a conflict when processing the request (for example, a resource with the
/// given name already exists within the account).
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.InternalServerException">
/// The service is experiencing internal problems.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ResourceNotFoundException">
/// The specified resource does not exist.
/// </exception>
/// <exception cref="Amazon.AppRegistry.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/AWS242AppRegistry-2020-06-24/UpdateAttributeGroup">REST API Reference for UpdateAttributeGroup Operation</seealso>
Task<UpdateAttributeGroupResponse> UpdateAttributeGroupAsync(UpdateAttributeGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
} | 793 |
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.AppRegistry")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Service Catalog App Registry. AWS Service Catalog AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS Service Catalog App Registry. AWS Service Catalog AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS Service Catalog App Registry. AWS Service Catalog AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS Service Catalog App Registry. AWS Service Catalog AppRegistry provides a repository of your applications, their resources, and the application metadata that you use within your enterprise.")]
#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.102.48")]
[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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.AppRunner.Internal;
namespace Amazon.AppRunner
{
/// <summary>
/// Configuration for accessing Amazon AppRunner service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonAppRunnerConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.105.41");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonAppRunnerConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAppRunnerDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "apprunner";
this.EndpointProvider = new AmazonAppRunnerEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "apprunner";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2020-05-15";
}
}
/// <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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.AppRunner
{
/// <summary>
/// Configuration for accessing Amazon AppRunner service
/// </summary>
public static class AmazonAppRunnerDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// AppRunner
/// </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 apprunner-2020-05-15.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.AppRunner.Endpoints
{
/// <summary>
/// Contains parameters used for resolving AppRunner endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal AppRunnerEndpointProvider and AppRunnerEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class AppRunnerEndpointParameters : EndpointParameters
{
/// <summary>
/// AppRunnerEndpointParameters constructor
/// </summary>
public AppRunnerEndpointParameters()
{
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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.AppRunner
{
///<summary>
/// Common exception for the AppRunner service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonAppRunnerException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonAppRunnerException
/// </summary>
/// <param name="message"></param>
public AmazonAppRunnerException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonAppRunnerException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonAppRunnerException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAppRunnerException
/// </summary>
/// <param name="innerException"></param>
public AmazonAppRunnerException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAppRunnerException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAppRunnerException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonAppRunnerException
/// </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 AmazonAppRunnerException(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 AmazonAppRunnerException 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 AmazonAppRunnerException(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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AppRunner
{
/// <summary>
/// Constants used for properties of type AutoScalingConfigurationStatus.
/// </summary>
public class AutoScalingConfigurationStatus : ConstantClass
{
/// <summary>
/// Constant ACTIVE for AutoScalingConfigurationStatus
/// </summary>
public static readonly AutoScalingConfigurationStatus ACTIVE = new AutoScalingConfigurationStatus("ACTIVE");
/// <summary>
/// Constant INACTIVE for AutoScalingConfigurationStatus
/// </summary>
public static readonly AutoScalingConfigurationStatus INACTIVE = new AutoScalingConfigurationStatus("INACTIVE");
/// <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 AutoScalingConfigurationStatus(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 AutoScalingConfigurationStatus FindValue(string value)
{
return FindValue<AutoScalingConfigurationStatus>(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 AutoScalingConfigurationStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type CertificateValidationRecordStatus.
/// </summary>
public class CertificateValidationRecordStatus : ConstantClass
{
/// <summary>
/// Constant FAILED for CertificateValidationRecordStatus
/// </summary>
public static readonly CertificateValidationRecordStatus FAILED = new CertificateValidationRecordStatus("FAILED");
/// <summary>
/// Constant PENDING_VALIDATION for CertificateValidationRecordStatus
/// </summary>
public static readonly CertificateValidationRecordStatus PENDING_VALIDATION = new CertificateValidationRecordStatus("PENDING_VALIDATION");
/// <summary>
/// Constant SUCCESS for CertificateValidationRecordStatus
/// </summary>
public static readonly CertificateValidationRecordStatus SUCCESS = new CertificateValidationRecordStatus("SUCCESS");
/// <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 CertificateValidationRecordStatus(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 CertificateValidationRecordStatus FindValue(string value)
{
return FindValue<CertificateValidationRecordStatus>(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 CertificateValidationRecordStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ConfigurationSource.
/// </summary>
public class ConfigurationSource : ConstantClass
{
/// <summary>
/// Constant API for ConfigurationSource
/// </summary>
public static readonly ConfigurationSource API = new ConfigurationSource("API");
/// <summary>
/// Constant REPOSITORY for ConfigurationSource
/// </summary>
public static readonly ConfigurationSource REPOSITORY = new ConfigurationSource("REPOSITORY");
/// <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 ConfigurationSource(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 ConfigurationSource FindValue(string value)
{
return FindValue<ConfigurationSource>(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 ConfigurationSource(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ConnectionStatus.
/// </summary>
public class ConnectionStatus : ConstantClass
{
/// <summary>
/// Constant AVAILABLE for ConnectionStatus
/// </summary>
public static readonly ConnectionStatus AVAILABLE = new ConnectionStatus("AVAILABLE");
/// <summary>
/// Constant DELETED for ConnectionStatus
/// </summary>
public static readonly ConnectionStatus DELETED = new ConnectionStatus("DELETED");
/// <summary>
/// Constant ERROR for ConnectionStatus
/// </summary>
public static readonly ConnectionStatus ERROR = new ConnectionStatus("ERROR");
/// <summary>
/// Constant PENDING_HANDSHAKE for ConnectionStatus
/// </summary>
public static readonly ConnectionStatus PENDING_HANDSHAKE = new ConnectionStatus("PENDING_HANDSHAKE");
/// <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 ConnectionStatus(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 ConnectionStatus FindValue(string value)
{
return FindValue<ConnectionStatus>(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 ConnectionStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type CustomDomainAssociationStatus.
/// </summary>
public class CustomDomainAssociationStatus : ConstantClass
{
/// <summary>
/// Constant ACTIVE for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus ACTIVE = new CustomDomainAssociationStatus("ACTIVE");
/// <summary>
/// Constant BINDING_CERTIFICATE for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus BINDING_CERTIFICATE = new CustomDomainAssociationStatus("BINDING_CERTIFICATE");
/// <summary>
/// Constant CREATE_FAILED for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus CREATE_FAILED = new CustomDomainAssociationStatus("CREATE_FAILED");
/// <summary>
/// Constant CREATING for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus CREATING = new CustomDomainAssociationStatus("CREATING");
/// <summary>
/// Constant DELETE_FAILED for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus DELETE_FAILED = new CustomDomainAssociationStatus("DELETE_FAILED");
/// <summary>
/// Constant DELETING for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus DELETING = new CustomDomainAssociationStatus("DELETING");
/// <summary>
/// Constant PENDING_CERTIFICATE_DNS_VALIDATION for CustomDomainAssociationStatus
/// </summary>
public static readonly CustomDomainAssociationStatus PENDING_CERTIFICATE_DNS_VALIDATION = new CustomDomainAssociationStatus("PENDING_CERTIFICATE_DNS_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 CustomDomainAssociationStatus(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 CustomDomainAssociationStatus FindValue(string value)
{
return FindValue<CustomDomainAssociationStatus>(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 CustomDomainAssociationStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type EgressType.
/// </summary>
public class EgressType : ConstantClass
{
/// <summary>
/// Constant DEFAULT for EgressType
/// </summary>
public static readonly EgressType DEFAULT = new EgressType("DEFAULT");
/// <summary>
/// Constant VPC for EgressType
/// </summary>
public static readonly EgressType VPC = new EgressType("VPC");
/// <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 EgressType(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 EgressType FindValue(string value)
{
return FindValue<EgressType>(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 EgressType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type HealthCheckProtocol.
/// </summary>
public class HealthCheckProtocol : ConstantClass
{
/// <summary>
/// Constant HTTP for HealthCheckProtocol
/// </summary>
public static readonly HealthCheckProtocol HTTP = new HealthCheckProtocol("HTTP");
/// <summary>
/// Constant TCP for HealthCheckProtocol
/// </summary>
public static readonly HealthCheckProtocol TCP = new HealthCheckProtocol("TCP");
/// <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 HealthCheckProtocol(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 HealthCheckProtocol FindValue(string value)
{
return FindValue<HealthCheckProtocol>(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 HealthCheckProtocol(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ImageRepositoryType.
/// </summary>
public class ImageRepositoryType : ConstantClass
{
/// <summary>
/// Constant ECR for ImageRepositoryType
/// </summary>
public static readonly ImageRepositoryType ECR = new ImageRepositoryType("ECR");
/// <summary>
/// Constant ECR_PUBLIC for ImageRepositoryType
/// </summary>
public static readonly ImageRepositoryType ECR_PUBLIC = new ImageRepositoryType("ECR_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 ImageRepositoryType(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 ImageRepositoryType FindValue(string value)
{
return FindValue<ImageRepositoryType>(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 ImageRepositoryType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ObservabilityConfigurationStatus.
/// </summary>
public class ObservabilityConfigurationStatus : ConstantClass
{
/// <summary>
/// Constant ACTIVE for ObservabilityConfigurationStatus
/// </summary>
public static readonly ObservabilityConfigurationStatus ACTIVE = new ObservabilityConfigurationStatus("ACTIVE");
/// <summary>
/// Constant INACTIVE for ObservabilityConfigurationStatus
/// </summary>
public static readonly ObservabilityConfigurationStatus INACTIVE = new ObservabilityConfigurationStatus("INACTIVE");
/// <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 ObservabilityConfigurationStatus(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 ObservabilityConfigurationStatus FindValue(string value)
{
return FindValue<ObservabilityConfigurationStatus>(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 ObservabilityConfigurationStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OperationStatus.
/// </summary>
public class OperationStatus : ConstantClass
{
/// <summary>
/// Constant FAILED for OperationStatus
/// </summary>
public static readonly OperationStatus FAILED = new OperationStatus("FAILED");
/// <summary>
/// Constant IN_PROGRESS for OperationStatus
/// </summary>
public static readonly OperationStatus IN_PROGRESS = new OperationStatus("IN_PROGRESS");
/// <summary>
/// Constant PENDING for OperationStatus
/// </summary>
public static readonly OperationStatus PENDING = new OperationStatus("PENDING");
/// <summary>
/// Constant ROLLBACK_FAILED for OperationStatus
/// </summary>
public static readonly OperationStatus ROLLBACK_FAILED = new OperationStatus("ROLLBACK_FAILED");
/// <summary>
/// Constant ROLLBACK_IN_PROGRESS for OperationStatus
/// </summary>
public static readonly OperationStatus ROLLBACK_IN_PROGRESS = new OperationStatus("ROLLBACK_IN_PROGRESS");
/// <summary>
/// Constant ROLLBACK_SUCCEEDED for OperationStatus
/// </summary>
public static readonly OperationStatus ROLLBACK_SUCCEEDED = new OperationStatus("ROLLBACK_SUCCEEDED");
/// <summary>
/// Constant SUCCEEDED for OperationStatus
/// </summary>
public static readonly OperationStatus SUCCEEDED = new OperationStatus("SUCCEEDED");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public OperationStatus(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 OperationStatus FindValue(string value)
{
return FindValue<OperationStatus>(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 OperationStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type OperationType.
/// </summary>
public class OperationType : ConstantClass
{
/// <summary>
/// Constant CREATE_SERVICE for OperationType
/// </summary>
public static readonly OperationType CREATE_SERVICE = new OperationType("CREATE_SERVICE");
/// <summary>
/// Constant DELETE_SERVICE for OperationType
/// </summary>
public static readonly OperationType DELETE_SERVICE = new OperationType("DELETE_SERVICE");
/// <summary>
/// Constant PAUSE_SERVICE for OperationType
/// </summary>
public static readonly OperationType PAUSE_SERVICE = new OperationType("PAUSE_SERVICE");
/// <summary>
/// Constant RESUME_SERVICE for OperationType
/// </summary>
public static readonly OperationType RESUME_SERVICE = new OperationType("RESUME_SERVICE");
/// <summary>
/// Constant START_DEPLOYMENT for OperationType
/// </summary>
public static readonly OperationType START_DEPLOYMENT = new OperationType("START_DEPLOYMENT");
/// <summary>
/// Constant UPDATE_SERVICE for OperationType
/// </summary>
public static readonly OperationType UPDATE_SERVICE = new OperationType("UPDATE_SERVICE");
/// <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 OperationType(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 OperationType FindValue(string value)
{
return FindValue<OperationType>(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 OperationType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ProviderType.
/// </summary>
public class ProviderType : ConstantClass
{
/// <summary>
/// Constant GITHUB for ProviderType
/// </summary>
public static readonly ProviderType GITHUB = new ProviderType("GITHUB");
/// <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 ProviderType(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 ProviderType FindValue(string value)
{
return FindValue<ProviderType>(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 ProviderType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type Runtime.
/// </summary>
public class Runtime : ConstantClass
{
/// <summary>
/// Constant CORRETTO_11 for Runtime
/// </summary>
public static readonly Runtime CORRETTO_11 = new Runtime("CORRETTO_11");
/// <summary>
/// Constant CORRETTO_8 for Runtime
/// </summary>
public static readonly Runtime CORRETTO_8 = new Runtime("CORRETTO_8");
/// <summary>
/// Constant DOTNET_6 for Runtime
/// </summary>
public static readonly Runtime DOTNET_6 = new Runtime("DOTNET_6");
/// <summary>
/// Constant GO_1 for Runtime
/// </summary>
public static readonly Runtime GO_1 = new Runtime("GO_1");
/// <summary>
/// Constant NODEJS_12 for Runtime
/// </summary>
public static readonly Runtime NODEJS_12 = new Runtime("NODEJS_12");
/// <summary>
/// Constant NODEJS_14 for Runtime
/// </summary>
public static readonly Runtime NODEJS_14 = new Runtime("NODEJS_14");
/// <summary>
/// Constant NODEJS_16 for Runtime
/// </summary>
public static readonly Runtime NODEJS_16 = new Runtime("NODEJS_16");
/// <summary>
/// Constant PHP_81 for Runtime
/// </summary>
public static readonly Runtime PHP_81 = new Runtime("PHP_81");
/// <summary>
/// Constant PYTHON_3 for Runtime
/// </summary>
public static readonly Runtime PYTHON_3 = new Runtime("PYTHON_3");
/// <summary>
/// Constant RUBY_31 for Runtime
/// </summary>
public static readonly Runtime RUBY_31 = new Runtime("RUBY_31");
/// <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 Runtime(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 Runtime FindValue(string value)
{
return FindValue<Runtime>(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 Runtime(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type ServiceStatus.
/// </summary>
public class ServiceStatus : ConstantClass
{
/// <summary>
/// Constant CREATE_FAILED for ServiceStatus
/// </summary>
public static readonly ServiceStatus CREATE_FAILED = new ServiceStatus("CREATE_FAILED");
/// <summary>
/// Constant DELETE_FAILED for ServiceStatus
/// </summary>
public static readonly ServiceStatus DELETE_FAILED = new ServiceStatus("DELETE_FAILED");
/// <summary>
/// Constant DELETED for ServiceStatus
/// </summary>
public static readonly ServiceStatus DELETED = new ServiceStatus("DELETED");
/// <summary>
/// Constant OPERATION_IN_PROGRESS for ServiceStatus
/// </summary>
public static readonly ServiceStatus OPERATION_IN_PROGRESS = new ServiceStatus("OPERATION_IN_PROGRESS");
/// <summary>
/// Constant PAUSED for ServiceStatus
/// </summary>
public static readonly ServiceStatus PAUSED = new ServiceStatus("PAUSED");
/// <summary>
/// Constant RUNNING for ServiceStatus
/// </summary>
public static readonly ServiceStatus RUNNING = new ServiceStatus("RUNNING");
/// <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 ServiceStatus(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 ServiceStatus FindValue(string value)
{
return FindValue<ServiceStatus>(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 ServiceStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SourceCodeVersionType.
/// </summary>
public class SourceCodeVersionType : ConstantClass
{
/// <summary>
/// Constant BRANCH for SourceCodeVersionType
/// </summary>
public static readonly SourceCodeVersionType BRANCH = new SourceCodeVersionType("BRANCH");
/// <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 SourceCodeVersionType(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 SourceCodeVersionType FindValue(string value)
{
return FindValue<SourceCodeVersionType>(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 SourceCodeVersionType(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type TracingVendor.
/// </summary>
public class TracingVendor : ConstantClass
{
/// <summary>
/// Constant AWSXRAY for TracingVendor
/// </summary>
public static readonly TracingVendor AWSXRAY = new TracingVendor("AWSXRAY");
/// <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 TracingVendor(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 TracingVendor FindValue(string value)
{
return FindValue<TracingVendor>(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 TracingVendor(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type VpcConnectorStatus.
/// </summary>
public class VpcConnectorStatus : ConstantClass
{
/// <summary>
/// Constant ACTIVE for VpcConnectorStatus
/// </summary>
public static readonly VpcConnectorStatus ACTIVE = new VpcConnectorStatus("ACTIVE");
/// <summary>
/// Constant INACTIVE for VpcConnectorStatus
/// </summary>
public static readonly VpcConnectorStatus INACTIVE = new VpcConnectorStatus("INACTIVE");
/// <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 VpcConnectorStatus(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 VpcConnectorStatus FindValue(string value)
{
return FindValue<VpcConnectorStatus>(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 VpcConnectorStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type VpcIngressConnectionStatus.
/// </summary>
public class VpcIngressConnectionStatus : ConstantClass
{
/// <summary>
/// Constant AVAILABLE for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus AVAILABLE = new VpcIngressConnectionStatus("AVAILABLE");
/// <summary>
/// Constant DELETED for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus DELETED = new VpcIngressConnectionStatus("DELETED");
/// <summary>
/// Constant FAILED_CREATION for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus FAILED_CREATION = new VpcIngressConnectionStatus("FAILED_CREATION");
/// <summary>
/// Constant FAILED_DELETION for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus FAILED_DELETION = new VpcIngressConnectionStatus("FAILED_DELETION");
/// <summary>
/// Constant FAILED_UPDATE for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus FAILED_UPDATE = new VpcIngressConnectionStatus("FAILED_UPDATE");
/// <summary>
/// Constant PENDING_CREATION for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus PENDING_CREATION = new VpcIngressConnectionStatus("PENDING_CREATION");
/// <summary>
/// Constant PENDING_DELETION for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus PENDING_DELETION = new VpcIngressConnectionStatus("PENDING_DELETION");
/// <summary>
/// Constant PENDING_UPDATE for VpcIngressConnectionStatus
/// </summary>
public static readonly VpcIngressConnectionStatus PENDING_UPDATE = new VpcIngressConnectionStatus("PENDING_UPDATE");
/// <summary>
/// This constant constructor does not need to be called if the constant
/// you are attempting to use is already defined as a static instance of
/// this class.
/// This constructor should be used to construct constants that are not
/// defined as statics, for instance if attempting to use a feature that is
/// newer than the current version of the SDK.
/// </summary>
public VpcIngressConnectionStatus(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 VpcIngressConnectionStatus FindValue(string value)
{
return FindValue<VpcIngressConnectionStatus>(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 VpcIngressConnectionStatus(string value)
{
return FindValue(value);
}
}
} | 1,054 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.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.AppRunner.Internal
{
/// <summary>
/// Amazon AppRunner endpoint provider.
/// Resolves endpoint for given set of AppRunnerEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonAppRunnerEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for AppRunnerEndpointParameters
/// </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://apprunner-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://apprunner-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://apprunner.{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://apprunner.{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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using Amazon.AppRunner.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.AppRunner.Endpoints;
#pragma warning disable 1591
namespace Amazon.AppRunner.Internal
{
/// <summary>
/// Amazon AppRunner endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AppRunner service requests.
/// Collects values for AppRunnerEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AppRunnerEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonAppRunnerEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonAppRunnerConfig)requestContext.ClientConfig;
var result = new AppRunnerEndpointParameters();
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 apprunner-2020-05-15.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Internal
{
/// <summary>
/// Service metadata for Amazon AppRunner service
/// </summary>
public partial class AmazonAppRunnerMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "AppRunner";
}
}
/// <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 apprunner-2020-05-15.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AppRunner
{
/// <summary>
/// Base class for AppRunner operation requests.
/// </summary>
public partial class AmazonAppRunnerRequest : 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the AssociateCustomDomain operation.
/// Associate your own domain name with the App Runner subdomain URL of your App Runner
/// service.
///
///
/// <para>
/// After you call <code>AssociateCustomDomain</code> and receive a successful response,
/// use the information in the <a>CustomDomain</a> record that's returned to add CNAME
/// records to your Domain Name System (DNS). For each mapped domain name, add a mapping
/// to the target App Runner subdomain and one or more certificate validation records.
/// App Runner then performs DNS validation to verify that you own or control the domain
/// name that you associated. App Runner tracks domain validity in a certificate stored
/// in <a href="https://docs.aws.amazon.com/acm/latest/userguide">AWS Certificate Manager
/// (ACM)</a>.
/// </para>
/// </summary>
public partial class AssociateCustomDomainRequest : AmazonAppRunnerRequest
{
private string _domainName;
private bool? _enableWWWSubdomain;
private string _serviceArn;
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// A custom domain endpoint to associate. Specify a root domain (for example, <code>example.com</code>),
/// a subdomain (for example, <code>login.example.com</code> or <code>admin.login.example.com</code>),
/// or a wildcard (for example, <code>*.example.com</code>).
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property EnableWWWSubdomain.
/// <para>
/// Set to <code>true</code> to associate the subdomain <code>www.<i>DomainName</i> </code>
/// with the App Runner service in addition to the base domain.
/// </para>
///
/// <para>
/// Default: <code>true</code>
/// </para>
/// </summary>
public bool EnableWWWSubdomain
{
get { return this._enableWWWSubdomain.GetValueOrDefault(); }
set { this._enableWWWSubdomain = value; }
}
// Check to see if EnableWWWSubdomain property is set
internal bool IsSetEnableWWWSubdomain()
{
return this._enableWWWSubdomain.HasValue;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service that you want to associate
/// a custom domain name with.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the AssociateCustomDomain operation.
/// </summary>
public partial class AssociateCustomDomainResponse : AmazonWebServiceResponse
{
private CustomDomain _customDomain;
private string _dnsTarget;
private string _serviceArn;
private List<VpcDNSTarget> _vpcDNSTargets = new List<VpcDNSTarget>();
/// <summary>
/// Gets and sets the property CustomDomain.
/// <para>
/// A description of the domain name that's being associated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CustomDomain CustomDomain
{
get { return this._customDomain; }
set { this._customDomain = value; }
}
// Check to see if CustomDomain property is set
internal bool IsSetCustomDomain()
{
return this._customDomain != null;
}
/// <summary>
/// Gets and sets the property DNSTarget.
/// <para>
/// The App Runner subdomain of the App Runner service. The custom domain name is mapped
/// to this target name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=51200)]
public string DNSTarget
{
get { return this._dnsTarget; }
set { this._dnsTarget = value; }
}
// Check to see if DNSTarget property is set
internal bool IsSetDNSTarget()
{
return this._dnsTarget != null;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service with which a custom domain
/// name is associated.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
/// <summary>
/// Gets and sets the property VpcDNSTargets.
/// <para>
/// DNS Target records for the custom domains of this Amazon VPC.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<VpcDNSTarget> VpcDNSTargets
{
get { return this._vpcDNSTargets; }
set { this._vpcDNSTargets = value; }
}
// Check to see if VpcDNSTargets property is set
internal bool IsSetVpcDNSTargets()
{
return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0;
}
}
} | 120 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes resources needed to authenticate access to some source repositories. The
/// specific resource depends on the repository provider.
/// </summary>
public partial class AuthenticationConfiguration
{
private string _accessRoleArn;
private string _connectionArn;
/// <summary>
/// Gets and sets the property AccessRoleArn.
/// <para>
/// The Amazon Resource Name (ARN) of the IAM role that grants the App Runner service
/// access to a source repository. It's required for ECR image repositories (but not for
/// ECR Public repositories).
/// </para>
/// </summary>
[AWSProperty(Min=29, Max=1024)]
public string AccessRoleArn
{
get { return this._accessRoleArn; }
set { this._accessRoleArn = value; }
}
// Check to see if AccessRoleArn property is set
internal bool IsSetAccessRoleArn()
{
return this._accessRoleArn != null;
}
/// <summary>
/// Gets and sets the property ConnectionArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner connection that enables the App Runner
/// service to connect to a source repository. It's required for GitHub code repositories.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string ConnectionArn
{
get { return this._connectionArn; }
set { this._connectionArn = value; }
}
// Check to see if ConnectionArn property is set
internal bool IsSetConnectionArn()
{
return this._connectionArn != null;
}
}
} | 82 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes an App Runner automatic scaling configuration resource.
///
///
/// <para>
/// A higher <code>MinSize</code> increases the spread of your App Runner service over
/// more Availability Zones in the Amazon Web Services Region. The tradeoff is a higher
/// minimal cost.
/// </para>
///
/// <para>
/// A lower <code>MaxSize</code> controls your cost. The tradeoff is lower responsiveness
/// during peak demand.
/// </para>
///
/// <para>
/// Multiple revisions of a configuration might have the same <code>AutoScalingConfigurationName</code>
/// and different <code>AutoScalingConfigurationRevision</code> values.
/// </para>
/// </summary>
public partial class AutoScalingConfiguration
{
private string _autoScalingConfigurationArn;
private string _autoScalingConfigurationName;
private int? _autoScalingConfigurationRevision;
private DateTime? _createdAt;
private DateTime? _deletedAt;
private bool? _latest;
private int? _maxConcurrency;
private int? _maxSize;
private int? _minSize;
private AutoScalingConfigurationStatus _status;
/// <summary>
/// Gets and sets the property AutoScalingConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of this auto scaling configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string AutoScalingConfigurationArn
{
get { return this._autoScalingConfigurationArn; }
set { this._autoScalingConfigurationArn = value; }
}
// Check to see if AutoScalingConfigurationArn property is set
internal bool IsSetAutoScalingConfigurationArn()
{
return this._autoScalingConfigurationArn != null;
}
/// <summary>
/// Gets and sets the property AutoScalingConfigurationName.
/// <para>
/// The customer-provided auto scaling configuration name. It can be used in multiple
/// revisions of a configuration.
/// </para>
/// </summary>
[AWSProperty(Min=4, Max=32)]
public string AutoScalingConfigurationName
{
get { return this._autoScalingConfigurationName; }
set { this._autoScalingConfigurationName = value; }
}
// Check to see if AutoScalingConfigurationName property is set
internal bool IsSetAutoScalingConfigurationName()
{
return this._autoScalingConfigurationName != null;
}
/// <summary>
/// Gets and sets the property AutoScalingConfigurationRevision.
/// <para>
/// The revision of this auto scaling configuration. It's unique among all the active
/// configurations (<code>"Status": "ACTIVE"</code>) that share the same <code>AutoScalingConfigurationName</code>.
/// </para>
/// </summary>
public int AutoScalingConfigurationRevision
{
get { return this._autoScalingConfigurationRevision.GetValueOrDefault(); }
set { this._autoScalingConfigurationRevision = value; }
}
// Check to see if AutoScalingConfigurationRevision property is set
internal bool IsSetAutoScalingConfigurationRevision()
{
return this._autoScalingConfigurationRevision.HasValue;
}
/// <summary>
/// Gets and sets the property CreatedAt.
/// <para>
/// The time when the auto scaling configuration was created. It's in Unix time stamp
/// format.
/// </para>
/// </summary>
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
/// <summary>
/// Gets and sets the property DeletedAt.
/// <para>
/// The time when the auto scaling configuration was deleted. It's in Unix time stamp
/// format.
/// </para>
/// </summary>
public DateTime DeletedAt
{
get { return this._deletedAt.GetValueOrDefault(); }
set { this._deletedAt = value; }
}
// Check to see if DeletedAt property is set
internal bool IsSetDeletedAt()
{
return this._deletedAt.HasValue;
}
/// <summary>
/// Gets and sets the property Latest.
/// <para>
/// It's set to <code>true</code> for the configuration with the highest <code>Revision</code>
/// among all configurations that share the same <code>AutoScalingConfigurationName</code>.
/// It's set to <code>false</code> otherwise.
/// </para>
/// </summary>
public bool Latest
{
get { return this._latest.GetValueOrDefault(); }
set { this._latest = value; }
}
// Check to see if Latest property is set
internal bool IsSetLatest()
{
return this._latest.HasValue;
}
/// <summary>
/// Gets and sets the property MaxConcurrency.
/// <para>
/// The maximum number of concurrent requests that an instance processes. If the number
/// of concurrent requests exceeds this limit, App Runner scales the service up.
/// </para>
/// </summary>
public int MaxConcurrency
{
get { return this._maxConcurrency.GetValueOrDefault(); }
set { this._maxConcurrency = value; }
}
// Check to see if MaxConcurrency property is set
internal bool IsSetMaxConcurrency()
{
return this._maxConcurrency.HasValue;
}
/// <summary>
/// Gets and sets the property MaxSize.
/// <para>
/// The maximum number of instances that a service scales up to. At most <code>MaxSize</code>
/// instances actively serve traffic for your service.
/// </para>
/// </summary>
public int MaxSize
{
get { return this._maxSize.GetValueOrDefault(); }
set { this._maxSize = value; }
}
// Check to see if MaxSize property is set
internal bool IsSetMaxSize()
{
return this._maxSize.HasValue;
}
/// <summary>
/// Gets and sets the property MinSize.
/// <para>
/// The minimum number of instances that App Runner provisions for a service. The service
/// always has at least <code>MinSize</code> provisioned instances. Some of them actively
/// serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective
/// compute capacity reserve and are ready to be quickly activated. You pay for memory
/// usage of all the provisioned instances. You pay for CPU usage of only the active subset.
/// </para>
///
/// <para>
/// App Runner temporarily doubles the number of provisioned instances during deployments,
/// to maintain the same capacity for both old and new code.
/// </para>
/// </summary>
public int MinSize
{
get { return this._minSize.GetValueOrDefault(); }
set { this._minSize = value; }
}
// Check to see if MinSize property is set
internal bool IsSetMinSize()
{
return this._minSize.HasValue;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current state of the auto scaling configuration. If the status of a configuration
/// revision is <code>INACTIVE</code>, it was deleted and can't be used. Inactive configuration
/// revisions are permanently removed some time after they are deleted.
/// </para>
/// </summary>
public AutoScalingConfigurationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 266 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Provides summary information about an App Runner automatic scaling configuration resource.
///
///
/// <para>
/// This type contains limited information about an auto scaling configuration. It includes
/// only identification information, without configuration details. It's returned by the
/// <a>ListAutoScalingConfigurations</a> action. Complete configuration information is
/// returned by the <a>CreateAutoScalingConfiguration</a>, <a>DescribeAutoScalingConfiguration</a>,
/// and <a>DeleteAutoScalingConfiguration</a> actions using the <a>AutoScalingConfiguration</a>
/// type.
/// </para>
/// </summary>
public partial class AutoScalingConfigurationSummary
{
private string _autoScalingConfigurationArn;
private string _autoScalingConfigurationName;
private int? _autoScalingConfigurationRevision;
/// <summary>
/// Gets and sets the property AutoScalingConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of this auto scaling configuration.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string AutoScalingConfigurationArn
{
get { return this._autoScalingConfigurationArn; }
set { this._autoScalingConfigurationArn = value; }
}
// Check to see if AutoScalingConfigurationArn property is set
internal bool IsSetAutoScalingConfigurationArn()
{
return this._autoScalingConfigurationArn != null;
}
/// <summary>
/// Gets and sets the property AutoScalingConfigurationName.
/// <para>
/// The customer-provided auto scaling configuration name. It can be used in multiple
/// revisions of a configuration.
/// </para>
/// </summary>
[AWSProperty(Min=4, Max=32)]
public string AutoScalingConfigurationName
{
get { return this._autoScalingConfigurationName; }
set { this._autoScalingConfigurationName = value; }
}
// Check to see if AutoScalingConfigurationName property is set
internal bool IsSetAutoScalingConfigurationName()
{
return this._autoScalingConfigurationName != null;
}
/// <summary>
/// Gets and sets the property AutoScalingConfigurationRevision.
/// <para>
/// The revision of this auto scaling configuration. It's unique among all the active
/// configurations (<code>"Status": "ACTIVE"</code>) with the same <code>AutoScalingConfigurationName</code>.
/// </para>
/// </summary>
public int AutoScalingConfigurationRevision
{
get { return this._autoScalingConfigurationRevision.GetValueOrDefault(); }
set { this._autoScalingConfigurationRevision = value; }
}
// Check to see if AutoScalingConfigurationRevision property is set
internal bool IsSetAutoScalingConfigurationRevision()
{
return this._autoScalingConfigurationRevision.HasValue;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes a certificate CNAME record to add to your DNS. For more information, see
/// <a href="https://docs.aws.amazon.com/apprunner/latest/api/API_AssociateCustomDomain.html">AssociateCustomDomain</a>.
/// </summary>
public partial class CertificateValidationRecord
{
private string _name;
private CertificateValidationRecordStatus _status;
private string _type;
private string _value;
/// <summary>
/// Gets and sets the property Name.
/// <para>
/// The certificate CNAME record name.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string Name
{
get { return this._name; }
set { this._name = value; }
}
// Check to see if Name property is set
internal bool IsSetName()
{
return this._name != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current state of the certificate CNAME record validation. It should change to
/// <code>SUCCESS</code> after App Runner completes validation with your DNS.
/// </para>
/// </summary>
public CertificateValidationRecordStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
/// <summary>
/// Gets and sets the property Type.
/// <para>
/// The record type, always <code>CNAME</code>.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string Type
{
get { return this._type; }
set { this._type = value; }
}
// Check to see if Type property is set
internal bool IsSetType()
{
return this._type != null;
}
/// <summary>
/// Gets and sets the property Value.
/// <para>
/// The certificate CNAME record value.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string Value
{
get { return this._value; }
set { this._value = value; }
}
// Check to see if Value property is set
internal bool IsSetValue()
{
return this._value != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes the configuration that App Runner uses to build and run an App Runner service
/// from a source code repository.
/// </summary>
public partial class CodeConfiguration
{
private CodeConfigurationValues _codeConfigurationValues;
private ConfigurationSource _configurationSource;
/// <summary>
/// Gets and sets the property CodeConfigurationValues.
/// <para>
/// The basic configuration for building and running the App Runner service. Use it to
/// quickly launch an App Runner service without providing a <code>apprunner.yaml</code>
/// file in the source code repository (or ignoring the file if it exists).
/// </para>
/// </summary>
public CodeConfigurationValues CodeConfigurationValues
{
get { return this._codeConfigurationValues; }
set { this._codeConfigurationValues = value; }
}
// Check to see if CodeConfigurationValues property is set
internal bool IsSetCodeConfigurationValues()
{
return this._codeConfigurationValues != null;
}
/// <summary>
/// Gets and sets the property ConfigurationSource.
/// <para>
/// The source of the App Runner configuration. Values are interpreted as follows:
/// </para>
/// <ul> <li>
/// <para>
/// <code>REPOSITORY</code> – App Runner reads configuration values from the <code>apprunner.yaml</code>
/// file in the source code repository and ignores <code>CodeConfigurationValues</code>.
/// </para>
/// </li> <li>
/// <para>
/// <code>API</code> – App Runner uses configuration values provided in <code>CodeConfigurationValues</code>
/// and ignores the <code>apprunner.yaml</code> file in the source code repository.
/// </para>
/// </li> </ul>
/// </summary>
[AWSProperty(Required=true)]
public ConfigurationSource ConfigurationSource
{
get { return this._configurationSource; }
set { this._configurationSource = value; }
}
// Check to see if ConfigurationSource property is set
internal bool IsSetConfigurationSource()
{
return this._configurationSource != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes the basic configuration needed for building and running an App Runner service.
/// This type doesn't support the full set of possible configuration options. Fur full
/// configuration capabilities, use a <code>apprunner.yaml</code> file in the source code
/// repository.
/// </summary>
public partial class CodeConfigurationValues
{
private string _buildCommand;
private string _port;
private Runtime _runtime;
private Dictionary<string, string> _runtimeEnvironmentSecrets = new Dictionary<string, string>();
private Dictionary<string, string> _runtimeEnvironmentVariables = new Dictionary<string, string>();
private string _startCommand;
/// <summary>
/// Gets and sets the property BuildCommand.
/// <para>
/// The command App Runner runs to build your application.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string BuildCommand
{
get { return this._buildCommand; }
set { this._buildCommand = value; }
}
// Check to see if BuildCommand property is set
internal bool IsSetBuildCommand()
{
return this._buildCommand != null;
}
/// <summary>
/// Gets and sets the property Port.
/// <para>
/// The port that your application listens to in the container.
/// </para>
///
/// <para>
/// Default: <code>8080</code>
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string Port
{
get { return this._port; }
set { this._port = value; }
}
// Check to see if Port property is set
internal bool IsSetPort()
{
return this._port != null;
}
/// <summary>
/// Gets and sets the property Runtime.
/// <para>
/// A runtime environment type for building and running an App Runner service. It represents
/// a programming language runtime.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Runtime Runtime
{
get { return this._runtime; }
set { this._runtime = value; }
}
// Check to see if Runtime property is set
internal bool IsSetRuntime()
{
return this._runtime != null;
}
/// <summary>
/// Gets and sets the property RuntimeEnvironmentSecrets.
/// <para>
/// An array of key-value pairs representing the secrets and parameters that get referenced
/// to your service as an environment variable. The supported values are either the full
/// Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter
/// in the Amazon Web Services Systems Manager Parameter Store.
/// </para>
/// <note> <ul> <li>
/// <para>
/// If the Amazon Web Services Systems Manager Parameter Store parameter exists in the
/// same Amazon Web Services Region as the service that you're launching, you can use
/// either the full ARN or name of the secret. If the parameter exists in a different
/// Region, then the full ARN must be specified.
/// </para>
/// </li> <li>
/// <para>
/// Currently, cross account referencing of Amazon Web Services Systems Manager Parameter
/// Store parameter is not supported.
/// </para>
/// </li> </ul> </note>
/// </summary>
public Dictionary<string, string> RuntimeEnvironmentSecrets
{
get { return this._runtimeEnvironmentSecrets; }
set { this._runtimeEnvironmentSecrets = value; }
}
// Check to see if RuntimeEnvironmentSecrets property is set
internal bool IsSetRuntimeEnvironmentSecrets()
{
return this._runtimeEnvironmentSecrets != null && this._runtimeEnvironmentSecrets.Count > 0;
}
/// <summary>
/// Gets and sets the property RuntimeEnvironmentVariables.
/// <para>
/// The environment variables that are available to your running App Runner service. An
/// array of key-value pairs.
/// </para>
/// </summary>
public Dictionary<string, string> RuntimeEnvironmentVariables
{
get { return this._runtimeEnvironmentVariables; }
set { this._runtimeEnvironmentVariables = value; }
}
// Check to see if RuntimeEnvironmentVariables property is set
internal bool IsSetRuntimeEnvironmentVariables()
{
return this._runtimeEnvironmentVariables != null && this._runtimeEnvironmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property StartCommand.
/// <para>
/// The command App Runner runs to start your application.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StartCommand
{
get { return this._startCommand; }
set { this._startCommand = value; }
}
// Check to see if StartCommand property is set
internal bool IsSetStartCommand()
{
return this._startCommand != null;
}
}
} | 181 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes a source code repository.
/// </summary>
public partial class CodeRepository
{
private CodeConfiguration _codeConfiguration;
private string _repositoryUrl;
private SourceCodeVersion _sourceCodeVersion;
/// <summary>
/// Gets and sets the property CodeConfiguration.
/// <para>
/// Configuration for building and running the service from a source code repository.
/// </para>
/// <note>
/// <para>
/// <code>CodeConfiguration</code> is required only for <code>CreateService</code> request.
/// </para>
/// </note>
/// </summary>
public CodeConfiguration CodeConfiguration
{
get { return this._codeConfiguration; }
set { this._codeConfiguration = value; }
}
// Check to see if CodeConfiguration property is set
internal bool IsSetCodeConfiguration()
{
return this._codeConfiguration != null;
}
/// <summary>
/// Gets and sets the property RepositoryUrl.
/// <para>
/// The location of the repository that contains the source code.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=51200)]
public string RepositoryUrl
{
get { return this._repositoryUrl; }
set { this._repositoryUrl = value; }
}
// Check to see if RepositoryUrl property is set
internal bool IsSetRepositoryUrl()
{
return this._repositoryUrl != null;
}
/// <summary>
/// Gets and sets the property SourceCodeVersion.
/// <para>
/// The version that should be used within the source code repository.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SourceCodeVersion SourceCodeVersion
{
get { return this._sourceCodeVersion; }
set { this._sourceCodeVersion = value; }
}
// Check to see if SourceCodeVersion property is set
internal bool IsSetSourceCodeVersion()
{
return this._sourceCodeVersion != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes an App Runner connection resource.
/// </summary>
public partial class Connection
{
private string _connectionArn;
private string _connectionName;
private DateTime? _createdAt;
private ProviderType _providerType;
private ConnectionStatus _status;
/// <summary>
/// Gets and sets the property ConnectionArn.
/// <para>
/// The Amazon Resource Name (ARN) of this connection.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string ConnectionArn
{
get { return this._connectionArn; }
set { this._connectionArn = value; }
}
// Check to see if ConnectionArn property is set
internal bool IsSetConnectionArn()
{
return this._connectionArn != null;
}
/// <summary>
/// Gets and sets the property ConnectionName.
/// <para>
/// The customer-provided connection name.
/// </para>
/// </summary>
[AWSProperty(Min=4, Max=32)]
public string ConnectionName
{
get { return this._connectionName; }
set { this._connectionName = value; }
}
// Check to see if ConnectionName property is set
internal bool IsSetConnectionName()
{
return this._connectionName != null;
}
/// <summary>
/// Gets and sets the property CreatedAt.
/// <para>
/// The App Runner connection creation time, expressed as a Unix time stamp.
/// </para>
/// </summary>
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
/// <summary>
/// Gets and sets the property ProviderType.
/// <para>
/// The source repository provider.
/// </para>
/// </summary>
public ProviderType ProviderType
{
get { return this._providerType; }
set { this._providerType = value; }
}
// Check to see if ProviderType property is set
internal bool IsSetProviderType()
{
return this._providerType != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current state of the App Runner connection. When the state is <code>AVAILABLE</code>,
/// you can use the connection to create an App Runner service.
/// </para>
/// </summary>
public ConnectionStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 136 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Provides summary information about an App Runner connection resource.
/// </summary>
public partial class ConnectionSummary
{
private string _connectionArn;
private string _connectionName;
private DateTime? _createdAt;
private ProviderType _providerType;
private ConnectionStatus _status;
/// <summary>
/// Gets and sets the property ConnectionArn.
/// <para>
/// The Amazon Resource Name (ARN) of this connection.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string ConnectionArn
{
get { return this._connectionArn; }
set { this._connectionArn = value; }
}
// Check to see if ConnectionArn property is set
internal bool IsSetConnectionArn()
{
return this._connectionArn != null;
}
/// <summary>
/// Gets and sets the property ConnectionName.
/// <para>
/// The customer-provided connection name.
/// </para>
/// </summary>
[AWSProperty(Min=4, Max=32)]
public string ConnectionName
{
get { return this._connectionName; }
set { this._connectionName = value; }
}
// Check to see if ConnectionName property is set
internal bool IsSetConnectionName()
{
return this._connectionName != null;
}
/// <summary>
/// Gets and sets the property CreatedAt.
/// <para>
/// The App Runner connection creation time, expressed as a Unix time stamp.
/// </para>
/// </summary>
public DateTime CreatedAt
{
get { return this._createdAt.GetValueOrDefault(); }
set { this._createdAt = value; }
}
// Check to see if CreatedAt property is set
internal bool IsSetCreatedAt()
{
return this._createdAt.HasValue;
}
/// <summary>
/// Gets and sets the property ProviderType.
/// <para>
/// The source repository provider.
/// </para>
/// </summary>
public ProviderType ProviderType
{
get { return this._providerType; }
set { this._providerType = value; }
}
// Check to see if ProviderType property is set
internal bool IsSetProviderType()
{
return this._providerType != null;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current state of the App Runner connection. When the state is <code>AVAILABLE</code>,
/// you can use the connection to create an App Runner service.
/// </para>
/// </summary>
public ConnectionStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 136 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the CreateAutoScalingConfiguration operation.
/// Create an App Runner automatic scaling configuration resource. App Runner requires
/// this resource when you create or update App Runner services and you require non-default
/// auto scaling settings. You can share an auto scaling configuration across multiple
/// services.
///
///
/// <para>
/// Create multiple revisions of a configuration by calling this action multiple times
/// using the same <code>AutoScalingConfigurationName</code>. The call returns incremental
/// <code>AutoScalingConfigurationRevision</code> values. When you create a service and
/// configure an auto scaling configuration resource, the service uses the latest active
/// revision of the auto scaling configuration by default. You can optionally configure
/// the service to use a specific revision.
/// </para>
///
/// <para>
/// Configure a higher <code>MinSize</code> to increase the spread of your App Runner
/// service over more Availability Zones in the Amazon Web Services Region. The tradeoff
/// is a higher minimal cost.
/// </para>
///
/// <para>
/// Configure a lower <code>MaxSize</code> to control your cost. The tradeoff is lower
/// responsiveness during peak demand.
/// </para>
/// </summary>
public partial class CreateAutoScalingConfigurationRequest : AmazonAppRunnerRequest
{
private string _autoScalingConfigurationName;
private int? _maxConcurrency;
private int? _maxSize;
private int? _minSize;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property AutoScalingConfigurationName.
/// <para>
/// A name for the auto scaling configuration. When you use it for the first time in an
/// Amazon Web Services Region, App Runner creates revision number <code>1</code> of this
/// name. When you use the same name in subsequent calls, App Runner creates incremental
/// revisions of the configuration.
/// </para>
/// <note>
/// <para>
/// The name <code>DefaultConfiguration</code> is reserved (it's the configuration that
/// App Runner uses if you don't provide a custome one). You can't use it to create a
/// new auto scaling configuration, and you can't create a revision of it.
/// </para>
///
/// <para>
/// When you want to use your own auto scaling configuration for your App Runner service,
/// <i>create a configuration with a different name</i>, and then provide it when you
/// create or update your service.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true, Min=4, Max=32)]
public string AutoScalingConfigurationName
{
get { return this._autoScalingConfigurationName; }
set { this._autoScalingConfigurationName = value; }
}
// Check to see if AutoScalingConfigurationName property is set
internal bool IsSetAutoScalingConfigurationName()
{
return this._autoScalingConfigurationName != null;
}
/// <summary>
/// Gets and sets the property MaxConcurrency.
/// <para>
/// The maximum number of concurrent requests that you want an instance to process. If
/// the number of concurrent requests exceeds this limit, App Runner scales up your service.
/// </para>
///
/// <para>
/// Default: <code>100</code>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=200)]
public int MaxConcurrency
{
get { return this._maxConcurrency.GetValueOrDefault(); }
set { this._maxConcurrency = value; }
}
// Check to see if MaxConcurrency property is set
internal bool IsSetMaxConcurrency()
{
return this._maxConcurrency.HasValue;
}
/// <summary>
/// Gets and sets the property MaxSize.
/// <para>
/// The maximum number of instances that your service scales up to. At most <code>MaxSize</code>
/// instances actively serve traffic for your service.
/// </para>
///
/// <para>
/// Default: <code>25</code>
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public int MaxSize
{
get { return this._maxSize.GetValueOrDefault(); }
set { this._maxSize = value; }
}
// Check to see if MaxSize property is set
internal bool IsSetMaxSize()
{
return this._maxSize.HasValue;
}
/// <summary>
/// Gets and sets the property MinSize.
/// <para>
/// The minimum number of instances that App Runner provisions for your service. The service
/// always has at least <code>MinSize</code> provisioned instances. Some of them actively
/// serve traffic. The rest of them (provisioned and inactive instances) are a cost-effective
/// compute capacity reserve and are ready to be quickly activated. You pay for memory
/// usage of all the provisioned instances. You pay for CPU usage of only the active subset.
/// </para>
///
/// <para>
/// App Runner temporarily doubles the number of provisioned instances during deployments,
/// to maintain the same capacity for both old and new code.
/// </para>
///
/// <para>
/// Default: <code>1</code>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=25)]
public int MinSize
{
get { return this._minSize.GetValueOrDefault(); }
set { this._minSize = value; }
}
// Check to see if MinSize property is set
internal bool IsSetMinSize()
{
return this._minSize.HasValue;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A list of metadata items that you can associate with your auto scaling configuration
/// resource. A tag is a key-value pair.
/// </para>
/// </summary>
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 202 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the CreateAutoScalingConfiguration operation.
/// </summary>
public partial class CreateAutoScalingConfigurationResponse : AmazonWebServiceResponse
{
private AutoScalingConfiguration _autoScalingConfiguration;
/// <summary>
/// Gets and sets the property AutoScalingConfiguration.
/// <para>
/// A description of the App Runner auto scaling configuration that's created by this
/// request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AutoScalingConfiguration AutoScalingConfiguration
{
get { return this._autoScalingConfiguration; }
set { this._autoScalingConfiguration = value; }
}
// Check to see if AutoScalingConfiguration property is set
internal bool IsSetAutoScalingConfiguration()
{
return this._autoScalingConfiguration != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the CreateConnection operation.
/// Create an App Runner connection resource. App Runner requires a connection resource
/// when you create App Runner services that access private repositories from certain
/// third-party providers. You can share a connection across multiple services.
///
///
/// <para>
/// A connection resource is needed to access GitHub repositories. GitHub requires a user
/// interface approval process through the App Runner console before you can use the connection.
/// </para>
/// </summary>
public partial class CreateConnectionRequest : AmazonAppRunnerRequest
{
private string _connectionName;
private ProviderType _providerType;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property ConnectionName.
/// <para>
/// A name for the new connection. It must be unique across all App Runner connections
/// for the Amazon Web Services account in the Amazon Web Services Region.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=4, Max=32)]
public string ConnectionName
{
get { return this._connectionName; }
set { this._connectionName = value; }
}
// Check to see if ConnectionName property is set
internal bool IsSetConnectionName()
{
return this._connectionName != null;
}
/// <summary>
/// Gets and sets the property ProviderType.
/// <para>
/// The source repository provider.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ProviderType ProviderType
{
get { return this._providerType; }
set { this._providerType = value; }
}
// Check to see if ProviderType property is set
internal bool IsSetProviderType()
{
return this._providerType != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A list of metadata items that you can associate with your connection resource. A tag
/// is a key-value pair.
/// </para>
/// </summary>
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 108 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the CreateConnection operation.
/// </summary>
public partial class CreateConnectionResponse : AmazonWebServiceResponse
{
private Connection _connection;
/// <summary>
/// Gets and sets the property Connection.
/// <para>
/// A description of the App Runner connection that's created by this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Connection Connection
{
get { return this._connection; }
set { this._connection = value; }
}
// Check to see if Connection property is set
internal bool IsSetConnection()
{
return this._connection != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the CreateObservabilityConfiguration operation.
/// Create an App Runner observability configuration resource. App Runner requires this
/// resource when you create or update App Runner services and you want to enable non-default
/// observability features. You can share an observability configuration across multiple
/// services.
///
///
/// <para>
/// Create multiple revisions of a configuration by calling this action multiple times
/// using the same <code>ObservabilityConfigurationName</code>. The call returns incremental
/// <code>ObservabilityConfigurationRevision</code> values. When you create a service
/// and configure an observability configuration resource, the service uses the latest
/// active revision of the observability configuration by default. You can optionally
/// configure the service to use a specific revision.
/// </para>
///
/// <para>
/// The observability configuration resource is designed to configure multiple features
/// (currently one feature, tracing). This action takes optional parameters that describe
/// the configuration of these features (currently one parameter, <code>TraceConfiguration</code>).
/// If you don't specify a feature parameter, App Runner doesn't enable the feature.
/// </para>
/// </summary>
public partial class CreateObservabilityConfigurationRequest : AmazonAppRunnerRequest
{
private string _observabilityConfigurationName;
private List<Tag> _tags = new List<Tag>();
private TraceConfiguration _traceConfiguration;
/// <summary>
/// Gets and sets the property ObservabilityConfigurationName.
/// <para>
/// A name for the observability configuration. When you use it for the first time in
/// an Amazon Web Services Region, App Runner creates revision number <code>1</code> of
/// this name. When you use the same name in subsequent calls, App Runner creates incremental
/// revisions of the configuration.
/// </para>
/// <note>
/// <para>
/// The name <code>DefaultConfiguration</code> is reserved. You can't use it to create
/// a new observability configuration, and you can't create a revision of it.
/// </para>
///
/// <para>
/// When you want to use your own observability configuration for your App Runner service,
/// <i>create a configuration with a different name</i>, and then provide it when you
/// create or update your service.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true, Min=4, Max=32)]
public string ObservabilityConfigurationName
{
get { return this._observabilityConfigurationName; }
set { this._observabilityConfigurationName = value; }
}
// Check to see if ObservabilityConfigurationName property is set
internal bool IsSetObservabilityConfigurationName()
{
return this._observabilityConfigurationName != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A list of metadata items that you can associate with your observability configuration
/// resource. A tag is a key-value pair.
/// </para>
/// </summary>
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property TraceConfiguration.
/// <para>
/// The configuration of the tracing feature within this observability configuration.
/// If you don't specify it, App Runner doesn't enable tracing.
/// </para>
/// </summary>
public TraceConfiguration TraceConfiguration
{
get { return this._traceConfiguration; }
set { this._traceConfiguration = value; }
}
// Check to see if TraceConfiguration property is set
internal bool IsSetTraceConfiguration()
{
return this._traceConfiguration != null;
}
}
} | 134 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the CreateObservabilityConfiguration operation.
/// </summary>
public partial class CreateObservabilityConfigurationResponse : AmazonWebServiceResponse
{
private ObservabilityConfiguration _observabilityConfiguration;
/// <summary>
/// Gets and sets the property ObservabilityConfiguration.
/// <para>
/// A description of the App Runner observability configuration that's created by this
/// request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObservabilityConfiguration ObservabilityConfiguration
{
get { return this._observabilityConfiguration; }
set { this._observabilityConfiguration = value; }
}
// Check to see if ObservabilityConfiguration property is set
internal bool IsSetObservabilityConfiguration()
{
return this._observabilityConfiguration != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the CreateService operation.
/// Create an App Runner service. After the service is created, the action also automatically
/// starts a deployment.
///
///
/// <para>
/// This is an asynchronous operation. On a successful call, you can use the returned
/// <code>OperationId</code> and the <a href="https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html">ListOperations</a>
/// call to track the operation's progress.
/// </para>
/// </summary>
public partial class CreateServiceRequest : AmazonAppRunnerRequest
{
private string _autoScalingConfigurationArn;
private EncryptionConfiguration _encryptionConfiguration;
private HealthCheckConfiguration _healthCheckConfiguration;
private InstanceConfiguration _instanceConfiguration;
private NetworkConfiguration _networkConfiguration;
private ServiceObservabilityConfiguration _observabilityConfiguration;
private string _serviceName;
private SourceConfiguration _sourceConfiguration;
private List<Tag> _tags = new List<Tag>();
/// <summary>
/// Gets and sets the property AutoScalingConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of an App Runner automatic scaling configuration resource
/// that you want to associate with your service. If not provided, App Runner associates
/// the latest revision of a default auto scaling configuration.
/// </para>
///
/// <para>
/// Specify an ARN with a name and a revision number to associate that revision. For example:
/// <code>arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability/3</code>
///
/// </para>
///
/// <para>
/// Specify just the name to associate the latest revision. For example: <code>arn:aws:apprunner:us-east-1:123456789012:autoscalingconfiguration/high-availability</code>
///
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string AutoScalingConfigurationArn
{
get { return this._autoScalingConfigurationArn; }
set { this._autoScalingConfigurationArn = value; }
}
// Check to see if AutoScalingConfigurationArn property is set
internal bool IsSetAutoScalingConfigurationArn()
{
return this._autoScalingConfigurationArn != null;
}
/// <summary>
/// Gets and sets the property EncryptionConfiguration.
/// <para>
/// An optional custom encryption key that App Runner uses to encrypt the copy of your
/// source repository that it maintains and your service logs. By default, App Runner
/// uses an Amazon Web Services managed key.
/// </para>
/// </summary>
public EncryptionConfiguration EncryptionConfiguration
{
get { return this._encryptionConfiguration; }
set { this._encryptionConfiguration = value; }
}
// Check to see if EncryptionConfiguration property is set
internal bool IsSetEncryptionConfiguration()
{
return this._encryptionConfiguration != null;
}
/// <summary>
/// Gets and sets the property HealthCheckConfiguration.
/// <para>
/// The settings for the health check that App Runner performs to monitor the health of
/// the App Runner service.
/// </para>
/// </summary>
public HealthCheckConfiguration HealthCheckConfiguration
{
get { return this._healthCheckConfiguration; }
set { this._healthCheckConfiguration = value; }
}
// Check to see if HealthCheckConfiguration property is set
internal bool IsSetHealthCheckConfiguration()
{
return this._healthCheckConfiguration != null;
}
/// <summary>
/// Gets and sets the property InstanceConfiguration.
/// <para>
/// The runtime configuration of instances (scaling units) of your service.
/// </para>
/// </summary>
public InstanceConfiguration InstanceConfiguration
{
get { return this._instanceConfiguration; }
set { this._instanceConfiguration = value; }
}
// Check to see if InstanceConfiguration property is set
internal bool IsSetInstanceConfiguration()
{
return this._instanceConfiguration != null;
}
/// <summary>
/// Gets and sets the property NetworkConfiguration.
/// <para>
/// Configuration settings related to network traffic of the web application that the
/// App Runner service runs.
/// </para>
/// </summary>
public NetworkConfiguration NetworkConfiguration
{
get { return this._networkConfiguration; }
set { this._networkConfiguration = value; }
}
// Check to see if NetworkConfiguration property is set
internal bool IsSetNetworkConfiguration()
{
return this._networkConfiguration != null;
}
/// <summary>
/// Gets and sets the property ObservabilityConfiguration.
/// <para>
/// The observability configuration of your service.
/// </para>
/// </summary>
public ServiceObservabilityConfiguration ObservabilityConfiguration
{
get { return this._observabilityConfiguration; }
set { this._observabilityConfiguration = value; }
}
// Check to see if ObservabilityConfiguration property is set
internal bool IsSetObservabilityConfiguration()
{
return this._observabilityConfiguration != null;
}
/// <summary>
/// Gets and sets the property ServiceName.
/// <para>
/// A name for the App Runner service. It must be unique across all the running App Runner
/// services in your Amazon Web Services account in the Amazon Web Services Region.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=4, Max=40)]
public string ServiceName
{
get { return this._serviceName; }
set { this._serviceName = value; }
}
// Check to see if ServiceName property is set
internal bool IsSetServiceName()
{
return this._serviceName != null;
}
/// <summary>
/// Gets and sets the property SourceConfiguration.
/// <para>
/// The source to deploy to the App Runner service. It can be a code or an image repository.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public SourceConfiguration SourceConfiguration
{
get { return this._sourceConfiguration; }
set { this._sourceConfiguration = value; }
}
// Check to see if SourceConfiguration property is set
internal bool IsSetSourceConfiguration()
{
return this._sourceConfiguration != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// An optional list of metadata items that you can associate with the App Runner service
/// resource. A tag is a key-value pair.
/// </para>
/// </summary>
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
}
} | 240 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the CreateService operation.
/// </summary>
public partial class CreateServiceResponse : AmazonWebServiceResponse
{
private string _operationId;
private Service _service;
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique ID of the asynchronous operation that this request started. You can use
/// it combined with the <a href="https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html">ListOperations</a>
/// call to track the operation's progress.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=36, Max=36)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property Service.
/// <para>
/// A description of the App Runner service that's created by this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Service Service
{
get { return this._service; }
set { this._service = value; }
}
// Check to see if Service property is set
internal bool IsSetService()
{
return this._service != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the CreateVpcConnector operation.
/// Create an App Runner VPC connector resource. App Runner requires this resource when
/// you want to associate your App Runner service to a custom Amazon Virtual Private Cloud
/// (Amazon VPC).
/// </summary>
public partial class CreateVpcConnectorRequest : AmazonAppRunnerRequest
{
private List<string> _securityGroups = new List<string>();
private List<string> _subnets = new List<string>();
private List<Tag> _tags = new List<Tag>();
private string _vpcConnectorName;
/// <summary>
/// Gets and sets the property SecurityGroups.
/// <para>
/// A list of IDs of security groups that App Runner should use for access to Amazon Web
/// Services resources under the specified subnets. If not specified, App Runner uses
/// the default security group of the Amazon VPC. The default security group allows all
/// outbound traffic.
/// </para>
/// </summary>
public List<string> SecurityGroups
{
get { return this._securityGroups; }
set { this._securityGroups = value; }
}
// Check to see if SecurityGroups property is set
internal bool IsSetSecurityGroups()
{
return this._securityGroups != null && this._securityGroups.Count > 0;
}
/// <summary>
/// Gets and sets the property Subnets.
/// <para>
/// A list of IDs of subnets that App Runner should use when it associates your service
/// with a custom Amazon VPC. Specify IDs of subnets of a single Amazon VPC. App Runner
/// determines the Amazon VPC from the subnets you specify.
/// </para>
/// <note>
/// <para>
/// App Runner currently only provides support for IPv4.
/// </para>
/// </note>
/// </summary>
[AWSProperty(Required=true)]
public List<string> Subnets
{
get { return this._subnets; }
set { this._subnets = value; }
}
// Check to see if Subnets property is set
internal bool IsSetSubnets()
{
return this._subnets != null && this._subnets.Count > 0;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// A list of metadata items that you can associate with your VPC connector resource.
/// A tag is a key-value pair.
/// </para>
/// </summary>
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property VpcConnectorName.
/// <para>
/// A name for the VPC connector.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=4, Max=40)]
public string VpcConnectorName
{
get { return this._vpcConnectorName; }
set { this._vpcConnectorName = value; }
}
// Check to see if VpcConnectorName property is set
internal bool IsSetVpcConnectorName()
{
return this._vpcConnectorName != null;
}
}
} | 130 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the CreateVpcConnector operation.
/// </summary>
public partial class CreateVpcConnectorResponse : AmazonWebServiceResponse
{
private VpcConnector _vpcConnector;
/// <summary>
/// Gets and sets the property VpcConnector.
/// <para>
/// A description of the App Runner VPC connector that's created by this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VpcConnector VpcConnector
{
get { return this._vpcConnector; }
set { this._vpcConnector = value; }
}
// Check to see if VpcConnector property is set
internal bool IsSetVpcConnector()
{
return this._vpcConnector != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the CreateVpcIngressConnection operation.
/// Create an App Runner VPC Ingress Connection resource. App Runner requires this resource
/// when you want to associate your App Runner service with an Amazon VPC endpoint.
/// </summary>
public partial class CreateVpcIngressConnectionRequest : AmazonAppRunnerRequest
{
private IngressVpcConfiguration _ingressVpcConfiguration;
private string _serviceArn;
private List<Tag> _tags = new List<Tag>();
private string _vpcIngressConnectionName;
/// <summary>
/// Gets and sets the property IngressVpcConfiguration.
/// <para>
/// Specifications for the customer’s Amazon VPC and the related Amazon Web Services PrivateLink
/// VPC endpoint that are used to create the VPC Ingress Connection resource.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public IngressVpcConfiguration IngressVpcConfiguration
{
get { return this._ingressVpcConfiguration; }
set { this._ingressVpcConfiguration = value; }
}
// Check to see if IngressVpcConfiguration property is set
internal bool IsSetIngressVpcConfiguration()
{
return this._ingressVpcConfiguration != null;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) for this App Runner service that is used to create
/// the VPC Ingress Connection resource.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
/// <summary>
/// Gets and sets the property Tags.
/// <para>
/// An optional list of metadata items that you can associate with the VPC Ingress Connection
/// resource. A tag is a key-value pair.
/// </para>
/// </summary>
public List<Tag> Tags
{
get { return this._tags; }
set { this._tags = value; }
}
// Check to see if Tags property is set
internal bool IsSetTags()
{
return this._tags != null && this._tags.Count > 0;
}
/// <summary>
/// Gets and sets the property VpcIngressConnectionName.
/// <para>
/// A name for the VPC Ingress Connection resource. It must be unique across all the active
/// VPC Ingress Connections in your Amazon Web Services account in the Amazon Web Services
/// Region.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=4, Max=40)]
public string VpcIngressConnectionName
{
get { return this._vpcIngressConnectionName; }
set { this._vpcIngressConnectionName = value; }
}
// Check to see if VpcIngressConnectionName property is set
internal bool IsSetVpcIngressConnectionName()
{
return this._vpcIngressConnectionName != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the CreateVpcIngressConnection operation.
/// </summary>
public partial class CreateVpcIngressConnectionResponse : AmazonWebServiceResponse
{
private VpcIngressConnection _vpcIngressConnection;
/// <summary>
/// Gets and sets the property VpcIngressConnection.
/// <para>
/// A description of the App Runner VPC Ingress Connection resource that's created by
/// this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VpcIngressConnection VpcIngressConnection
{
get { return this._vpcIngressConnection; }
set { this._vpcIngressConnection = value; }
}
// Check to see if VpcIngressConnection property is set
internal bool IsSetVpcIngressConnection()
{
return this._vpcIngressConnection != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes a custom domain that's associated with an App Runner service.
/// </summary>
public partial class CustomDomain
{
private List<CertificateValidationRecord> _certificateValidationRecords = new List<CertificateValidationRecord>();
private string _domainName;
private bool? _enableWWWSubdomain;
private CustomDomainAssociationStatus _status;
/// <summary>
/// Gets and sets the property CertificateValidationRecords.
/// <para>
/// A list of certificate CNAME records that's used for this domain name.
/// </para>
/// </summary>
public List<CertificateValidationRecord> CertificateValidationRecords
{
get { return this._certificateValidationRecords; }
set { this._certificateValidationRecords = value; }
}
// Check to see if CertificateValidationRecords property is set
internal bool IsSetCertificateValidationRecords()
{
return this._certificateValidationRecords != null && this._certificateValidationRecords.Count > 0;
}
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// An associated custom domain endpoint. It can be a root domain (for example, <code>example.com</code>),
/// a subdomain (for example, <code>login.example.com</code> or <code>admin.login.example.com</code>),
/// or a wildcard (for example, <code>*.example.com</code>).
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property EnableWWWSubdomain.
/// <para>
/// When <code>true</code>, the subdomain <code>www.<i>DomainName</i> </code> is associated
/// with the App Runner service in addition to the base domain.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public bool EnableWWWSubdomain
{
get { return this._enableWWWSubdomain.GetValueOrDefault(); }
set { this._enableWWWSubdomain = value; }
}
// Check to see if EnableWWWSubdomain property is set
internal bool IsSetEnableWWWSubdomain()
{
return this._enableWWWSubdomain.HasValue;
}
/// <summary>
/// Gets and sets the property Status.
/// <para>
/// The current state of the domain name association.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CustomDomainAssociationStatus Status
{
get { return this._status; }
set { this._status = value; }
}
// Check to see if Status property is set
internal bool IsSetStatus()
{
return this._status != null;
}
}
} | 120 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DeleteAutoScalingConfiguration operation.
/// Delete an App Runner automatic scaling configuration resource. You can delete a specific
/// revision or the latest active revision. You can't delete a configuration that's used
/// by one or more App Runner services.
/// </summary>
public partial class DeleteAutoScalingConfigurationRequest : AmazonAppRunnerRequest
{
private string _autoScalingConfigurationArn;
/// <summary>
/// Gets and sets the property AutoScalingConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you
/// want to delete.
/// </para>
///
/// <para>
/// The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with
/// either <code>.../<i>name</i> </code> or <code>.../<i>name</i>/<i>revision</i> </code>.
/// If a revision isn't specified, the latest active revision is deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string AutoScalingConfigurationArn
{
get { return this._autoScalingConfigurationArn; }
set { this._autoScalingConfigurationArn = value; }
}
// Check to see if AutoScalingConfigurationArn property is set
internal bool IsSetAutoScalingConfigurationArn()
{
return this._autoScalingConfigurationArn != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DeleteAutoScalingConfiguration operation.
/// </summary>
public partial class DeleteAutoScalingConfigurationResponse : AmazonWebServiceResponse
{
private AutoScalingConfiguration _autoScalingConfiguration;
/// <summary>
/// Gets and sets the property AutoScalingConfiguration.
/// <para>
/// A description of the App Runner auto scaling configuration that this request just
/// deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AutoScalingConfiguration AutoScalingConfiguration
{
get { return this._autoScalingConfiguration; }
set { this._autoScalingConfiguration = value; }
}
// Check to see if AutoScalingConfiguration property is set
internal bool IsSetAutoScalingConfiguration()
{
return this._autoScalingConfiguration != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DeleteConnection operation.
/// Delete an App Runner connection. You must first ensure that there are no running App
/// Runner services that use this connection. If there are any, the <code>DeleteConnection</code>
/// action fails.
/// </summary>
public partial class DeleteConnectionRequest : AmazonAppRunnerRequest
{
private string _connectionArn;
/// <summary>
/// Gets and sets the property ConnectionArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner connection that you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ConnectionArn
{
get { return this._connectionArn; }
set { this._connectionArn = value; }
}
// Check to see if ConnectionArn property is set
internal bool IsSetConnectionArn()
{
return this._connectionArn != null;
}
}
} | 61 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DeleteConnection operation.
/// </summary>
public partial class DeleteConnectionResponse : AmazonWebServiceResponse
{
private Connection _connection;
/// <summary>
/// Gets and sets the property Connection.
/// <para>
/// A description of the App Runner connection that this request just deleted.
/// </para>
/// </summary>
public Connection Connection
{
get { return this._connection; }
set { this._connection = value; }
}
// Check to see if Connection property is set
internal bool IsSetConnection()
{
return this._connection != null;
}
}
} | 57 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DeleteObservabilityConfiguration operation.
/// Delete an App Runner observability configuration resource. You can delete a specific
/// revision or the latest active revision. You can't delete a configuration that's used
/// by one or more App Runner services.
/// </summary>
public partial class DeleteObservabilityConfigurationRequest : AmazonAppRunnerRequest
{
private string _observabilityConfigurationArn;
/// <summary>
/// Gets and sets the property ObservabilityConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner observability configuration that
/// you want to delete.
/// </para>
///
/// <para>
/// The ARN can be a full observability configuration ARN, or a partial ARN ending with
/// either <code>.../<i>name</i> </code> or <code>.../<i>name</i>/<i>revision</i> </code>.
/// If a revision isn't specified, the latest active revision is deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ObservabilityConfigurationArn
{
get { return this._observabilityConfigurationArn; }
set { this._observabilityConfigurationArn = value; }
}
// Check to see if ObservabilityConfigurationArn property is set
internal bool IsSetObservabilityConfigurationArn()
{
return this._observabilityConfigurationArn != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DeleteObservabilityConfiguration operation.
/// </summary>
public partial class DeleteObservabilityConfigurationResponse : AmazonWebServiceResponse
{
private ObservabilityConfiguration _observabilityConfiguration;
/// <summary>
/// Gets and sets the property ObservabilityConfiguration.
/// <para>
/// A description of the App Runner observability configuration that this request just
/// deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObservabilityConfiguration ObservabilityConfiguration
{
get { return this._observabilityConfiguration; }
set { this._observabilityConfiguration = value; }
}
// Check to see if ObservabilityConfiguration property is set
internal bool IsSetObservabilityConfiguration()
{
return this._observabilityConfiguration != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DeleteService operation.
/// Delete an App Runner service.
///
///
/// <para>
/// This is an asynchronous operation. On a successful call, you can use the returned
/// <code>OperationId</code> and the <a>ListOperations</a> call to track the operation's
/// progress.
/// </para>
/// <note>
/// <para>
/// Make sure that you don't have any active VPCIngressConnections associated with the
/// service you want to delete.
/// </para>
/// </note>
/// </summary>
public partial class DeleteServiceRequest : AmazonAppRunnerRequest
{
private string _serviceArn;
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service that you want to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
}
} | 72 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DeleteService operation.
/// </summary>
public partial class DeleteServiceResponse : AmazonWebServiceResponse
{
private string _operationId;
private Service _service;
/// <summary>
/// Gets and sets the property OperationId.
/// <para>
/// The unique ID of the asynchronous operation that this request started. You can use
/// it combined with the <a>ListOperations</a> call to track the operation's progress.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=36, Max=36)]
public string OperationId
{
get { return this._operationId; }
set { this._operationId = value; }
}
// Check to see if OperationId property is set
internal bool IsSetOperationId()
{
return this._operationId != null;
}
/// <summary>
/// Gets and sets the property Service.
/// <para>
/// A description of the App Runner service that this request just deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Service Service
{
get { return this._service; }
set { this._service = value; }
}
// Check to see if Service property is set
internal bool IsSetService()
{
return this._service != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DeleteVpcConnector operation.
/// Delete an App Runner VPC connector resource. You can't delete a connector that's used
/// by one or more App Runner services.
/// </summary>
public partial class DeleteVpcConnectorRequest : AmazonAppRunnerRequest
{
private string _vpcConnectorArn;
/// <summary>
/// Gets and sets the property VpcConnectorArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to delete.
/// </para>
///
/// <para>
/// The ARN must be a full VPC connector ARN.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string VpcConnectorArn
{
get { return this._vpcConnectorArn; }
set { this._vpcConnectorArn = value; }
}
// Check to see if VpcConnectorArn property is set
internal bool IsSetVpcConnectorArn()
{
return this._vpcConnectorArn != null;
}
}
} | 64 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DeleteVpcConnector operation.
/// </summary>
public partial class DeleteVpcConnectorResponse : AmazonWebServiceResponse
{
private VpcConnector _vpcConnector;
/// <summary>
/// Gets and sets the property VpcConnector.
/// <para>
/// A description of the App Runner VPC connector that this request just deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VpcConnector VpcConnector
{
get { return this._vpcConnector; }
set { this._vpcConnector = value; }
}
// Check to see if VpcConnector property is set
internal bool IsSetVpcConnector()
{
return this._vpcConnector != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DeleteVpcIngressConnection operation.
/// Delete an App Runner VPC Ingress Connection resource that's associated with an App
/// Runner service. The VPC Ingress Connection must be in one of the following states
/// to be deleted:
///
/// <ul> <li>
/// <para>
/// <code>AVAILABLE</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>FAILED_CREATION</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>FAILED_UPDATE</code>
/// </para>
/// </li> <li>
/// <para>
/// <code>FAILED_DELETION</code>
/// </para>
/// </li> </ul>
/// </summary>
public partial class DeleteVpcIngressConnectionRequest : AmazonAppRunnerRequest
{
private string _vpcIngressConnectionArn;
/// <summary>
/// Gets and sets the property VpcIngressConnectionArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want
/// to delete.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string VpcIngressConnectionArn
{
get { return this._vpcIngressConnectionArn; }
set { this._vpcIngressConnectionArn = value; }
}
// Check to see if VpcIngressConnectionArn property is set
internal bool IsSetVpcIngressConnectionArn()
{
return this._vpcIngressConnectionArn != null;
}
}
} | 80 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DeleteVpcIngressConnection operation.
/// </summary>
public partial class DeleteVpcIngressConnectionResponse : AmazonWebServiceResponse
{
private VpcIngressConnection _vpcIngressConnection;
/// <summary>
/// Gets and sets the property VpcIngressConnection.
/// <para>
/// A description of the App Runner VPC Ingress Connection that this request just deleted.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VpcIngressConnection VpcIngressConnection
{
get { return this._vpcIngressConnection; }
set { this._vpcIngressConnection = value; }
}
// Check to see if VpcIngressConnection property is set
internal bool IsSetVpcIngressConnection()
{
return this._vpcIngressConnection != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DescribeAutoScalingConfiguration operation.
/// Return a full description of an App Runner automatic scaling configuration resource.
/// </summary>
public partial class DescribeAutoScalingConfigurationRequest : AmazonAppRunnerRequest
{
private string _autoScalingConfigurationArn;
/// <summary>
/// Gets and sets the property AutoScalingConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner auto scaling configuration that you
/// want a description for.
/// </para>
///
/// <para>
/// The ARN can be a full auto scaling configuration ARN, or a partial ARN ending with
/// either <code>.../<i>name</i> </code> or <code>.../<i>name</i>/<i>revision</i> </code>.
/// If a revision isn't specified, the latest active revision is described.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string AutoScalingConfigurationArn
{
get { return this._autoScalingConfigurationArn; }
set { this._autoScalingConfigurationArn = value; }
}
// Check to see if AutoScalingConfigurationArn property is set
internal bool IsSetAutoScalingConfigurationArn()
{
return this._autoScalingConfigurationArn != null;
}
}
} | 66 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DescribeAutoScalingConfiguration operation.
/// </summary>
public partial class DescribeAutoScalingConfigurationResponse : AmazonWebServiceResponse
{
private AutoScalingConfiguration _autoScalingConfiguration;
/// <summary>
/// Gets and sets the property AutoScalingConfiguration.
/// <para>
/// A full description of the App Runner auto scaling configuration that you specified
/// in this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public AutoScalingConfiguration AutoScalingConfiguration
{
get { return this._autoScalingConfiguration; }
set { this._autoScalingConfiguration = value; }
}
// Check to see if AutoScalingConfiguration property is set
internal bool IsSetAutoScalingConfiguration()
{
return this._autoScalingConfiguration != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DescribeCustomDomains operation.
/// Return a description of custom domain names that are associated with an App Runner
/// service.
/// </summary>
public partial class DescribeCustomDomainsRequest : AmazonAppRunnerRequest
{
private int? _maxResults;
private string _nextToken;
private string _serviceArn;
/// <summary>
/// Gets and sets the property MaxResults.
/// <para>
/// The maximum number of results that each response (result page) can include. It's used
/// for a paginated request.
/// </para>
///
/// <para>
/// If you don't specify <code>MaxResults</code>, the request retrieves all available
/// results in a single response.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=5)]
public int MaxResults
{
get { return this._maxResults.GetValueOrDefault(); }
set { this._maxResults = value; }
}
// Check to see if MaxResults property is set
internal bool IsSetMaxResults()
{
return this._maxResults.HasValue;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// A token from a previous result page. It's used for a paginated request. The request
/// retrieves the next result page. All other parameter values must be identical to the
/// ones that are specified in the initial request.
/// </para>
///
/// <para>
/// If you don't specify <code>NextToken</code>, the request retrieves the first result
/// page.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service that you want associated
/// custom domain names to be described for.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
}
} | 114 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DescribeCustomDomains operation.
/// </summary>
public partial class DescribeCustomDomainsResponse : AmazonWebServiceResponse
{
private List<CustomDomain> _customDomains = new List<CustomDomain>();
private string _dnsTarget;
private string _nextToken;
private string _serviceArn;
private List<VpcDNSTarget> _vpcDNSTargets = new List<VpcDNSTarget>();
/// <summary>
/// Gets and sets the property CustomDomains.
/// <para>
/// A list of descriptions of custom domain names that are associated with the service.
/// In a paginated request, the request returns up to <code>MaxResults</code> records
/// per call.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<CustomDomain> CustomDomains
{
get { return this._customDomains; }
set { this._customDomains = value; }
}
// Check to see if CustomDomains property is set
internal bool IsSetCustomDomains()
{
return this._customDomains != null && this._customDomains.Count > 0;
}
/// <summary>
/// Gets and sets the property DNSTarget.
/// <para>
/// The App Runner subdomain of the App Runner service. The associated custom domain names
/// are mapped to this target name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=51200)]
public string DNSTarget
{
get { return this._dnsTarget; }
set { this._dnsTarget = value; }
}
// Check to see if DNSTarget property is set
internal bool IsSetDNSTarget()
{
return this._dnsTarget != null;
}
/// <summary>
/// Gets and sets the property NextToken.
/// <para>
/// The token that you can pass in a subsequent request to get the next result page. It's
/// returned in a paginated request.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string NextToken
{
get { return this._nextToken; }
set { this._nextToken = value; }
}
// Check to see if NextToken property is set
internal bool IsSetNextToken()
{
return this._nextToken != null;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service whose associated custom domain
/// names you want to describe.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
/// <summary>
/// Gets and sets the property VpcDNSTargets.
/// <para>
/// DNS Target records for the custom domains of this Amazon VPC.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<VpcDNSTarget> VpcDNSTargets
{
get { return this._vpcDNSTargets; }
set { this._vpcDNSTargets = value; }
}
// Check to see if VpcDNSTargets property is set
internal bool IsSetVpcDNSTargets()
{
return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0;
}
}
} | 143 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DescribeObservabilityConfiguration operation.
/// Return a full description of an App Runner observability configuration resource.
/// </summary>
public partial class DescribeObservabilityConfigurationRequest : AmazonAppRunnerRequest
{
private string _observabilityConfigurationArn;
/// <summary>
/// Gets and sets the property ObservabilityConfigurationArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner observability configuration that
/// you want a description for.
/// </para>
///
/// <para>
/// The ARN can be a full observability configuration ARN, or a partial ARN ending with
/// either <code>.../<i>name</i> </code> or <code>.../<i>name</i>/<i>revision</i> </code>.
/// If a revision isn't specified, the latest active revision is described.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ObservabilityConfigurationArn
{
get { return this._observabilityConfigurationArn; }
set { this._observabilityConfigurationArn = value; }
}
// Check to see if ObservabilityConfigurationArn property is set
internal bool IsSetObservabilityConfigurationArn()
{
return this._observabilityConfigurationArn != null;
}
}
} | 66 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DescribeObservabilityConfiguration operation.
/// </summary>
public partial class DescribeObservabilityConfigurationResponse : AmazonWebServiceResponse
{
private ObservabilityConfiguration _observabilityConfiguration;
/// <summary>
/// Gets and sets the property ObservabilityConfiguration.
/// <para>
/// A full description of the App Runner observability configuration that you specified
/// in this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ObservabilityConfiguration ObservabilityConfiguration
{
get { return this._observabilityConfiguration; }
set { this._observabilityConfiguration = value; }
}
// Check to see if ObservabilityConfiguration property is set
internal bool IsSetObservabilityConfiguration()
{
return this._observabilityConfiguration != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DescribeService operation.
/// Return a full description of an App Runner service.
/// </summary>
public partial class DescribeServiceRequest : AmazonAppRunnerRequest
{
private string _serviceArn;
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service that you want a description
/// for.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DescribeService operation.
/// </summary>
public partial class DescribeServiceResponse : AmazonWebServiceResponse
{
private Service _service;
/// <summary>
/// Gets and sets the property Service.
/// <para>
/// A full description of the App Runner service that you specified in this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public Service Service
{
get { return this._service; }
set { this._service = value; }
}
// Check to see if Service property is set
internal bool IsSetService()
{
return this._service != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DescribeVpcConnector operation.
/// Return a description of an App Runner VPC connector resource.
/// </summary>
public partial class DescribeVpcConnectorRequest : AmazonAppRunnerRequest
{
private string _vpcConnectorArn;
/// <summary>
/// Gets and sets the property VpcConnectorArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner VPC connector that you want a description
/// for.
/// </para>
///
/// <para>
/// The ARN must be a full VPC connector ARN.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string VpcConnectorArn
{
get { return this._vpcConnectorArn; }
set { this._vpcConnectorArn = value; }
}
// Check to see if VpcConnectorArn property is set
internal bool IsSetVpcConnectorArn()
{
return this._vpcConnectorArn != null;
}
}
} | 64 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DescribeVpcConnector operation.
/// </summary>
public partial class DescribeVpcConnectorResponse : AmazonWebServiceResponse
{
private VpcConnector _vpcConnector;
/// <summary>
/// Gets and sets the property VpcConnector.
/// <para>
/// A description of the App Runner VPC connector that you specified in this request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VpcConnector VpcConnector
{
get { return this._vpcConnector; }
set { this._vpcConnector = value; }
}
// Check to see if VpcConnector property is set
internal bool IsSetVpcConnector()
{
return this._vpcConnector != 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DescribeVpcIngressConnection operation.
/// Return a full description of an App Runner VPC Ingress Connection resource.
/// </summary>
public partial class DescribeVpcIngressConnectionRequest : AmazonAppRunnerRequest
{
private string _vpcIngressConnectionArn;
/// <summary>
/// Gets and sets the property VpcIngressConnectionArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner VPC Ingress Connection that you want
/// a description for.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string VpcIngressConnectionArn
{
get { return this._vpcIngressConnectionArn; }
set { this._vpcIngressConnectionArn = value; }
}
// Check to see if VpcIngressConnectionArn property is set
internal bool IsSetVpcIngressConnectionArn()
{
return this._vpcIngressConnectionArn != null;
}
}
} | 60 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DescribeVpcIngressConnection operation.
/// </summary>
public partial class DescribeVpcIngressConnectionResponse : AmazonWebServiceResponse
{
private VpcIngressConnection _vpcIngressConnection;
/// <summary>
/// Gets and sets the property VpcIngressConnection.
/// <para>
/// A description of the App Runner VPC Ingress Connection that you specified in this
/// request.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public VpcIngressConnection VpcIngressConnection
{
get { return this._vpcIngressConnection; }
set { this._vpcIngressConnection = value; }
}
// Check to see if VpcIngressConnection property is set
internal bool IsSetVpcIngressConnection()
{
return this._vpcIngressConnection != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Container for the parameters to the DisassociateCustomDomain operation.
/// Disassociate a custom domain name from an App Runner service.
///
///
/// <para>
/// Certificates tracking domain validity are associated with a custom domain and are
/// stored in <a href="https://docs.aws.amazon.com/acm/latest/userguide">AWS Certificate
/// Manager (ACM)</a>. These certificates aren't deleted as part of this action. App Runner
/// delays certificate deletion for 30 days after a domain is disassociated from your
/// service.
/// </para>
/// </summary>
public partial class DisassociateCustomDomainRequest : AmazonAppRunnerRequest
{
private string _domainName;
private string _serviceArn;
/// <summary>
/// Gets and sets the property DomainName.
/// <para>
/// The domain name that you want to disassociate from the App Runner service.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=255)]
public string DomainName
{
get { return this._domainName; }
set { this._domainName = value; }
}
// Check to see if DomainName property is set
internal bool IsSetDomainName()
{
return this._domainName != null;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service that you want to disassociate
/// a custom domain name from.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
}
} | 89 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// This is the response object from the DisassociateCustomDomain operation.
/// </summary>
public partial class DisassociateCustomDomainResponse : AmazonWebServiceResponse
{
private CustomDomain _customDomain;
private string _dnsTarget;
private string _serviceArn;
private List<VpcDNSTarget> _vpcDNSTargets = new List<VpcDNSTarget>();
/// <summary>
/// Gets and sets the property CustomDomain.
/// <para>
/// A description of the domain name that's being disassociated.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public CustomDomain CustomDomain
{
get { return this._customDomain; }
set { this._customDomain = value; }
}
// Check to see if CustomDomain property is set
internal bool IsSetCustomDomain()
{
return this._customDomain != null;
}
/// <summary>
/// Gets and sets the property DNSTarget.
/// <para>
/// The App Runner subdomain of the App Runner service. The disassociated custom domain
/// name was mapped to this target name.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=51200)]
public string DNSTarget
{
get { return this._dnsTarget; }
set { this._dnsTarget = value; }
}
// Check to see if DNSTarget property is set
internal bool IsSetDNSTarget()
{
return this._dnsTarget != null;
}
/// <summary>
/// Gets and sets the property ServiceArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner service that a custom domain name
/// is disassociated from.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1011)]
public string ServiceArn
{
get { return this._serviceArn; }
set { this._serviceArn = value; }
}
// Check to see if ServiceArn property is set
internal bool IsSetServiceArn()
{
return this._serviceArn != null;
}
/// <summary>
/// Gets and sets the property VpcDNSTargets.
/// <para>
/// DNS Target records for the custom domains of this Amazon VPC.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public List<VpcDNSTarget> VpcDNSTargets
{
get { return this._vpcDNSTargets; }
set { this._vpcDNSTargets = value; }
}
// Check to see if VpcDNSTargets property is set
internal bool IsSetVpcDNSTargets()
{
return this._vpcDNSTargets != null && this._vpcDNSTargets.Count > 0;
}
}
} | 120 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes configuration settings related to outbound network traffic of an App Runner
/// service.
/// </summary>
public partial class EgressConfiguration
{
private EgressType _egressType;
private string _vpcConnectorArn;
/// <summary>
/// Gets and sets the property EgressType.
/// <para>
/// The type of egress configuration.
/// </para>
///
/// <para>
/// Set to <code>DEFAULT</code> for access to resources hosted on public networks.
/// </para>
///
/// <para>
/// Set to <code>VPC</code> to associate your service to a custom VPC specified by <code>VpcConnectorArn</code>.
/// </para>
/// </summary>
public EgressType EgressType
{
get { return this._egressType; }
set { this._egressType = value; }
}
// Check to see if EgressType property is set
internal bool IsSetEgressType()
{
return this._egressType != null;
}
/// <summary>
/// Gets and sets the property VpcConnectorArn.
/// <para>
/// The Amazon Resource Name (ARN) of the App Runner VPC connector that you want to associate
/// with your App Runner service. Only valid when <code>EgressType = VPC</code>.
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=1011)]
public string VpcConnectorArn
{
get { return this._vpcConnectorArn; }
set { this._vpcConnectorArn = value; }
}
// Check to see if VpcConnectorArn property is set
internal bool IsSetVpcConnectorArn()
{
return this._vpcConnectorArn != null;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes a custom encryption key that App Runner uses to encrypt copies of the source
/// repository and service logs.
/// </summary>
public partial class EncryptionConfiguration
{
private string _kmsKey;
/// <summary>
/// Gets and sets the property KmsKey.
/// <para>
/// The ARN of the KMS key that's used for encryption.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=0, Max=256)]
public string KmsKey
{
get { return this._kmsKey; }
set { this._kmsKey = value; }
}
// Check to see if KmsKey property is set
internal bool IsSetKmsKey()
{
return this._kmsKey != null;
}
}
} | 59 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes the settings for the health check that App Runner performs to monitor the
/// health of a service.
/// </summary>
public partial class HealthCheckConfiguration
{
private int? _healthyThreshold;
private int? _interval;
private string _path;
private HealthCheckProtocol _protocol;
private int? _timeout;
private int? _unhealthyThreshold;
/// <summary>
/// Gets and sets the property HealthyThreshold.
/// <para>
/// The number of consecutive checks that must succeed before App Runner decides that
/// the service is healthy.
/// </para>
///
/// <para>
/// Default: <code>1</code>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=20)]
public int HealthyThreshold
{
get { return this._healthyThreshold.GetValueOrDefault(); }
set { this._healthyThreshold = value; }
}
// Check to see if HealthyThreshold property is set
internal bool IsSetHealthyThreshold()
{
return this._healthyThreshold.HasValue;
}
/// <summary>
/// Gets and sets the property Interval.
/// <para>
/// The time interval, in seconds, between health checks.
/// </para>
///
/// <para>
/// Default: <code>5</code>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=20)]
public int Interval
{
get { return this._interval.GetValueOrDefault(); }
set { this._interval = value; }
}
// Check to see if Interval property is set
internal bool IsSetInterval()
{
return this._interval.HasValue;
}
/// <summary>
/// Gets and sets the property Path.
/// <para>
/// The URL that health check requests are sent to.
/// </para>
///
/// <para>
/// <code>Path</code> is only applicable when you set <code>Protocol</code> to <code>HTTP</code>.
/// </para>
///
/// <para>
/// Default: <code>"/"</code>
/// </para>
/// </summary>
[AWSProperty(Min=1)]
public string Path
{
get { return this._path; }
set { this._path = value; }
}
// Check to see if Path property is set
internal bool IsSetPath()
{
return this._path != null;
}
/// <summary>
/// Gets and sets the property Protocol.
/// <para>
/// The IP protocol that App Runner uses to perform health checks for your service.
/// </para>
///
/// <para>
/// If you set <code>Protocol</code> to <code>HTTP</code>, App Runner sends health check
/// requests to the HTTP path specified by <code>Path</code>.
/// </para>
///
/// <para>
/// Default: <code>TCP</code>
/// </para>
/// </summary>
public HealthCheckProtocol Protocol
{
get { return this._protocol; }
set { this._protocol = value; }
}
// Check to see if Protocol property is set
internal bool IsSetProtocol()
{
return this._protocol != null;
}
/// <summary>
/// Gets and sets the property Timeout.
/// <para>
/// The time, in seconds, to wait for a health check response before deciding it failed.
/// </para>
///
/// <para>
/// Default: <code>2</code>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=20)]
public int Timeout
{
get { return this._timeout.GetValueOrDefault(); }
set { this._timeout = value; }
}
// Check to see if Timeout property is set
internal bool IsSetTimeout()
{
return this._timeout.HasValue;
}
/// <summary>
/// Gets and sets the property UnhealthyThreshold.
/// <para>
/// The number of consecutive checks that must fail before App Runner decides that the
/// service is unhealthy.
/// </para>
///
/// <para>
/// Default: <code>5</code>
/// </para>
/// </summary>
[AWSProperty(Min=1, Max=20)]
public int UnhealthyThreshold
{
get { return this._unhealthyThreshold.GetValueOrDefault(); }
set { this._unhealthyThreshold = value; }
}
// Check to see if UnhealthyThreshold property is set
internal bool IsSetUnhealthyThreshold()
{
return this._unhealthyThreshold.HasValue;
}
}
} | 193 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes the configuration that App Runner uses to run an App Runner service using
/// an image pulled from a source image repository.
/// </summary>
public partial class ImageConfiguration
{
private string _port;
private Dictionary<string, string> _runtimeEnvironmentSecrets = new Dictionary<string, string>();
private Dictionary<string, string> _runtimeEnvironmentVariables = new Dictionary<string, string>();
private string _startCommand;
/// <summary>
/// Gets and sets the property Port.
/// <para>
/// The port that your application listens to in the container.
/// </para>
///
/// <para>
/// Default: <code>8080</code>
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string Port
{
get { return this._port; }
set { this._port = value; }
}
// Check to see if Port property is set
internal bool IsSetPort()
{
return this._port != null;
}
/// <summary>
/// Gets and sets the property RuntimeEnvironmentSecrets.
/// <para>
/// An array of key-value pairs representing the secrets and parameters that get referenced
/// to your service as an environment variable. The supported values are either the full
/// Amazon Resource Name (ARN) of the Secrets Manager secret or the full ARN of the parameter
/// in the Amazon Web Services Systems Manager Parameter Store.
/// </para>
/// <note> <ul> <li>
/// <para>
/// If the Amazon Web Services Systems Manager Parameter Store parameter exists in the
/// same Amazon Web Services Region as the service that you're launching, you can use
/// either the full ARN or name of the secret. If the parameter exists in a different
/// Region, then the full ARN must be specified.
/// </para>
/// </li> <li>
/// <para>
/// Currently, cross account referencing of Amazon Web Services Systems Manager Parameter
/// Store parameter is not supported.
/// </para>
/// </li> </ul> </note>
/// </summary>
public Dictionary<string, string> RuntimeEnvironmentSecrets
{
get { return this._runtimeEnvironmentSecrets; }
set { this._runtimeEnvironmentSecrets = value; }
}
// Check to see if RuntimeEnvironmentSecrets property is set
internal bool IsSetRuntimeEnvironmentSecrets()
{
return this._runtimeEnvironmentSecrets != null && this._runtimeEnvironmentSecrets.Count > 0;
}
/// <summary>
/// Gets and sets the property RuntimeEnvironmentVariables.
/// <para>
/// Environment variables that are available to your running App Runner service. An array
/// of key-value pairs.
/// </para>
/// </summary>
public Dictionary<string, string> RuntimeEnvironmentVariables
{
get { return this._runtimeEnvironmentVariables; }
set { this._runtimeEnvironmentVariables = value; }
}
// Check to see if RuntimeEnvironmentVariables property is set
internal bool IsSetRuntimeEnvironmentVariables()
{
return this._runtimeEnvironmentVariables != null && this._runtimeEnvironmentVariables.Count > 0;
}
/// <summary>
/// Gets and sets the property StartCommand.
/// <para>
/// An optional command that App Runner runs to start the application in the source image.
/// If specified, this command overrides the Docker image’s default start command.
/// </para>
/// </summary>
[AWSProperty(Sensitive=true)]
public string StartCommand
{
get { return this._startCommand; }
set { this._startCommand = value; }
}
// Check to see if StartCommand property is set
internal bool IsSetStartCommand()
{
return this._startCommand != null;
}
}
} | 139 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Describes a source image repository.
/// </summary>
public partial class ImageRepository
{
private ImageConfiguration _imageConfiguration;
private string _imageIdentifier;
private ImageRepositoryType _imageRepositoryType;
/// <summary>
/// Gets and sets the property ImageConfiguration.
/// <para>
/// Configuration for running the identified image.
/// </para>
/// </summary>
public ImageConfiguration ImageConfiguration
{
get { return this._imageConfiguration; }
set { this._imageConfiguration = value; }
}
// Check to see if ImageConfiguration property is set
internal bool IsSetImageConfiguration()
{
return this._imageConfiguration != null;
}
/// <summary>
/// Gets and sets the property ImageIdentifier.
/// <para>
/// The identifier of an image.
/// </para>
///
/// <para>
/// For an image in Amazon Elastic Container Registry (Amazon ECR), this is an image name.
/// For the image name format, see <a href="https://docs.aws.amazon.com/AmazonECR/latest/userguide/docker-pull-ecr-image.html">Pulling
/// an image</a> in the <i>Amazon ECR User Guide</i>.
/// </para>
/// </summary>
[AWSProperty(Required=true, Min=1, Max=1024)]
public string ImageIdentifier
{
get { return this._imageIdentifier; }
set { this._imageIdentifier = value; }
}
// Check to see if ImageIdentifier property is set
internal bool IsSetImageIdentifier()
{
return this._imageIdentifier != null;
}
/// <summary>
/// Gets and sets the property ImageRepositoryType.
/// <para>
/// The type of the image repository. This reflects the repository provider and whether
/// the repository is private or public.
/// </para>
/// </summary>
[AWSProperty(Required=true)]
public ImageRepositoryType ImageRepositoryType
{
get { return this._imageRepositoryType; }
set { this._imageRepositoryType = value; }
}
// Check to see if ImageRepositoryType property is set
internal bool IsSetImageRepositoryType()
{
return this._imageRepositoryType != null;
}
}
} | 104 |
aws-sdk-net | aws | C# | /*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// Network configuration settings for inbound network traffic.
/// </summary>
public partial class IngressConfiguration
{
private bool? _isPubliclyAccessible;
/// <summary>
/// Gets and sets the property IsPubliclyAccessible.
/// <para>
/// Specifies whether your App Runner service is publicly accessible. To make the service
/// publicly accessible set it to <code>True</code>. To make the service privately accessible,
/// from only within an Amazon VPC set it to <code>False</code>.
/// </para>
/// </summary>
public bool IsPubliclyAccessible
{
get { return this._isPubliclyAccessible.GetValueOrDefault(); }
set { this._isPubliclyAccessible = value; }
}
// Check to see if IsPubliclyAccessible property is set
internal bool IsSetIsPubliclyAccessible()
{
return this._isPubliclyAccessible.HasValue;
}
}
} | 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 apprunner-2020-05-15.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.AppRunner.Model
{
/// <summary>
/// The configuration of your VPC and the associated VPC endpoint. The VPC endpoint is
/// an Amazon Web Services PrivateLink resource that allows access to your App Runner
/// services from within an Amazon VPC.
/// </summary>
public partial class IngressVpcConfiguration
{
private string _vpcEndpointId;
private string _vpcId;
/// <summary>
/// Gets and sets the property VpcEndpointId.
/// <para>
/// The ID of the VPC endpoint that your App Runner service connects to.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string VpcEndpointId
{
get { return this._vpcEndpointId; }
set { this._vpcEndpointId = value; }
}
// Check to see if VpcEndpointId property is set
internal bool IsSetVpcEndpointId()
{
return this._vpcEndpointId != null;
}
/// <summary>
/// Gets and sets the property VpcId.
/// <para>
/// The ID of the VPC that is used for the VPC endpoint.
/// </para>
/// </summary>
[AWSProperty(Min=0, Max=51200)]
public string VpcId
{
get { return this._vpcId; }
set { this._vpcId = value; }
}
// Check to see if VpcId property is set
internal bool IsSetVpcId()
{
return this._vpcId != null;
}
}
} | 80 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.