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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// ListTagsForResource Request Marshaller
/// </summary>
public class ListTagsForResourceRequestMarshaller : IMarshaller<IRequest, ListTagsForResourceRequest> , IMarshaller<IRequest,AmazonWebServiceRequest>
{
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="input"></param>
/// <returns></returns>
public IRequest Marshall(AmazonWebServiceRequest input)
{
return this.Marshall((ListTagsForResourceRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ListTagsForResourceRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "GET";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAuditManagerException("Request object does not have required field ResourceArn set");
request.AddPathResource("{resourceArn}", StringUtils.FromString(publicRequest.ResourceArn));
request.ResourcePath = "/tags/{resourceArn}";
return request;
}
private static ListTagsForResourceRequestMarshaller _instance = new ListTagsForResourceRequestMarshaller();
internal static ListTagsForResourceRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListTagsForResourceRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 87 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ListTagsForResource operation
/// </summary>
public class ListTagsForResourceResponseUnmarshaller : JsonResponseUnmarshaller
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
{
ListTagsForResourceResponse response = new ListTagsForResourceResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("tags", targetDepth))
{
var unmarshaller = new DictionaryUnmarshaller<string, string, StringUnmarshaller, StringUnmarshaller>(StringUnmarshaller.Instance, StringUnmarshaller.Instance);
response.Tags = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("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 AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ListTagsForResourceResponseUnmarshaller _instance = new ListTagsForResourceResponseUnmarshaller();
internal static ListTagsForResourceResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ListTagsForResourceResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 118 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// ManualEvidence Marshaller
/// </summary>
public class ManualEvidenceMarshaller : IRequestMarshaller<ManualEvidence, 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(ManualEvidence requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetEvidenceFileName())
{
context.Writer.WritePropertyName("evidenceFileName");
context.Writer.Write(requestObject.EvidenceFileName);
}
if(requestObject.IsSetS3ResourcePath())
{
context.Writer.WritePropertyName("s3ResourcePath");
context.Writer.Write(requestObject.S3ResourcePath);
}
if(requestObject.IsSetTextResponse())
{
context.Writer.WritePropertyName("textResponse");
context.Writer.Write(requestObject.TextResponse);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ManualEvidenceMarshaller Instance = new ManualEvidenceMarshaller();
}
}
| 74 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ManualEvidence Object
/// </summary>
public class ManualEvidenceUnmarshaller : IUnmarshaller<ManualEvidence, XmlUnmarshallerContext>, IUnmarshaller<ManualEvidence, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ManualEvidence IUnmarshaller<ManualEvidence, 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 ManualEvidence Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ManualEvidence unmarshalledObject = new ManualEvidence();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("evidenceFileName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.EvidenceFileName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("s3ResourcePath", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.S3ResourcePath = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("textResponse", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.TextResponse = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ManualEvidenceUnmarshaller _instance = new ManualEvidenceUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ManualEvidenceUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Notification Object
/// </summary>
public class NotificationUnmarshaller : IUnmarshaller<Notification, XmlUnmarshallerContext>, IUnmarshaller<Notification, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Notification IUnmarshaller<Notification, 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 Notification Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Notification unmarshalledObject = new Notification();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("assessmentId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AssessmentId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("assessmentName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.AssessmentName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("controlSetId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ControlSetId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("controlSetName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ControlSetName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("eventTime", targetDepth))
{
var unmarshaller = DateTimeUnmarshaller.Instance;
unmarshalledObject.EventTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("id", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Id = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("source", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Source = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static NotificationUnmarshaller _instance = new NotificationUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static NotificationUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 134 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// RegisterAccount Request Marshaller
/// </summary>
public class RegisterAccountRequestMarshaller : IMarshaller<IRequest, RegisterAccountRequest> , 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((RegisterAccountRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(RegisterAccountRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "POST";
request.ResourcePath = "/account/registerAccount";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDelegatedAdminAccount())
{
context.Writer.WritePropertyName("delegatedAdminAccount");
context.Writer.Write(publicRequest.DelegatedAdminAccount);
}
if(publicRequest.IsSetKmsKey())
{
context.Writer.WritePropertyName("kmsKey");
context.Writer.Write(publicRequest.KmsKey);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static RegisterAccountRequestMarshaller _instance = new RegisterAccountRequestMarshaller();
internal static RegisterAccountRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static RegisterAccountRequestMarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for RegisterAccount operation
/// </summary>
public class RegisterAccountResponseUnmarshaller : 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)
{
RegisterAccountResponse response = new RegisterAccountResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("status", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.Status = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ThrottlingException"))
{
return ThrottlingExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static RegisterAccountResponseUnmarshaller _instance = new RegisterAccountResponseUnmarshaller();
internal static RegisterAccountResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static RegisterAccountResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// RegisterOrganizationAdminAccount Request Marshaller
/// </summary>
public class RegisterOrganizationAdminAccountRequestMarshaller : IMarshaller<IRequest, RegisterOrganizationAdminAccountRequest> , 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((RegisterOrganizationAdminAccountRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(RegisterOrganizationAdminAccountRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "POST";
request.ResourcePath = "/account/registerOrganizationAdminAccount";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAdminAccountId())
{
context.Writer.WritePropertyName("adminAccountId");
context.Writer.Write(publicRequest.AdminAccountId);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static RegisterOrganizationAdminAccountRequestMarshaller _instance = new RegisterOrganizationAdminAccountRequestMarshaller();
internal static RegisterOrganizationAdminAccountRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static RegisterOrganizationAdminAccountRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 101 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for RegisterOrganizationAdminAccount operation
/// </summary>
public class RegisterOrganizationAdminAccountResponseUnmarshaller : 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)
{
RegisterOrganizationAdminAccountResponse response = new RegisterOrganizationAdminAccountResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("adminAccountId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.AdminAccountId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("organizationId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.OrganizationId = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static RegisterOrganizationAdminAccountResponseUnmarshaller _instance = new RegisterOrganizationAdminAccountResponseUnmarshaller();
internal static RegisterOrganizationAdminAccountResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static RegisterOrganizationAdminAccountResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 128 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ResourceNotFoundException Object
/// </summary>
public class ResourceNotFoundExceptionUnmarshaller : IErrorResponseUnmarshaller<ResourceNotFoundException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ResourceNotFoundException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ResourceNotFoundException unmarshalledObject = new ResourceNotFoundException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("resourceId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("resourceType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ResourceType = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ResourceNotFoundExceptionUnmarshaller _instance = new ResourceNotFoundExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ResourceNotFoundExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Resource Object
/// </summary>
public class ResourceUnmarshaller : IUnmarshaller<Resource, XmlUnmarshallerContext>, IUnmarshaller<Resource, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Resource IUnmarshaller<Resource, 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 Resource Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Resource unmarshalledObject = new Resource();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("arn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Arn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("complianceCheck", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.ComplianceCheck = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("value", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Value = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ResourceUnmarshaller _instance = new ResourceUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ResourceUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Role Marshaller
/// </summary>
public class RoleMarshaller : IRequestMarshaller<Role, 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(Role requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetRoleArn())
{
context.Writer.WritePropertyName("roleArn");
context.Writer.Write(requestObject.RoleArn);
}
if(requestObject.IsSetRoleType())
{
context.Writer.WritePropertyName("roleType");
context.Writer.Write(requestObject.RoleType);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static RoleMarshaller Instance = new RoleMarshaller();
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Role Object
/// </summary>
public class RoleUnmarshaller : IUnmarshaller<Role, XmlUnmarshallerContext>, IUnmarshaller<Role, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Role IUnmarshaller<Role, 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 Role Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Role unmarshalledObject = new Role();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("roleArn", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RoleArn = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("roleType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.RoleType = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static RoleUnmarshaller _instance = new RoleUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static RoleUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Scope Marshaller
/// </summary>
public class ScopeMarshaller : IRequestMarshaller<Scope, 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(Scope requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetAwsAccounts())
{
context.Writer.WritePropertyName("awsAccounts");
context.Writer.WriteArrayStart();
foreach(var requestObjectAwsAccountsListValue in requestObject.AwsAccounts)
{
context.Writer.WriteObjectStart();
var marshaller = AWSAccountMarshaller.Instance;
marshaller.Marshall(requestObjectAwsAccountsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetAwsServices())
{
context.Writer.WritePropertyName("awsServices");
context.Writer.WriteArrayStart();
foreach(var requestObjectAwsServicesListValue in requestObject.AwsServices)
{
context.Writer.WriteObjectStart();
var marshaller = AWSServiceMarshaller.Instance;
marshaller.Marshall(requestObjectAwsServicesListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static ScopeMarshaller Instance = new ScopeMarshaller();
}
}
| 88 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Scope Object
/// </summary>
public class ScopeUnmarshaller : IUnmarshaller<Scope, XmlUnmarshallerContext>, IUnmarshaller<Scope, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Scope IUnmarshaller<Scope, 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 Scope Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Scope unmarshalledObject = new Scope();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("awsAccounts", targetDepth))
{
var unmarshaller = new ListUnmarshaller<AWSAccount, AWSAccountUnmarshaller>(AWSAccountUnmarshaller.Instance);
unmarshalledObject.AwsAccounts = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("awsServices", targetDepth))
{
var unmarshaller = new ListUnmarshaller<AWSService, AWSServiceUnmarshaller>(AWSServiceUnmarshaller.Instance);
unmarshalledObject.AwsServices = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ScopeUnmarshaller _instance = new ScopeUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ScopeUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ServiceMetadata Object
/// </summary>
public class ServiceMetadataUnmarshaller : IUnmarshaller<ServiceMetadata, XmlUnmarshallerContext>, IUnmarshaller<ServiceMetadata, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ServiceMetadata IUnmarshaller<ServiceMetadata, 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 ServiceMetadata Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ServiceMetadata unmarshalledObject = new ServiceMetadata();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("category", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Category = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("description", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Description = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("displayName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.DisplayName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ServiceMetadataUnmarshaller _instance = new ServiceMetadataUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ServiceMetadataUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for Settings Object
/// </summary>
public class SettingsUnmarshaller : IUnmarshaller<Settings, XmlUnmarshallerContext>, IUnmarshaller<Settings, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
Settings IUnmarshaller<Settings, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public Settings Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
Settings unmarshalledObject = new Settings();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("defaultAssessmentReportsDestination", targetDepth))
{
var unmarshaller = AssessmentReportsDestinationUnmarshaller.Instance;
unmarshalledObject.DefaultAssessmentReportsDestination = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("defaultExportDestination", targetDepth))
{
var unmarshaller = DefaultExportDestinationUnmarshaller.Instance;
unmarshalledObject.DefaultExportDestination = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("defaultProcessOwners", targetDepth))
{
var unmarshaller = new ListUnmarshaller<Role, RoleUnmarshaller>(RoleUnmarshaller.Instance);
unmarshalledObject.DefaultProcessOwners = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("deregistrationPolicy", targetDepth))
{
var unmarshaller = DeregistrationPolicyUnmarshaller.Instance;
unmarshalledObject.DeregistrationPolicy = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("evidenceFinderEnablement", targetDepth))
{
var unmarshaller = EvidenceFinderEnablementUnmarshaller.Instance;
unmarshalledObject.EvidenceFinderEnablement = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("isAwsOrgEnabled", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
unmarshalledObject.IsAwsOrgEnabled = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("kmsKey", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.KmsKey = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("snsTopic", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.SnsTopic = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static SettingsUnmarshaller _instance = new SettingsUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static SettingsUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 134 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// SourceKeyword Marshaller
/// </summary>
public class SourceKeywordMarshaller : IRequestMarshaller<SourceKeyword, 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(SourceKeyword requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetKeywordInputType())
{
context.Writer.WritePropertyName("keywordInputType");
context.Writer.Write(requestObject.KeywordInputType);
}
if(requestObject.IsSetKeywordValue())
{
context.Writer.WritePropertyName("keywordValue");
context.Writer.Write(requestObject.KeywordValue);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static SourceKeywordMarshaller Instance = new SourceKeywordMarshaller();
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for SourceKeyword Object
/// </summary>
public class SourceKeywordUnmarshaller : IUnmarshaller<SourceKeyword, XmlUnmarshallerContext>, IUnmarshaller<SourceKeyword, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
SourceKeyword IUnmarshaller<SourceKeyword, 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 SourceKeyword Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
SourceKeyword unmarshalledObject = new SourceKeyword();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("keywordInputType", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.KeywordInputType = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("keywordValue", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.KeywordValue = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static SourceKeywordUnmarshaller _instance = new SourceKeywordUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static SourceKeywordUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// StartAssessmentFrameworkShare Request Marshaller
/// </summary>
public class StartAssessmentFrameworkShareRequestMarshaller : IMarshaller<IRequest, StartAssessmentFrameworkShareRequest> , 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((StartAssessmentFrameworkShareRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(StartAssessmentFrameworkShareRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "POST";
if (!publicRequest.IsSetFrameworkId())
throw new AmazonAuditManagerException("Request object does not have required field FrameworkId set");
request.AddPathResource("{frameworkId}", StringUtils.FromString(publicRequest.FrameworkId));
request.ResourcePath = "/assessmentFrameworks/{frameworkId}/shareRequests";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetComment())
{
context.Writer.WritePropertyName("comment");
context.Writer.Write(publicRequest.Comment);
}
if(publicRequest.IsSetDestinationAccount())
{
context.Writer.WritePropertyName("destinationAccount");
context.Writer.Write(publicRequest.DestinationAccount);
}
if(publicRequest.IsSetDestinationRegion())
{
context.Writer.WritePropertyName("destinationRegion");
context.Writer.Write(publicRequest.DestinationRegion);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static StartAssessmentFrameworkShareRequestMarshaller _instance = new StartAssessmentFrameworkShareRequestMarshaller();
internal static StartAssessmentFrameworkShareRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartAssessmentFrameworkShareRequestMarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for StartAssessmentFrameworkShare operation
/// </summary>
public class StartAssessmentFrameworkShareResponseUnmarshaller : 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)
{
StartAssessmentFrameworkShareResponse response = new StartAssessmentFrameworkShareResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("assessmentFrameworkShareRequest", targetDepth))
{
var unmarshaller = AssessmentFrameworkShareRequestUnmarshaller.Instance;
response.AssessmentFrameworkShareRequest = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static StartAssessmentFrameworkShareResponseUnmarshaller _instance = new StartAssessmentFrameworkShareResponseUnmarshaller();
internal static StartAssessmentFrameworkShareResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static StartAssessmentFrameworkShareResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.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.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "POST";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAuditManagerException("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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.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 AmazonAuditManagerException(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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.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))
{
}
return unmarshalledObject;
}
private static ThrottlingExceptionUnmarshaller _instance = new ThrottlingExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ThrottlingExceptionUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.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.AuditManager");
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "DELETE";
if (!publicRequest.IsSetResourceArn())
throw new AmazonAuditManagerException("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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.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 AmazonAuditManagerException(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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessmentControl Request Marshaller
/// </summary>
public class UpdateAssessmentControlRequestMarshaller : IMarshaller<IRequest, UpdateAssessmentControlRequest> , 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((UpdateAssessmentControlRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAssessmentControlRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetAssessmentId())
throw new AmazonAuditManagerException("Request object does not have required field AssessmentId set");
request.AddPathResource("{assessmentId}", StringUtils.FromString(publicRequest.AssessmentId));
if (!publicRequest.IsSetControlId())
throw new AmazonAuditManagerException("Request object does not have required field ControlId set");
request.AddPathResource("{controlId}", StringUtils.FromString(publicRequest.ControlId));
if (!publicRequest.IsSetControlSetId())
throw new AmazonAuditManagerException("Request object does not have required field ControlSetId set");
request.AddPathResource("{controlSetId}", StringUtils.FromString(publicRequest.ControlSetId));
request.ResourcePath = "/assessments/{assessmentId}/controlSets/{controlSetId}/controls/{controlId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetCommentBody())
{
context.Writer.WritePropertyName("commentBody");
context.Writer.Write(publicRequest.CommentBody);
}
if(publicRequest.IsSetControlStatus())
{
context.Writer.WritePropertyName("controlStatus");
context.Writer.Write(publicRequest.ControlStatus);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAssessmentControlRequestMarshaller _instance = new UpdateAssessmentControlRequestMarshaller();
internal static UpdateAssessmentControlRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentControlRequestMarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAssessmentControl operation
/// </summary>
public class UpdateAssessmentControlResponseUnmarshaller : 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)
{
UpdateAssessmentControlResponse response = new UpdateAssessmentControlResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("control", targetDepth))
{
var unmarshaller = AssessmentControlUnmarshaller.Instance;
response.Control = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAssessmentControlResponseUnmarshaller _instance = new UpdateAssessmentControlResponseUnmarshaller();
internal static UpdateAssessmentControlResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentControlResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessmentControlSetStatus Request Marshaller
/// </summary>
public class UpdateAssessmentControlSetStatusRequestMarshaller : IMarshaller<IRequest, UpdateAssessmentControlSetStatusRequest> , 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((UpdateAssessmentControlSetStatusRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAssessmentControlSetStatusRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetAssessmentId())
throw new AmazonAuditManagerException("Request object does not have required field AssessmentId set");
request.AddPathResource("{assessmentId}", StringUtils.FromString(publicRequest.AssessmentId));
if (!publicRequest.IsSetControlSetId())
throw new AmazonAuditManagerException("Request object does not have required field ControlSetId set");
request.AddPathResource("{controlSetId}", StringUtils.FromString(publicRequest.ControlSetId));
request.ResourcePath = "/assessments/{assessmentId}/controlSets/{controlSetId}/status";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetComment())
{
context.Writer.WritePropertyName("comment");
context.Writer.Write(publicRequest.Comment);
}
if(publicRequest.IsSetStatus())
{
context.Writer.WritePropertyName("status");
context.Writer.Write(publicRequest.Status);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAssessmentControlSetStatusRequestMarshaller _instance = new UpdateAssessmentControlSetStatusRequestMarshaller();
internal static UpdateAssessmentControlSetStatusRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentControlSetStatusRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 113 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAssessmentControlSetStatus operation
/// </summary>
public class UpdateAssessmentControlSetStatusResponseUnmarshaller : 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)
{
UpdateAssessmentControlSetStatusResponse response = new UpdateAssessmentControlSetStatusResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("controlSet", targetDepth))
{
var unmarshaller = AssessmentControlSetUnmarshaller.Instance;
response.ControlSet = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAssessmentControlSetStatusResponseUnmarshaller _instance = new UpdateAssessmentControlSetStatusResponseUnmarshaller();
internal static UpdateAssessmentControlSetStatusResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentControlSetStatusResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessmentFrameworkControlSet Marshaller
/// </summary>
public class UpdateAssessmentFrameworkControlSetMarshaller : IRequestMarshaller<UpdateAssessmentFrameworkControlSet, 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(UpdateAssessmentFrameworkControlSet requestObject, JsonMarshallerContext context)
{
if(requestObject.IsSetControls())
{
context.Writer.WritePropertyName("controls");
context.Writer.WriteArrayStart();
foreach(var requestObjectControlsListValue in requestObject.Controls)
{
context.Writer.WriteObjectStart();
var marshaller = CreateAssessmentFrameworkControlMarshaller.Instance;
marshaller.Marshall(requestObjectControlsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(requestObject.IsSetId())
{
context.Writer.WritePropertyName("id");
context.Writer.Write(requestObject.Id);
}
if(requestObject.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(requestObject.Name);
}
}
/// <summary>
/// Singleton Marshaller.
/// </summary>
public readonly static UpdateAssessmentFrameworkControlSetMarshaller Instance = new UpdateAssessmentFrameworkControlSetMarshaller();
}
}
| 84 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessmentFramework Request Marshaller
/// </summary>
public class UpdateAssessmentFrameworkRequestMarshaller : IMarshaller<IRequest, UpdateAssessmentFrameworkRequest> , 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((UpdateAssessmentFrameworkRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAssessmentFrameworkRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetFrameworkId())
throw new AmazonAuditManagerException("Request object does not have required field FrameworkId set");
request.AddPathResource("{frameworkId}", StringUtils.FromString(publicRequest.FrameworkId));
request.ResourcePath = "/assessmentFrameworks/{frameworkId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetComplianceType())
{
context.Writer.WritePropertyName("complianceType");
context.Writer.Write(publicRequest.ComplianceType);
}
if(publicRequest.IsSetControlSets())
{
context.Writer.WritePropertyName("controlSets");
context.Writer.WriteArrayStart();
foreach(var publicRequestControlSetsListValue in publicRequest.ControlSets)
{
context.Writer.WriteObjectStart();
var marshaller = UpdateAssessmentFrameworkControlSetMarshaller.Instance;
marshaller.Marshall(publicRequestControlSetsListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
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 UpdateAssessmentFrameworkRequestMarshaller _instance = new UpdateAssessmentFrameworkRequestMarshaller();
internal static UpdateAssessmentFrameworkRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentFrameworkRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 132 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAssessmentFramework operation
/// </summary>
public class UpdateAssessmentFrameworkResponseUnmarshaller : 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)
{
UpdateAssessmentFrameworkResponse response = new UpdateAssessmentFrameworkResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("framework", targetDepth))
{
var unmarshaller = FrameworkUnmarshaller.Instance;
response.Framework = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAssessmentFrameworkResponseUnmarshaller _instance = new UpdateAssessmentFrameworkResponseUnmarshaller();
internal static UpdateAssessmentFrameworkResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentFrameworkResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessmentFrameworkShare Request Marshaller
/// </summary>
public class UpdateAssessmentFrameworkShareRequestMarshaller : IMarshaller<IRequest, UpdateAssessmentFrameworkShareRequest> , 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((UpdateAssessmentFrameworkShareRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAssessmentFrameworkShareRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetRequestId())
throw new AmazonAuditManagerException("Request object does not have required field RequestId set");
request.AddPathResource("{requestId}", StringUtils.FromString(publicRequest.RequestId));
request.ResourcePath = "/assessmentFrameworkShareRequests/{requestId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAction())
{
context.Writer.WritePropertyName("action");
context.Writer.Write(publicRequest.Action);
}
if(publicRequest.IsSetRequestType())
{
context.Writer.WritePropertyName("requestType");
context.Writer.Write(publicRequest.RequestType);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAssessmentFrameworkShareRequestMarshaller _instance = new UpdateAssessmentFrameworkShareRequestMarshaller();
internal static UpdateAssessmentFrameworkShareRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentFrameworkShareRequestMarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAssessmentFrameworkShare operation
/// </summary>
public class UpdateAssessmentFrameworkShareResponseUnmarshaller : 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)
{
UpdateAssessmentFrameworkShareResponse response = new UpdateAssessmentFrameworkShareResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("assessmentFrameworkShareRequest", targetDepth))
{
var unmarshaller = AssessmentFrameworkShareRequestUnmarshaller.Instance;
response.AssessmentFrameworkShareRequest = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceQuotaExceededException"))
{
return ServiceQuotaExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAssessmentFrameworkShareResponseUnmarshaller _instance = new UpdateAssessmentFrameworkShareResponseUnmarshaller();
internal static UpdateAssessmentFrameworkShareResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentFrameworkShareResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessment Request Marshaller
/// </summary>
public class UpdateAssessmentRequestMarshaller : IMarshaller<IRequest, UpdateAssessmentRequest> , 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((UpdateAssessmentRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAssessmentRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetAssessmentId())
throw new AmazonAuditManagerException("Request object does not have required field AssessmentId set");
request.AddPathResource("{assessmentId}", StringUtils.FromString(publicRequest.AssessmentId));
request.ResourcePath = "/assessments/{assessmentId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetAssessmentDescription())
{
context.Writer.WritePropertyName("assessmentDescription");
context.Writer.Write(publicRequest.AssessmentDescription);
}
if(publicRequest.IsSetAssessmentName())
{
context.Writer.WritePropertyName("assessmentName");
context.Writer.Write(publicRequest.AssessmentName);
}
if(publicRequest.IsSetAssessmentReportsDestination())
{
context.Writer.WritePropertyName("assessmentReportsDestination");
context.Writer.WriteObjectStart();
var marshaller = AssessmentReportsDestinationMarshaller.Instance;
marshaller.Marshall(publicRequest.AssessmentReportsDestination, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetRoles())
{
context.Writer.WritePropertyName("roles");
context.Writer.WriteArrayStart();
foreach(var publicRequestRolesListValue in publicRequest.Roles)
{
context.Writer.WriteObjectStart();
var marshaller = RoleMarshaller.Instance;
marshaller.Marshall(publicRequestRolesListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(publicRequest.IsSetScope())
{
context.Writer.WritePropertyName("scope");
context.Writer.WriteObjectStart();
var marshaller = ScopeMarshaller.Instance;
marshaller.Marshall(publicRequest.Scope, context);
context.Writer.WriteObjectEnd();
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAssessmentRequestMarshaller _instance = new UpdateAssessmentRequestMarshaller();
internal static UpdateAssessmentRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 148 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAssessment operation
/// </summary>
public class UpdateAssessmentResponseUnmarshaller : 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)
{
UpdateAssessmentResponse response = new UpdateAssessmentResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("assessment", targetDepth))
{
var unmarshaller = AssessmentUnmarshaller.Instance;
response.Assessment = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAssessmentResponseUnmarshaller _instance = new UpdateAssessmentResponseUnmarshaller();
internal static UpdateAssessmentResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateAssessmentStatus Request Marshaller
/// </summary>
public class UpdateAssessmentStatusRequestMarshaller : IMarshaller<IRequest, UpdateAssessmentStatusRequest> , 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((UpdateAssessmentStatusRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateAssessmentStatusRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetAssessmentId())
throw new AmazonAuditManagerException("Request object does not have required field AssessmentId set");
request.AddPathResource("{assessmentId}", StringUtils.FromString(publicRequest.AssessmentId));
request.ResourcePath = "/assessments/{assessmentId}/status";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetStatus())
{
context.Writer.WritePropertyName("status");
context.Writer.Write(publicRequest.Status);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateAssessmentStatusRequestMarshaller _instance = new UpdateAssessmentStatusRequestMarshaller();
internal static UpdateAssessmentStatusRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentStatusRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 104 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateAssessmentStatus operation
/// </summary>
public class UpdateAssessmentStatusResponseUnmarshaller : 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)
{
UpdateAssessmentStatusResponse response = new UpdateAssessmentStatusResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("assessment", targetDepth))
{
var unmarshaller = AssessmentUnmarshaller.Instance;
response.Assessment = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ServiceQuotaExceededException"))
{
return ServiceQuotaExceededExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateAssessmentStatusResponseUnmarshaller _instance = new UpdateAssessmentStatusResponseUnmarshaller();
internal static UpdateAssessmentStatusResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateAssessmentStatusResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateControl Request Marshaller
/// </summary>
public class UpdateControlRequestMarshaller : IMarshaller<IRequest, UpdateControlRequest> , 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((UpdateControlRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateControlRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
if (!publicRequest.IsSetControlId())
throw new AmazonAuditManagerException("Request object does not have required field ControlId set");
request.AddPathResource("{controlId}", StringUtils.FromString(publicRequest.ControlId));
request.ResourcePath = "/controls/{controlId}";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetActionPlanInstructions())
{
context.Writer.WritePropertyName("actionPlanInstructions");
context.Writer.Write(publicRequest.ActionPlanInstructions);
}
if(publicRequest.IsSetActionPlanTitle())
{
context.Writer.WritePropertyName("actionPlanTitle");
context.Writer.Write(publicRequest.ActionPlanTitle);
}
if(publicRequest.IsSetControlMappingSources())
{
context.Writer.WritePropertyName("controlMappingSources");
context.Writer.WriteArrayStart();
foreach(var publicRequestControlMappingSourcesListValue in publicRequest.ControlMappingSources)
{
context.Writer.WriteObjectStart();
var marshaller = ControlMappingSourceMarshaller.Instance;
marshaller.Marshall(publicRequestControlMappingSourcesListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(publicRequest.IsSetDescription())
{
context.Writer.WritePropertyName("description");
context.Writer.Write(publicRequest.Description);
}
if(publicRequest.IsSetName())
{
context.Writer.WritePropertyName("name");
context.Writer.Write(publicRequest.Name);
}
if(publicRequest.IsSetTestingInformation())
{
context.Writer.WritePropertyName("testingInformation");
context.Writer.Write(publicRequest.TestingInformation);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateControlRequestMarshaller _instance = new UpdateControlRequestMarshaller();
internal static UpdateControlRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateControlRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 144 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateControl operation
/// </summary>
public class UpdateControlResponseUnmarshaller : 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)
{
UpdateControlResponse response = new UpdateControlResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("control", targetDepth))
{
var unmarshaller = ControlUnmarshaller.Instance;
response.Control = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateControlResponseUnmarshaller _instance = new UpdateControlResponseUnmarshaller();
internal static UpdateControlResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateControlResponseUnmarshaller 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// UpdateSettings Request Marshaller
/// </summary>
public class UpdateSettingsRequestMarshaller : IMarshaller<IRequest, UpdateSettingsRequest> , 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((UpdateSettingsRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(UpdateSettingsRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "PUT";
request.ResourcePath = "/settings";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetDefaultAssessmentReportsDestination())
{
context.Writer.WritePropertyName("defaultAssessmentReportsDestination");
context.Writer.WriteObjectStart();
var marshaller = AssessmentReportsDestinationMarshaller.Instance;
marshaller.Marshall(publicRequest.DefaultAssessmentReportsDestination, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetDefaultExportDestination())
{
context.Writer.WritePropertyName("defaultExportDestination");
context.Writer.WriteObjectStart();
var marshaller = DefaultExportDestinationMarshaller.Instance;
marshaller.Marshall(publicRequest.DefaultExportDestination, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetDefaultProcessOwners())
{
context.Writer.WritePropertyName("defaultProcessOwners");
context.Writer.WriteArrayStart();
foreach(var publicRequestDefaultProcessOwnersListValue in publicRequest.DefaultProcessOwners)
{
context.Writer.WriteObjectStart();
var marshaller = RoleMarshaller.Instance;
marshaller.Marshall(publicRequestDefaultProcessOwnersListValue, context);
context.Writer.WriteObjectEnd();
}
context.Writer.WriteArrayEnd();
}
if(publicRequest.IsSetDeregistrationPolicy())
{
context.Writer.WritePropertyName("deregistrationPolicy");
context.Writer.WriteObjectStart();
var marshaller = DeregistrationPolicyMarshaller.Instance;
marshaller.Marshall(publicRequest.DeregistrationPolicy, context);
context.Writer.WriteObjectEnd();
}
if(publicRequest.IsSetEvidenceFinderEnabled())
{
context.Writer.WritePropertyName("evidenceFinderEnabled");
context.Writer.Write(publicRequest.EvidenceFinderEnabled);
}
if(publicRequest.IsSetKmsKey())
{
context.Writer.WritePropertyName("kmsKey");
context.Writer.Write(publicRequest.KmsKey);
}
if(publicRequest.IsSetSnsTopic())
{
context.Writer.WritePropertyName("snsTopic");
context.Writer.Write(publicRequest.SnsTopic);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static UpdateSettingsRequestMarshaller _instance = new UpdateSettingsRequestMarshaller();
internal static UpdateSettingsRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateSettingsRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 162 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for UpdateSettings operation
/// </summary>
public class UpdateSettingsResponseUnmarshaller : 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)
{
UpdateSettingsResponse response = new UpdateSettingsResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("settings", targetDepth))
{
var unmarshaller = SettingsUnmarshaller.Instance;
response.Settings = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static UpdateSettingsResponseUnmarshaller _instance = new UpdateSettingsResponseUnmarshaller();
internal static UpdateSettingsResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static UpdateSettingsResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 118 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for URL Object
/// </summary>
public class URLUnmarshaller : IUnmarshaller<URL, XmlUnmarshallerContext>, IUnmarshaller<URL, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
URL IUnmarshaller<URL, 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 URL Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
URL unmarshalledObject = new URL();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("hyperlinkName", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.HyperlinkName = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("link", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Link = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static URLUnmarshaller _instance = new URLUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static URLUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// ValidateAssessmentReportIntegrity Request Marshaller
/// </summary>
public class ValidateAssessmentReportIntegrityRequestMarshaller : IMarshaller<IRequest, ValidateAssessmentReportIntegrityRequest> , 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((ValidateAssessmentReportIntegrityRequest)input);
}
/// <summary>
/// Marshaller the request object to the HTTP request.
/// </summary>
/// <param name="publicRequest"></param>
/// <returns></returns>
public IRequest Marshall(ValidateAssessmentReportIntegrityRequest publicRequest)
{
IRequest request = new DefaultRequest(publicRequest, "Amazon.AuditManager");
request.Headers["Content-Type"] = "application/json";
request.Headers[Amazon.Util.HeaderKeys.XAmzApiVersion] = "2017-07-25";
request.HttpMethod = "POST";
request.ResourcePath = "/assessmentReports/integrity";
using (StringWriter stringWriter = new StringWriter(CultureInfo.InvariantCulture))
{
JsonWriter writer = new JsonWriter(stringWriter);
writer.WriteObjectStart();
var context = new JsonMarshallerContext(request, writer);
if(publicRequest.IsSetS3RelativePath())
{
context.Writer.WritePropertyName("s3RelativePath");
context.Writer.Write(publicRequest.S3RelativePath);
}
writer.WriteObjectEnd();
string snippet = stringWriter.ToString();
request.Content = System.Text.Encoding.UTF8.GetBytes(snippet);
}
return request;
}
private static ValidateAssessmentReportIntegrityRequestMarshaller _instance = new ValidateAssessmentReportIntegrityRequestMarshaller();
internal static ValidateAssessmentReportIntegrityRequestMarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidateAssessmentReportIntegrityRequestMarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 101 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidateAssessmentReportIntegrity operation
/// </summary>
public class ValidateAssessmentReportIntegrityResponseUnmarshaller : 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)
{
ValidateAssessmentReportIntegrityResponse response = new ValidateAssessmentReportIntegrityResponse();
context.Read();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("signatureAlgorithm", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.SignatureAlgorithm = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("signatureDateTime", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.SignatureDateTime = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("signatureKeyId", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
response.SignatureKeyId = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("signatureValid", targetDepth))
{
var unmarshaller = BoolUnmarshaller.Instance;
response.SignatureValid = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("validationErrors", targetDepth))
{
var unmarshaller = new ListUnmarshaller<string, StringUnmarshaller>(StringUnmarshaller.Instance);
response.ValidationErrors = unmarshaller.Unmarshall(context);
continue;
}
}
return response;
}
/// <summary>
/// Unmarshaller error response to exception.
/// </summary>
/// <param name="context"></param>
/// <param name="innerException"></param>
/// <param name="statusCode"></param>
/// <returns></returns>
public override AmazonServiceException UnmarshallException(JsonUnmarshallerContext context, Exception innerException, HttpStatusCode statusCode)
{
var errorResponse = JsonErrorResponseUnmarshaller.GetInstance().Unmarshall(context);
errorResponse.InnerException = innerException;
errorResponse.StatusCode = statusCode;
var responseBodyBytes = context.GetResponseBodyBytes();
using (var streamCopy = new MemoryStream(responseBodyBytes))
using (var contextCopy = new JsonUnmarshallerContext(streamCopy, false, null))
{
if (errorResponse.Code != null && errorResponse.Code.Equals("AccessDeniedException"))
{
return AccessDeniedExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("InternalServerException"))
{
return InternalServerExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ResourceNotFoundException"))
{
return ResourceNotFoundExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
if (errorResponse.Code != null && errorResponse.Code.Equals("ValidationException"))
{
return ValidationExceptionUnmarshaller.Instance.Unmarshall(contextCopy, errorResponse);
}
}
return new AmazonAuditManagerException(errorResponse.Message, errorResponse.InnerException, errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
}
private static ValidateAssessmentReportIntegrityResponseUnmarshaller _instance = new ValidateAssessmentReportIntegrityResponseUnmarshaller();
internal static ValidateAssessmentReportIntegrityResponseUnmarshaller GetInstance()
{
return _instance;
}
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidateAssessmentReportIntegrityResponseUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 146 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidationExceptionField Object
/// </summary>
public class ValidationExceptionFieldUnmarshaller : IUnmarshaller<ValidationExceptionField, XmlUnmarshallerContext>, IUnmarshaller<ValidationExceptionField, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
ValidationExceptionField IUnmarshaller<ValidationExceptionField, XmlUnmarshallerContext>.Unmarshall(XmlUnmarshallerContext context)
{
throw new NotImplementedException();
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ValidationExceptionField Unmarshall(JsonUnmarshallerContext context)
{
context.Read();
if (context.CurrentTokenType == JsonToken.Null)
return null;
ValidationExceptionField unmarshalledObject = new ValidationExceptionField();
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("message", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Message = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("name", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Name = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ValidationExceptionFieldUnmarshaller _instance = new ValidationExceptionFieldUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionFieldUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 98 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Globalization;
using System.IO;
using System.Net;
using System.Text;
using System.Xml.Serialization;
using Amazon.AuditManager.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Transform;
using Amazon.Runtime.Internal.Util;
using ThirdParty.Json.LitJson;
namespace Amazon.AuditManager.Model.Internal.MarshallTransformations
{
/// <summary>
/// Response Unmarshaller for ValidationException Object
/// </summary>
public class ValidationExceptionUnmarshaller : IErrorResponseUnmarshaller<ValidationException, JsonUnmarshallerContext>
{
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <returns></returns>
public ValidationException Unmarshall(JsonUnmarshallerContext context)
{
return this.Unmarshall(context, new Amazon.Runtime.Internal.ErrorResponse());
}
/// <summary>
/// Unmarshaller the response from the service to the response class.
/// </summary>
/// <param name="context"></param>
/// <param name="errorResponse"></param>
/// <returns></returns>
public ValidationException Unmarshall(JsonUnmarshallerContext context, Amazon.Runtime.Internal.ErrorResponse errorResponse)
{
context.Read();
ValidationException unmarshalledObject = new ValidationException(errorResponse.Message, errorResponse.InnerException,
errorResponse.Type, errorResponse.Code, errorResponse.RequestId, errorResponse.StatusCode);
int targetDepth = context.CurrentDepth;
while (context.ReadAtDepth(targetDepth))
{
if (context.TestExpression("fields", targetDepth))
{
var unmarshaller = new ListUnmarshaller<ValidationExceptionField, ValidationExceptionFieldUnmarshaller>(ValidationExceptionFieldUnmarshaller.Instance);
unmarshalledObject.Fields = unmarshaller.Unmarshall(context);
continue;
}
if (context.TestExpression("reason", targetDepth))
{
var unmarshaller = StringUnmarshaller.Instance;
unmarshalledObject.Reason = unmarshaller.Unmarshall(context);
continue;
}
}
return unmarshalledObject;
}
private static ValidationExceptionUnmarshaller _instance = new ValidationExceptionUnmarshaller();
/// <summary>
/// Gets the singleton.
/// </summary>
public static ValidationExceptionUnmarshaller Instance
{
get
{
return _instance;
}
}
}
}
| 97 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginators for the AuditManager service
///</summary>
public class AuditManagerPaginatorFactory : IAuditManagerPaginatorFactory
{
private readonly IAmazonAuditManager client;
internal AuditManagerPaginatorFactory(IAmazonAuditManager client)
{
this.client = client;
}
/// <summary>
/// Paginator for GetChangeLogs operation
///</summary>
public IGetChangeLogsPaginator GetChangeLogs(GetChangeLogsRequest request)
{
return new GetChangeLogsPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetDelegations operation
///</summary>
public IGetDelegationsPaginator GetDelegations(GetDelegationsRequest request)
{
return new GetDelegationsPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetEvidenceByEvidenceFolder operation
///</summary>
public IGetEvidenceByEvidenceFolderPaginator GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request)
{
return new GetEvidenceByEvidenceFolderPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetEvidenceFoldersByAssessment operation
///</summary>
public IGetEvidenceFoldersByAssessmentPaginator GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request)
{
return new GetEvidenceFoldersByAssessmentPaginator(this.client, request);
}
/// <summary>
/// Paginator for GetEvidenceFoldersByAssessmentControl operation
///</summary>
public IGetEvidenceFoldersByAssessmentControlPaginator GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request)
{
return new GetEvidenceFoldersByAssessmentControlPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssessmentControlInsightsByControlDomain operation
///</summary>
public IListAssessmentControlInsightsByControlDomainPaginator ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request)
{
return new ListAssessmentControlInsightsByControlDomainPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssessmentFrameworks operation
///</summary>
public IListAssessmentFrameworksPaginator ListAssessmentFrameworks(ListAssessmentFrameworksRequest request)
{
return new ListAssessmentFrameworksPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssessmentFrameworkShareRequests operation
///</summary>
public IListAssessmentFrameworkShareRequestsPaginator ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request)
{
return new ListAssessmentFrameworkShareRequestsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssessmentReports operation
///</summary>
public IListAssessmentReportsPaginator ListAssessmentReports(ListAssessmentReportsRequest request)
{
return new ListAssessmentReportsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListAssessments operation
///</summary>
public IListAssessmentsPaginator ListAssessments(ListAssessmentsRequest request)
{
return new ListAssessmentsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListControlDomainInsights operation
///</summary>
public IListControlDomainInsightsPaginator ListControlDomainInsights(ListControlDomainInsightsRequest request)
{
return new ListControlDomainInsightsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListControlDomainInsightsByAssessment operation
///</summary>
public IListControlDomainInsightsByAssessmentPaginator ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request)
{
return new ListControlDomainInsightsByAssessmentPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListControlInsightsByControlDomain operation
///</summary>
public IListControlInsightsByControlDomainPaginator ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request)
{
return new ListControlInsightsByControlDomainPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListControls operation
///</summary>
public IListControlsPaginator ListControls(ListControlsRequest request)
{
return new ListControlsPaginator(this.client, request);
}
/// <summary>
/// Paginator for ListKeywordsForDataSource operation
///</summary>
public IListKeywordsForDataSourcePaginator ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request)
{
return new ListKeywordsForDataSourcePaginator(this.client, request);
}
/// <summary>
/// Paginator for ListNotifications operation
///</summary>
public IListNotificationsPaginator ListNotifications(ListNotificationsRequest request)
{
return new ListNotificationsPaginator(this.client, request);
}
}
}
| 166 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for GetChangeLogs paginators.
/// </summary>
internal sealed partial class GetChangeLogsPaginator : IPaginator<GetChangeLogsResponse>, IGetChangeLogsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly GetChangeLogsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetChangeLogsResponse> Responses => new PaginatedResponse<GetChangeLogsResponse>(this);
internal GetChangeLogsPaginator(IAmazonAuditManager client, GetChangeLogsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetChangeLogsResponse> IPaginator<GetChangeLogsResponse>.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;
GetChangeLogsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.GetChangeLogs(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetChangeLogsResponse> IPaginator<GetChangeLogsResponse>.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;
GetChangeLogsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.GetChangeLogsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for GetDelegations paginators.
/// </summary>
internal sealed partial class GetDelegationsPaginator : IPaginator<GetDelegationsResponse>, IGetDelegationsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly GetDelegationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetDelegationsResponse> Responses => new PaginatedResponse<GetDelegationsResponse>(this);
internal GetDelegationsPaginator(IAmazonAuditManager client, GetDelegationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetDelegationsResponse> IPaginator<GetDelegationsResponse>.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;
GetDelegationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.GetDelegations(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetDelegationsResponse> IPaginator<GetDelegationsResponse>.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;
GetDelegationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.GetDelegationsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for GetEvidenceByEvidenceFolder paginators.
/// </summary>
internal sealed partial class GetEvidenceByEvidenceFolderPaginator : IPaginator<GetEvidenceByEvidenceFolderResponse>, IGetEvidenceByEvidenceFolderPaginator
{
private readonly IAmazonAuditManager _client;
private readonly GetEvidenceByEvidenceFolderRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetEvidenceByEvidenceFolderResponse> Responses => new PaginatedResponse<GetEvidenceByEvidenceFolderResponse>(this);
internal GetEvidenceByEvidenceFolderPaginator(IAmazonAuditManager client, GetEvidenceByEvidenceFolderRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetEvidenceByEvidenceFolderResponse> IPaginator<GetEvidenceByEvidenceFolderResponse>.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;
GetEvidenceByEvidenceFolderResponse response;
do
{
_request.NextToken = nextToken;
response = _client.GetEvidenceByEvidenceFolder(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetEvidenceByEvidenceFolderResponse> IPaginator<GetEvidenceByEvidenceFolderResponse>.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;
GetEvidenceByEvidenceFolderResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.GetEvidenceByEvidenceFolderAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for GetEvidenceFoldersByAssessmentControl paginators.
/// </summary>
internal sealed partial class GetEvidenceFoldersByAssessmentControlPaginator : IPaginator<GetEvidenceFoldersByAssessmentControlResponse>, IGetEvidenceFoldersByAssessmentControlPaginator
{
private readonly IAmazonAuditManager _client;
private readonly GetEvidenceFoldersByAssessmentControlRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetEvidenceFoldersByAssessmentControlResponse> Responses => new PaginatedResponse<GetEvidenceFoldersByAssessmentControlResponse>(this);
internal GetEvidenceFoldersByAssessmentControlPaginator(IAmazonAuditManager client, GetEvidenceFoldersByAssessmentControlRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetEvidenceFoldersByAssessmentControlResponse> IPaginator<GetEvidenceFoldersByAssessmentControlResponse>.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;
GetEvidenceFoldersByAssessmentControlResponse response;
do
{
_request.NextToken = nextToken;
response = _client.GetEvidenceFoldersByAssessmentControl(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetEvidenceFoldersByAssessmentControlResponse> IPaginator<GetEvidenceFoldersByAssessmentControlResponse>.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;
GetEvidenceFoldersByAssessmentControlResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.GetEvidenceFoldersByAssessmentControlAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for GetEvidenceFoldersByAssessment paginators.
/// </summary>
internal sealed partial class GetEvidenceFoldersByAssessmentPaginator : IPaginator<GetEvidenceFoldersByAssessmentResponse>, IGetEvidenceFoldersByAssessmentPaginator
{
private readonly IAmazonAuditManager _client;
private readonly GetEvidenceFoldersByAssessmentRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<GetEvidenceFoldersByAssessmentResponse> Responses => new PaginatedResponse<GetEvidenceFoldersByAssessmentResponse>(this);
internal GetEvidenceFoldersByAssessmentPaginator(IAmazonAuditManager client, GetEvidenceFoldersByAssessmentRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<GetEvidenceFoldersByAssessmentResponse> IPaginator<GetEvidenceFoldersByAssessmentResponse>.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;
GetEvidenceFoldersByAssessmentResponse response;
do
{
_request.NextToken = nextToken;
response = _client.GetEvidenceFoldersByAssessment(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<GetEvidenceFoldersByAssessmentResponse> IPaginator<GetEvidenceFoldersByAssessmentResponse>.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;
GetEvidenceFoldersByAssessmentResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.GetEvidenceFoldersByAssessmentAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginators for the AuditManager service
///</summary>
public interface IAuditManagerPaginatorFactory
{
/// <summary>
/// Paginator for GetChangeLogs operation
///</summary>
IGetChangeLogsPaginator GetChangeLogs(GetChangeLogsRequest request);
/// <summary>
/// Paginator for GetDelegations operation
///</summary>
IGetDelegationsPaginator GetDelegations(GetDelegationsRequest request);
/// <summary>
/// Paginator for GetEvidenceByEvidenceFolder operation
///</summary>
IGetEvidenceByEvidenceFolderPaginator GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request);
/// <summary>
/// Paginator for GetEvidenceFoldersByAssessment operation
///</summary>
IGetEvidenceFoldersByAssessmentPaginator GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request);
/// <summary>
/// Paginator for GetEvidenceFoldersByAssessmentControl operation
///</summary>
IGetEvidenceFoldersByAssessmentControlPaginator GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request);
/// <summary>
/// Paginator for ListAssessmentControlInsightsByControlDomain operation
///</summary>
IListAssessmentControlInsightsByControlDomainPaginator ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request);
/// <summary>
/// Paginator for ListAssessmentFrameworks operation
///</summary>
IListAssessmentFrameworksPaginator ListAssessmentFrameworks(ListAssessmentFrameworksRequest request);
/// <summary>
/// Paginator for ListAssessmentFrameworkShareRequests operation
///</summary>
IListAssessmentFrameworkShareRequestsPaginator ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request);
/// <summary>
/// Paginator for ListAssessmentReports operation
///</summary>
IListAssessmentReportsPaginator ListAssessmentReports(ListAssessmentReportsRequest request);
/// <summary>
/// Paginator for ListAssessments operation
///</summary>
IListAssessmentsPaginator ListAssessments(ListAssessmentsRequest request);
/// <summary>
/// Paginator for ListControlDomainInsights operation
///</summary>
IListControlDomainInsightsPaginator ListControlDomainInsights(ListControlDomainInsightsRequest request);
/// <summary>
/// Paginator for ListControlDomainInsightsByAssessment operation
///</summary>
IListControlDomainInsightsByAssessmentPaginator ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request);
/// <summary>
/// Paginator for ListControlInsightsByControlDomain operation
///</summary>
IListControlInsightsByControlDomainPaginator ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request);
/// <summary>
/// Paginator for ListControls operation
///</summary>
IListControlsPaginator ListControls(ListControlsRequest request);
/// <summary>
/// Paginator for ListKeywordsForDataSource operation
///</summary>
IListKeywordsForDataSourcePaginator ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request);
/// <summary>
/// Paginator for ListNotifications operation
///</summary>
IListNotificationsPaginator ListNotifications(ListNotificationsRequest request);
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the GetChangeLogs operation
///</summary>
public interface IGetChangeLogsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetChangeLogsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the GetDelegations operation
///</summary>
public interface IGetDelegationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetDelegationsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the GetEvidenceByEvidenceFolder operation
///</summary>
public interface IGetEvidenceByEvidenceFolderPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetEvidenceByEvidenceFolderResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the GetEvidenceFoldersByAssessmentControl operation
///</summary>
public interface IGetEvidenceFoldersByAssessmentControlPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetEvidenceFoldersByAssessmentControlResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the GetEvidenceFoldersByAssessment operation
///</summary>
public interface IGetEvidenceFoldersByAssessmentPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<GetEvidenceFoldersByAssessmentResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListAssessmentControlInsightsByControlDomain operation
///</summary>
public interface IListAssessmentControlInsightsByControlDomainPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssessmentControlInsightsByControlDomainResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListAssessmentFrameworkShareRequests operation
///</summary>
public interface IListAssessmentFrameworkShareRequestsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssessmentFrameworkShareRequestsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListAssessmentFrameworks operation
///</summary>
public interface IListAssessmentFrameworksPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssessmentFrameworksResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListAssessmentReports operation
///</summary>
public interface IListAssessmentReportsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssessmentReportsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListAssessments operation
///</summary>
public interface IListAssessmentsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListAssessmentsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListControlDomainInsightsByAssessment operation
///</summary>
public interface IListControlDomainInsightsByAssessmentPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListControlDomainInsightsByAssessmentResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListControlDomainInsights operation
///</summary>
public interface IListControlDomainInsightsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListControlDomainInsightsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListControlInsightsByControlDomain operation
///</summary>
public interface IListControlInsightsByControlDomainPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListControlInsightsByControlDomainResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListControls operation
///</summary>
public interface IListControlsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListControlsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListKeywordsForDataSource operation
///</summary>
public interface IListKeywordsForDataSourcePaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListKeywordsForDataSourceResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Paginator for the ListNotifications operation
///</summary>
public interface IListNotificationsPaginator
{
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
IPaginatedEnumerable<ListNotificationsResponse> Responses { get; }
}
}
| 33 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListAssessmentControlInsightsByControlDomain paginators.
/// </summary>
internal sealed partial class ListAssessmentControlInsightsByControlDomainPaginator : IPaginator<ListAssessmentControlInsightsByControlDomainResponse>, IListAssessmentControlInsightsByControlDomainPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListAssessmentControlInsightsByControlDomainRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssessmentControlInsightsByControlDomainResponse> Responses => new PaginatedResponse<ListAssessmentControlInsightsByControlDomainResponse>(this);
internal ListAssessmentControlInsightsByControlDomainPaginator(IAmazonAuditManager client, ListAssessmentControlInsightsByControlDomainRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssessmentControlInsightsByControlDomainResponse> IPaginator<ListAssessmentControlInsightsByControlDomainResponse>.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;
ListAssessmentControlInsightsByControlDomainResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssessmentControlInsightsByControlDomain(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssessmentControlInsightsByControlDomainResponse> IPaginator<ListAssessmentControlInsightsByControlDomainResponse>.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;
ListAssessmentControlInsightsByControlDomainResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssessmentControlInsightsByControlDomainAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListAssessmentFrameworkShareRequests paginators.
/// </summary>
internal sealed partial class ListAssessmentFrameworkShareRequestsPaginator : IPaginator<ListAssessmentFrameworkShareRequestsResponse>, IListAssessmentFrameworkShareRequestsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListAssessmentFrameworkShareRequestsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssessmentFrameworkShareRequestsResponse> Responses => new PaginatedResponse<ListAssessmentFrameworkShareRequestsResponse>(this);
internal ListAssessmentFrameworkShareRequestsPaginator(IAmazonAuditManager client, ListAssessmentFrameworkShareRequestsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssessmentFrameworkShareRequestsResponse> IPaginator<ListAssessmentFrameworkShareRequestsResponse>.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;
ListAssessmentFrameworkShareRequestsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssessmentFrameworkShareRequests(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssessmentFrameworkShareRequestsResponse> IPaginator<ListAssessmentFrameworkShareRequestsResponse>.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;
ListAssessmentFrameworkShareRequestsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssessmentFrameworkShareRequestsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListAssessmentFrameworks paginators.
/// </summary>
internal sealed partial class ListAssessmentFrameworksPaginator : IPaginator<ListAssessmentFrameworksResponse>, IListAssessmentFrameworksPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListAssessmentFrameworksRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssessmentFrameworksResponse> Responses => new PaginatedResponse<ListAssessmentFrameworksResponse>(this);
internal ListAssessmentFrameworksPaginator(IAmazonAuditManager client, ListAssessmentFrameworksRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssessmentFrameworksResponse> IPaginator<ListAssessmentFrameworksResponse>.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;
ListAssessmentFrameworksResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssessmentFrameworks(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssessmentFrameworksResponse> IPaginator<ListAssessmentFrameworksResponse>.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;
ListAssessmentFrameworksResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssessmentFrameworksAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListAssessmentReports paginators.
/// </summary>
internal sealed partial class ListAssessmentReportsPaginator : IPaginator<ListAssessmentReportsResponse>, IListAssessmentReportsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListAssessmentReportsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssessmentReportsResponse> Responses => new PaginatedResponse<ListAssessmentReportsResponse>(this);
internal ListAssessmentReportsPaginator(IAmazonAuditManager client, ListAssessmentReportsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssessmentReportsResponse> IPaginator<ListAssessmentReportsResponse>.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;
ListAssessmentReportsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssessmentReports(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssessmentReportsResponse> IPaginator<ListAssessmentReportsResponse>.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;
ListAssessmentReportsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssessmentReportsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListAssessments paginators.
/// </summary>
internal sealed partial class ListAssessmentsPaginator : IPaginator<ListAssessmentsResponse>, IListAssessmentsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListAssessmentsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListAssessmentsResponse> Responses => new PaginatedResponse<ListAssessmentsResponse>(this);
internal ListAssessmentsPaginator(IAmazonAuditManager client, ListAssessmentsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListAssessmentsResponse> IPaginator<ListAssessmentsResponse>.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;
ListAssessmentsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListAssessments(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListAssessmentsResponse> IPaginator<ListAssessmentsResponse>.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;
ListAssessmentsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListAssessmentsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListControlDomainInsightsByAssessment paginators.
/// </summary>
internal sealed partial class ListControlDomainInsightsByAssessmentPaginator : IPaginator<ListControlDomainInsightsByAssessmentResponse>, IListControlDomainInsightsByAssessmentPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListControlDomainInsightsByAssessmentRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListControlDomainInsightsByAssessmentResponse> Responses => new PaginatedResponse<ListControlDomainInsightsByAssessmentResponse>(this);
internal ListControlDomainInsightsByAssessmentPaginator(IAmazonAuditManager client, ListControlDomainInsightsByAssessmentRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListControlDomainInsightsByAssessmentResponse> IPaginator<ListControlDomainInsightsByAssessmentResponse>.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;
ListControlDomainInsightsByAssessmentResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListControlDomainInsightsByAssessment(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListControlDomainInsightsByAssessmentResponse> IPaginator<ListControlDomainInsightsByAssessmentResponse>.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;
ListControlDomainInsightsByAssessmentResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListControlDomainInsightsByAssessmentAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListControlDomainInsights paginators.
/// </summary>
internal sealed partial class ListControlDomainInsightsPaginator : IPaginator<ListControlDomainInsightsResponse>, IListControlDomainInsightsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListControlDomainInsightsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListControlDomainInsightsResponse> Responses => new PaginatedResponse<ListControlDomainInsightsResponse>(this);
internal ListControlDomainInsightsPaginator(IAmazonAuditManager client, ListControlDomainInsightsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListControlDomainInsightsResponse> IPaginator<ListControlDomainInsightsResponse>.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;
ListControlDomainInsightsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListControlDomainInsights(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListControlDomainInsightsResponse> IPaginator<ListControlDomainInsightsResponse>.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;
ListControlDomainInsightsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListControlDomainInsightsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListControlInsightsByControlDomain paginators.
/// </summary>
internal sealed partial class ListControlInsightsByControlDomainPaginator : IPaginator<ListControlInsightsByControlDomainResponse>, IListControlInsightsByControlDomainPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListControlInsightsByControlDomainRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListControlInsightsByControlDomainResponse> Responses => new PaginatedResponse<ListControlInsightsByControlDomainResponse>(this);
internal ListControlInsightsByControlDomainPaginator(IAmazonAuditManager client, ListControlInsightsByControlDomainRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListControlInsightsByControlDomainResponse> IPaginator<ListControlInsightsByControlDomainResponse>.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;
ListControlInsightsByControlDomainResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListControlInsightsByControlDomain(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListControlInsightsByControlDomainResponse> IPaginator<ListControlInsightsByControlDomainResponse>.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;
ListControlInsightsByControlDomainResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListControlInsightsByControlDomainAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListControls paginators.
/// </summary>
internal sealed partial class ListControlsPaginator : IPaginator<ListControlsResponse>, IListControlsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListControlsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListControlsResponse> Responses => new PaginatedResponse<ListControlsResponse>(this);
internal ListControlsPaginator(IAmazonAuditManager client, ListControlsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListControlsResponse> IPaginator<ListControlsResponse>.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;
ListControlsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListControls(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListControlsResponse> IPaginator<ListControlsResponse>.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;
ListControlsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListControlsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListKeywordsForDataSource paginators.
/// </summary>
internal sealed partial class ListKeywordsForDataSourcePaginator : IPaginator<ListKeywordsForDataSourceResponse>, IListKeywordsForDataSourcePaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListKeywordsForDataSourceRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListKeywordsForDataSourceResponse> Responses => new PaginatedResponse<ListKeywordsForDataSourceResponse>(this);
internal ListKeywordsForDataSourcePaginator(IAmazonAuditManager client, ListKeywordsForDataSourceRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListKeywordsForDataSourceResponse> IPaginator<ListKeywordsForDataSourceResponse>.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;
ListKeywordsForDataSourceResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListKeywordsForDataSource(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListKeywordsForDataSourceResponse> IPaginator<ListKeywordsForDataSourceResponse>.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;
ListKeywordsForDataSourceResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListKeywordsForDataSourceAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Collections;
using System.Threading;
using System.Threading.Tasks;
using Amazon.Runtime;
namespace Amazon.AuditManager.Model
{
/// <summary>
/// Base class for ListNotifications paginators.
/// </summary>
internal sealed partial class ListNotificationsPaginator : IPaginator<ListNotificationsResponse>, IListNotificationsPaginator
{
private readonly IAmazonAuditManager _client;
private readonly ListNotificationsRequest _request;
private int _isPaginatorInUse = 0;
/// <summary>
/// Enumerable containing all full responses for the operation
/// </summary>
public IPaginatedEnumerable<ListNotificationsResponse> Responses => new PaginatedResponse<ListNotificationsResponse>(this);
internal ListNotificationsPaginator(IAmazonAuditManager client, ListNotificationsRequest request)
{
this._client = client;
this._request = request;
}
#if BCL
IEnumerable<ListNotificationsResponse> IPaginator<ListNotificationsResponse>.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;
ListNotificationsResponse response;
do
{
_request.NextToken = nextToken;
response = _client.ListNotifications(_request);
nextToken = response.NextToken;
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
#if AWS_ASYNC_ENUMERABLES_API
async IAsyncEnumerable<ListNotificationsResponse> IPaginator<ListNotificationsResponse>.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;
ListNotificationsResponse response;
do
{
_request.NextToken = nextToken;
response = await _client.ListNotificationsAsync(_request, cancellationToken).ConfigureAwait(false);
nextToken = response.NextToken;
cancellationToken.ThrowIfCancellationRequested();
yield return response;
}
while (!string.IsNullOrEmpty(nextToken));
}
#endif
}
}
| 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 auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.AuditManager.Model;
using Amazon.AuditManager.Model.Internal.MarshallTransformations;
using Amazon.AuditManager.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AuditManager
{
/// <summary>
/// Implementation for accessing AuditManager
///
/// Welcome to the Audit Manager API reference. This guide is for developers who need
/// detailed information about the Audit Manager API operations, data types, and errors.
///
///
///
/// <para>
/// Audit Manager is a service that provides automated evidence collection so that you
/// can continually audit your Amazon Web Services usage. You can use it to assess the
/// effectiveness of your controls, manage risk, and simplify compliance.
/// </para>
///
/// <para>
/// Audit Manager provides prebuilt frameworks that structure and automate assessments
/// for a given compliance standard. Frameworks include a prebuilt collection of controls
/// with descriptions and testing procedures. These controls are grouped according to
/// the requirements of the specified compliance standard or regulation. You can also
/// customize frameworks and controls to support internal audits with specific requirements.
///
/// </para>
///
/// <para>
/// Use the following links to get started with the Audit Manager API:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>:
/// An alphabetical list of all Audit Manager API operations.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data
/// types</a>: An alphabetical list of all Audit Manager data types.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
/// parameters</a>: Parameters that all operations can use.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common
/// errors</a>: Client and server errors that all operations can return.
/// </para>
/// </li> </ul>
/// <para>
/// If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
/// Audit Manager User Guide</a>.
/// </para>
/// </summary>
public partial class AmazonAuditManagerClient : AmazonServiceClient, IAmazonAuditManager
{
private static IServiceMetadata serviceMetadata = new AmazonAuditManagerMetadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IAuditManagerPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAuditManagerPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AuditManagerPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig()) { }
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(AmazonAuditManagerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAuditManagerClient(AWSCredentials credentials)
: this(credentials, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAuditManagerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAuditManagerConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials and an
/// AmazonAuditManagerClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(AWSCredentials credentials, AmazonAuditManagerConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAuditManagerClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAuditManagerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAuditManagerClient 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 AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAuditManagerConfig 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 AmazonAuditManagerEndpointResolver());
}
/// <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 AssociateAssessmentReportEvidenceFolder
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual AssociateAssessmentReportEvidenceFolderResponse AssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<AssociateAssessmentReportEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the AssociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder operation on AmazonAuditManagerClient.</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 EndAssociateAssessmentReportEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual IAsyncResult BeginAssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the AssociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateAssessmentReportEvidenceFolder.</param>
///
/// <returns>Returns a AssociateAssessmentReportEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual AssociateAssessmentReportEvidenceFolderResponse EndAssociateAssessmentReportEvidenceFolder(IAsyncResult asyncResult)
{
return EndInvoke<AssociateAssessmentReportEvidenceFolderResponse>(asyncResult);
}
#endregion
#region BatchAssociateAssessmentReportEvidence
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
public virtual BatchAssociateAssessmentReportEvidenceResponse BatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return Invoke<BatchAssociateAssessmentReportEvidenceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchAssociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence operation on AmazonAuditManagerClient.</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 EndBatchAssociateAssessmentReportEvidence
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
public virtual IAsyncResult BeginBatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchAssociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchAssociateAssessmentReportEvidence.</param>
///
/// <returns>Returns a BatchAssociateAssessmentReportEvidenceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
public virtual BatchAssociateAssessmentReportEvidenceResponse EndBatchAssociateAssessmentReportEvidence(IAsyncResult asyncResult)
{
return EndInvoke<BatchAssociateAssessmentReportEvidenceResponse>(asyncResult);
}
#endregion
#region BatchCreateDelegationByAssessment
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
public virtual BatchCreateDelegationByAssessmentResponse BatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance;
return Invoke<BatchCreateDelegationByAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchCreateDelegationByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment operation on AmazonAuditManagerClient.</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 EndBatchCreateDelegationByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
public virtual IAsyncResult BeginBatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchCreateDelegationByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchCreateDelegationByAssessment.</param>
///
/// <returns>Returns a BatchCreateDelegationByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
public virtual BatchCreateDelegationByAssessmentResponse EndBatchCreateDelegationByAssessment(IAsyncResult asyncResult)
{
return EndInvoke<BatchCreateDelegationByAssessmentResponse>(asyncResult);
}
#endregion
#region BatchDeleteDelegationByAssessment
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
public virtual BatchDeleteDelegationByAssessmentResponse BatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance;
return Invoke<BatchDeleteDelegationByAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchDeleteDelegationByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment operation on AmazonAuditManagerClient.</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 EndBatchDeleteDelegationByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
public virtual IAsyncResult BeginBatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchDeleteDelegationByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchDeleteDelegationByAssessment.</param>
///
/// <returns>Returns a BatchDeleteDelegationByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
public virtual BatchDeleteDelegationByAssessmentResponse EndBatchDeleteDelegationByAssessment(IAsyncResult asyncResult)
{
return EndInvoke<BatchDeleteDelegationByAssessmentResponse>(asyncResult);
}
#endregion
#region BatchDisassociateAssessmentReportEvidence
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
public virtual BatchDisassociateAssessmentReportEvidenceResponse BatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return Invoke<BatchDisassociateAssessmentReportEvidenceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchDisassociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence operation on AmazonAuditManagerClient.</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 EndBatchDisassociateAssessmentReportEvidence
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
public virtual IAsyncResult BeginBatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchDisassociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchDisassociateAssessmentReportEvidence.</param>
///
/// <returns>Returns a BatchDisassociateAssessmentReportEvidenceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
public virtual BatchDisassociateAssessmentReportEvidenceResponse EndBatchDisassociateAssessmentReportEvidence(IAsyncResult asyncResult)
{
return EndInvoke<BatchDisassociateAssessmentReportEvidenceResponse>(asyncResult);
}
#endregion
#region BatchImportEvidenceToAssessmentControl
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
public virtual BatchImportEvidenceToAssessmentControlResponse BatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance;
return Invoke<BatchImportEvidenceToAssessmentControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the BatchImportEvidenceToAssessmentControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl operation on AmazonAuditManagerClient.</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 EndBatchImportEvidenceToAssessmentControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
public virtual IAsyncResult BeginBatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the BatchImportEvidenceToAssessmentControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchImportEvidenceToAssessmentControl.</param>
///
/// <returns>Returns a BatchImportEvidenceToAssessmentControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
public virtual BatchImportEvidenceToAssessmentControlResponse EndBatchImportEvidenceToAssessmentControl(IAsyncResult asyncResult)
{
return EndInvoke<BatchImportEvidenceToAssessmentControlResponse>(asyncResult);
}
#endregion
#region CreateAssessment
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
public virtual CreateAssessmentResponse CreateAssessment(CreateAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment operation on AmazonAuditManagerClient.</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 EndCreateAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
public virtual IAsyncResult BeginCreateAssessment(CreateAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAssessment.</param>
///
/// <returns>Returns a CreateAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
public virtual CreateAssessmentResponse EndCreateAssessment(IAsyncResult asyncResult)
{
return EndInvoke<CreateAssessmentResponse>(asyncResult);
}
#endregion
#region CreateAssessmentFramework
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
public virtual CreateAssessmentFrameworkResponse CreateAssessmentFramework(CreateAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework operation on AmazonAuditManagerClient.</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 EndCreateAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
public virtual IAsyncResult BeginCreateAssessmentFramework(CreateAssessmentFrameworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAssessmentFramework.</param>
///
/// <returns>Returns a CreateAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
public virtual CreateAssessmentFrameworkResponse EndCreateAssessmentFramework(IAsyncResult asyncResult)
{
return EndInvoke<CreateAssessmentFrameworkResponse>(asyncResult);
}
#endregion
#region CreateAssessmentReport
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
public virtual CreateAssessmentReportResponse CreateAssessmentReport(CreateAssessmentReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentReportResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateAssessmentReport operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport operation on AmazonAuditManagerClient.</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 EndCreateAssessmentReport
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
public virtual IAsyncResult BeginCreateAssessmentReport(CreateAssessmentReportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateAssessmentReport operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAssessmentReport.</param>
///
/// <returns>Returns a CreateAssessmentReportResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
public virtual CreateAssessmentReportResponse EndCreateAssessmentReport(IAsyncResult asyncResult)
{
return EndInvoke<CreateAssessmentReportResponse>(asyncResult);
}
#endregion
#region CreateControl
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
public virtual CreateControlResponse CreateControl(CreateControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance;
return Invoke<CreateControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the CreateControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateControl operation on AmazonAuditManagerClient.</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 EndCreateControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
public virtual IAsyncResult BeginCreateControl(CreateControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the CreateControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateControl.</param>
///
/// <returns>Returns a CreateControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
public virtual CreateControlResponse EndCreateControl(IAsyncResult asyncResult)
{
return EndInvoke<CreateControlResponse>(asyncResult);
}
#endregion
#region DeleteAssessment
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
public virtual DeleteAssessmentResponse DeleteAssessment(DeleteAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment operation on AmazonAuditManagerClient.</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 EndDeleteAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
public virtual IAsyncResult BeginDeleteAssessment(DeleteAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessment.</param>
///
/// <returns>Returns a DeleteAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
public virtual DeleteAssessmentResponse EndDeleteAssessment(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAssessmentResponse>(asyncResult);
}
#endregion
#region DeleteAssessmentFramework
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
public virtual DeleteAssessmentFrameworkResponse DeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework operation on AmazonAuditManagerClient.</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 EndDeleteAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
public virtual IAsyncResult BeginDeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessmentFramework.</param>
///
/// <returns>Returns a DeleteAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
public virtual DeleteAssessmentFrameworkResponse EndDeleteAssessmentFramework(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAssessmentFrameworkResponse>(asyncResult);
}
#endregion
#region DeleteAssessmentFrameworkShare
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
public virtual DeleteAssessmentFrameworkShareResponse DeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare operation on AmazonAuditManagerClient.</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 EndDeleteAssessmentFrameworkShare
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
public virtual IAsyncResult BeginDeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessmentFrameworkShare.</param>
///
/// <returns>Returns a DeleteAssessmentFrameworkShareResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
public virtual DeleteAssessmentFrameworkShareResponse EndDeleteAssessmentFrameworkShare(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAssessmentFrameworkShareResponse>(asyncResult);
}
#endregion
#region DeleteAssessmentReport
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
public virtual DeleteAssessmentReportResponse DeleteAssessmentReport(DeleteAssessmentReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentReportResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessmentReport operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport operation on AmazonAuditManagerClient.</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 EndDeleteAssessmentReport
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
public virtual IAsyncResult BeginDeleteAssessmentReport(DeleteAssessmentReportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessmentReport operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessmentReport.</param>
///
/// <returns>Returns a DeleteAssessmentReportResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
public virtual DeleteAssessmentReportResponse EndDeleteAssessmentReport(IAsyncResult asyncResult)
{
return EndInvoke<DeleteAssessmentReportResponse>(asyncResult);
}
#endregion
#region DeleteControl
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
public virtual DeleteControlResponse DeleteControl(DeleteControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance;
return Invoke<DeleteControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeleteControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteControl operation on AmazonAuditManagerClient.</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 EndDeleteControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
public virtual IAsyncResult BeginDeleteControl(DeleteControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeleteControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteControl.</param>
///
/// <returns>Returns a DeleteControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
public virtual DeleteControlResponse EndDeleteControl(IAsyncResult asyncResult)
{
return EndInvoke<DeleteControlResponse>(asyncResult);
}
#endregion
#region DeregisterAccount
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
public virtual DeregisterAccountResponse DeregisterAccount(DeregisterAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance;
return Invoke<DeregisterAccountResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeregisterAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount operation on AmazonAuditManagerClient.</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 EndDeregisterAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
public virtual IAsyncResult BeginDeregisterAccount(DeregisterAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeregisterAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeregisterAccount.</param>
///
/// <returns>Returns a DeregisterAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
public virtual DeregisterAccountResponse EndDeregisterAccount(IAsyncResult asyncResult)
{
return EndInvoke<DeregisterAccountResponse>(asyncResult);
}
#endregion
#region DeregisterOrganizationAdminAccount
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
public virtual DeregisterOrganizationAdminAccountResponse DeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<DeregisterOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DeregisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount operation on AmazonAuditManagerClient.</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 EndDeregisterOrganizationAdminAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
public virtual IAsyncResult BeginDeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DeregisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeregisterOrganizationAdminAccount.</param>
///
/// <returns>Returns a DeregisterOrganizationAdminAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
public virtual DeregisterOrganizationAdminAccountResponse EndDeregisterOrganizationAdminAccount(IAsyncResult asyncResult)
{
return EndInvoke<DeregisterOrganizationAdminAccountResponse>(asyncResult);
}
#endregion
#region DisassociateAssessmentReportEvidenceFolder
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual DisassociateAssessmentReportEvidenceFolderResponse DisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<DisassociateAssessmentReportEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the DisassociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder operation on AmazonAuditManagerClient.</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 EndDisassociateAssessmentReportEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual IAsyncResult BeginDisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the DisassociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateAssessmentReportEvidenceFolder.</param>
///
/// <returns>Returns a DisassociateAssessmentReportEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual DisassociateAssessmentReportEvidenceFolderResponse EndDisassociateAssessmentReportEvidenceFolder(IAsyncResult asyncResult)
{
return EndInvoke<DisassociateAssessmentReportEvidenceFolderResponse>(asyncResult);
}
#endregion
#region GetAccountStatus
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
public virtual GetAccountStatusResponse GetAccountStatus(GetAccountStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance;
return Invoke<GetAccountStatusResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAccountStatus operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus operation on AmazonAuditManagerClient.</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 EndGetAccountStatus
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
public virtual IAsyncResult BeginGetAccountStatus(GetAccountStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAccountStatus operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAccountStatus.</param>
///
/// <returns>Returns a GetAccountStatusResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
public virtual GetAccountStatusResponse EndGetAccountStatus(IAsyncResult asyncResult)
{
return EndInvoke<GetAccountStatusResponse>(asyncResult);
}
#endregion
#region GetAssessment
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
public virtual GetAssessmentResponse GetAssessment(GetAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance;
return Invoke<GetAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssessment operation on AmazonAuditManagerClient.</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 EndGetAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
public virtual IAsyncResult BeginGetAssessment(GetAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssessment.</param>
///
/// <returns>Returns a GetAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
public virtual GetAssessmentResponse EndGetAssessment(IAsyncResult asyncResult)
{
return EndInvoke<GetAssessmentResponse>(asyncResult);
}
#endregion
#region GetAssessmentFramework
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
public virtual GetAssessmentFrameworkResponse GetAssessmentFramework(GetAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<GetAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework operation on AmazonAuditManagerClient.</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 EndGetAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
public virtual IAsyncResult BeginGetAssessmentFramework(GetAssessmentFrameworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssessmentFramework.</param>
///
/// <returns>Returns a GetAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
public virtual GetAssessmentFrameworkResponse EndGetAssessmentFramework(IAsyncResult asyncResult)
{
return EndInvoke<GetAssessmentFrameworkResponse>(asyncResult);
}
#endregion
#region GetAssessmentReportUrl
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
public virtual GetAssessmentReportUrlResponse GetAssessmentReportUrl(GetAssessmentReportUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance;
return Invoke<GetAssessmentReportUrlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetAssessmentReportUrl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl operation on AmazonAuditManagerClient.</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 EndGetAssessmentReportUrl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
public virtual IAsyncResult BeginGetAssessmentReportUrl(GetAssessmentReportUrlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetAssessmentReportUrl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssessmentReportUrl.</param>
///
/// <returns>Returns a GetAssessmentReportUrlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
public virtual GetAssessmentReportUrlResponse EndGetAssessmentReportUrl(IAsyncResult asyncResult)
{
return EndInvoke<GetAssessmentReportUrlResponse>(asyncResult);
}
#endregion
#region GetChangeLogs
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
public virtual GetChangeLogsResponse GetChangeLogs(GetChangeLogsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance;
return Invoke<GetChangeLogsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetChangeLogs operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs operation on AmazonAuditManagerClient.</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 EndGetChangeLogs
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
public virtual IAsyncResult BeginGetChangeLogs(GetChangeLogsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetChangeLogs operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChangeLogs.</param>
///
/// <returns>Returns a GetChangeLogsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
public virtual GetChangeLogsResponse EndGetChangeLogs(IAsyncResult asyncResult)
{
return EndInvoke<GetChangeLogsResponse>(asyncResult);
}
#endregion
#region GetControl
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
public virtual GetControlResponse GetControl(GetControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance;
return Invoke<GetControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetControl operation on AmazonAuditManagerClient.</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 EndGetControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
public virtual IAsyncResult BeginGetControl(GetControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetControl.</param>
///
/// <returns>Returns a GetControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
public virtual GetControlResponse EndGetControl(IAsyncResult asyncResult)
{
return EndInvoke<GetControlResponse>(asyncResult);
}
#endregion
#region GetDelegations
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
public virtual GetDelegationsResponse GetDelegations(GetDelegationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance;
return Invoke<GetDelegationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetDelegations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDelegations operation on AmazonAuditManagerClient.</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 EndGetDelegations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
public virtual IAsyncResult BeginGetDelegations(GetDelegationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetDelegations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDelegations.</param>
///
/// <returns>Returns a GetDelegationsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
public virtual GetDelegationsResponse EndGetDelegations(IAsyncResult asyncResult)
{
return EndInvoke<GetDelegationsResponse>(asyncResult);
}
#endregion
#region GetEvidence
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
public virtual GetEvidenceResponse GetEvidence(GetEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance;
return Invoke<GetEvidenceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetEvidence operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidence operation on AmazonAuditManagerClient.</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 EndGetEvidence
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
public virtual IAsyncResult BeginGetEvidence(GetEvidenceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetEvidence operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidence.</param>
///
/// <returns>Returns a GetEvidenceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
public virtual GetEvidenceResponse EndGetEvidence(IAsyncResult asyncResult)
{
return EndInvoke<GetEvidenceResponse>(asyncResult);
}
#endregion
#region GetEvidenceByEvidenceFolder
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
public virtual GetEvidenceByEvidenceFolderResponse GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<GetEvidenceByEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceByEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder operation on AmazonAuditManagerClient.</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 EndGetEvidenceByEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
public virtual IAsyncResult BeginGetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceByEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceByEvidenceFolder.</param>
///
/// <returns>Returns a GetEvidenceByEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
public virtual GetEvidenceByEvidenceFolderResponse EndGetEvidenceByEvidenceFolder(IAsyncResult asyncResult)
{
return EndInvoke<GetEvidenceByEvidenceFolderResponse>(asyncResult);
}
#endregion
#region GetEvidenceFileUploadUrl
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
public virtual GetEvidenceFileUploadUrlResponse GetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFileUploadUrlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFileUploadUrl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl operation on AmazonAuditManagerClient.</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 EndGetEvidenceFileUploadUrl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
public virtual IAsyncResult BeginGetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFileUploadUrl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFileUploadUrl.</param>
///
/// <returns>Returns a GetEvidenceFileUploadUrlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
public virtual GetEvidenceFileUploadUrlResponse EndGetEvidenceFileUploadUrl(IAsyncResult asyncResult)
{
return EndInvoke<GetEvidenceFileUploadUrlResponse>(asyncResult);
}
#endregion
#region GetEvidenceFolder
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
public virtual GetEvidenceFolderResponse GetEvidenceFolder(GetEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder operation on AmazonAuditManagerClient.</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 EndGetEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
public virtual IAsyncResult BeginGetEvidenceFolder(GetEvidenceFolderRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFolder.</param>
///
/// <returns>Returns a GetEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
public virtual GetEvidenceFolderResponse EndGetEvidenceFolder(IAsyncResult asyncResult)
{
return EndInvoke<GetEvidenceFolderResponse>(asyncResult);
}
#endregion
#region GetEvidenceFoldersByAssessment
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
public virtual GetEvidenceFoldersByAssessmentResponse GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFoldersByAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFoldersByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment operation on AmazonAuditManagerClient.</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 EndGetEvidenceFoldersByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
public virtual IAsyncResult BeginGetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFoldersByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFoldersByAssessment.</param>
///
/// <returns>Returns a GetEvidenceFoldersByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
public virtual GetEvidenceFoldersByAssessmentResponse EndGetEvidenceFoldersByAssessment(IAsyncResult asyncResult)
{
return EndInvoke<GetEvidenceFoldersByAssessmentResponse>(asyncResult);
}
#endregion
#region GetEvidenceFoldersByAssessmentControl
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
public virtual GetEvidenceFoldersByAssessmentControlResponse GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFoldersByAssessmentControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFoldersByAssessmentControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl operation on AmazonAuditManagerClient.</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 EndGetEvidenceFoldersByAssessmentControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
public virtual IAsyncResult BeginGetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFoldersByAssessmentControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFoldersByAssessmentControl.</param>
///
/// <returns>Returns a GetEvidenceFoldersByAssessmentControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
public virtual GetEvidenceFoldersByAssessmentControlResponse EndGetEvidenceFoldersByAssessmentControl(IAsyncResult asyncResult)
{
return EndInvoke<GetEvidenceFoldersByAssessmentControlResponse>(asyncResult);
}
#endregion
#region GetInsights
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
public virtual GetInsightsResponse GetInsights(GetInsightsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance;
return Invoke<GetInsightsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetInsights operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetInsights operation on AmazonAuditManagerClient.</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 EndGetInsights
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
public virtual IAsyncResult BeginGetInsights(GetInsightsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetInsights operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetInsights.</param>
///
/// <returns>Returns a GetInsightsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
public virtual GetInsightsResponse EndGetInsights(IAsyncResult asyncResult)
{
return EndInvoke<GetInsightsResponse>(asyncResult);
}
#endregion
#region GetInsightsByAssessment
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
public virtual GetInsightsByAssessmentResponse GetInsightsByAssessment(GetInsightsByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance;
return Invoke<GetInsightsByAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetInsightsByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment operation on AmazonAuditManagerClient.</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 EndGetInsightsByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
public virtual IAsyncResult BeginGetInsightsByAssessment(GetInsightsByAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetInsightsByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetInsightsByAssessment.</param>
///
/// <returns>Returns a GetInsightsByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
public virtual GetInsightsByAssessmentResponse EndGetInsightsByAssessment(IAsyncResult asyncResult)
{
return EndInvoke<GetInsightsByAssessmentResponse>(asyncResult);
}
#endregion
#region GetOrganizationAdminAccount
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
public virtual GetOrganizationAdminAccountResponse GetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<GetOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount operation on AmazonAuditManagerClient.</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 EndGetOrganizationAdminAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
public virtual IAsyncResult BeginGetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetOrganizationAdminAccount.</param>
///
/// <returns>Returns a GetOrganizationAdminAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
public virtual GetOrganizationAdminAccountResponse EndGetOrganizationAdminAccount(IAsyncResult asyncResult)
{
return EndInvoke<GetOrganizationAdminAccountResponse>(asyncResult);
}
#endregion
#region GetServicesInScope
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
public virtual GetServicesInScopeResponse GetServicesInScope(GetServicesInScopeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance;
return Invoke<GetServicesInScopeResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetServicesInScope operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope operation on AmazonAuditManagerClient.</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 EndGetServicesInScope
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
public virtual IAsyncResult BeginGetServicesInScope(GetServicesInScopeRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetServicesInScope operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetServicesInScope.</param>
///
/// <returns>Returns a GetServicesInScopeResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
public virtual GetServicesInScopeResponse EndGetServicesInScope(IAsyncResult asyncResult)
{
return EndInvoke<GetServicesInScopeResponse>(asyncResult);
}
#endregion
#region GetSettings
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
public virtual GetSettingsResponse GetSettings(GetSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance;
return Invoke<GetSettingsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the GetSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSettings operation on AmazonAuditManagerClient.</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 EndGetSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
public virtual IAsyncResult BeginGetSettings(GetSettingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the GetSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSettings.</param>
///
/// <returns>Returns a GetSettingsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
public virtual GetSettingsResponse EndGetSettings(IAsyncResult asyncResult)
{
return EndInvoke<GetSettingsResponse>(asyncResult);
}
#endregion
#region ListAssessmentControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
public virtual ListAssessmentControlInsightsByControlDomainResponse ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance;
return Invoke<ListAssessmentControlInsightsByControlDomainResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain operation on AmazonAuditManagerClient.</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 EndListAssessmentControlInsightsByControlDomain
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
public virtual IAsyncResult BeginListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentControlInsightsByControlDomain.</param>
///
/// <returns>Returns a ListAssessmentControlInsightsByControlDomainResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
public virtual ListAssessmentControlInsightsByControlDomainResponse EndListAssessmentControlInsightsByControlDomain(IAsyncResult asyncResult)
{
return EndInvoke<ListAssessmentControlInsightsByControlDomainResponse>(asyncResult);
}
#endregion
#region ListAssessmentFrameworks
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
public virtual ListAssessmentFrameworksResponse ListAssessmentFrameworks(ListAssessmentFrameworksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance;
return Invoke<ListAssessmentFrameworksResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentFrameworks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks operation on AmazonAuditManagerClient.</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 EndListAssessmentFrameworks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
public virtual IAsyncResult BeginListAssessmentFrameworks(ListAssessmentFrameworksRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentFrameworks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentFrameworks.</param>
///
/// <returns>Returns a ListAssessmentFrameworksResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
public virtual ListAssessmentFrameworksResponse EndListAssessmentFrameworks(IAsyncResult asyncResult)
{
return EndInvoke<ListAssessmentFrameworksResponse>(asyncResult);
}
#endregion
#region ListAssessmentFrameworkShareRequests
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
public virtual ListAssessmentFrameworkShareRequestsResponse ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentFrameworkShareRequestsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentFrameworkShareRequests operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests operation on AmazonAuditManagerClient.</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 EndListAssessmentFrameworkShareRequests
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
public virtual IAsyncResult BeginListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentFrameworkShareRequests operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentFrameworkShareRequests.</param>
///
/// <returns>Returns a ListAssessmentFrameworkShareRequestsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
public virtual ListAssessmentFrameworkShareRequestsResponse EndListAssessmentFrameworkShareRequests(IAsyncResult asyncResult)
{
return EndInvoke<ListAssessmentFrameworkShareRequestsResponse>(asyncResult);
}
#endregion
#region ListAssessmentReports
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
public virtual ListAssessmentReportsResponse ListAssessmentReports(ListAssessmentReportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentReportsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentReports operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports operation on AmazonAuditManagerClient.</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 EndListAssessmentReports
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
public virtual IAsyncResult BeginListAssessmentReports(ListAssessmentReportsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentReports operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentReports.</param>
///
/// <returns>Returns a ListAssessmentReportsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
public virtual ListAssessmentReportsResponse EndListAssessmentReports(IAsyncResult asyncResult)
{
return EndInvoke<ListAssessmentReportsResponse>(asyncResult);
}
#endregion
#region ListAssessments
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
public virtual ListAssessmentsResponse ListAssessments(ListAssessmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListAssessments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessments operation on AmazonAuditManagerClient.</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 EndListAssessments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
public virtual IAsyncResult BeginListAssessments(ListAssessmentsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListAssessments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessments.</param>
///
/// <returns>Returns a ListAssessmentsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
public virtual ListAssessmentsResponse EndListAssessments(IAsyncResult asyncResult)
{
return EndInvoke<ListAssessmentsResponse>(asyncResult);
}
#endregion
#region ListControlDomainInsights
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
public virtual ListControlDomainInsightsResponse ListControlDomainInsights(ListControlDomainInsightsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance;
return Invoke<ListControlDomainInsightsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListControlDomainInsights operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights operation on AmazonAuditManagerClient.</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 EndListControlDomainInsights
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
public virtual IAsyncResult BeginListControlDomainInsights(ListControlDomainInsightsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListControlDomainInsights operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControlDomainInsights.</param>
///
/// <returns>Returns a ListControlDomainInsightsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
public virtual ListControlDomainInsightsResponse EndListControlDomainInsights(IAsyncResult asyncResult)
{
return EndInvoke<ListControlDomainInsightsResponse>(asyncResult);
}
#endregion
#region ListControlDomainInsightsByAssessment
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
public virtual ListControlDomainInsightsByAssessmentResponse ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance;
return Invoke<ListControlDomainInsightsByAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListControlDomainInsightsByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment operation on AmazonAuditManagerClient.</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 EndListControlDomainInsightsByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
public virtual IAsyncResult BeginListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListControlDomainInsightsByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControlDomainInsightsByAssessment.</param>
///
/// <returns>Returns a ListControlDomainInsightsByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
public virtual ListControlDomainInsightsByAssessmentResponse EndListControlDomainInsightsByAssessment(IAsyncResult asyncResult)
{
return EndInvoke<ListControlDomainInsightsByAssessmentResponse>(asyncResult);
}
#endregion
#region ListControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
public virtual ListControlInsightsByControlDomainResponse ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance;
return Invoke<ListControlInsightsByControlDomainResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain operation on AmazonAuditManagerClient.</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 EndListControlInsightsByControlDomain
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
public virtual IAsyncResult BeginListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControlInsightsByControlDomain.</param>
///
/// <returns>Returns a ListControlInsightsByControlDomainResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
public virtual ListControlInsightsByControlDomainResponse EndListControlInsightsByControlDomain(IAsyncResult asyncResult)
{
return EndInvoke<ListControlInsightsByControlDomainResponse>(asyncResult);
}
#endregion
#region ListControls
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
public virtual ListControlsResponse ListControls(ListControlsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance;
return Invoke<ListControlsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListControls operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControls operation on AmazonAuditManagerClient.</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 EndListControls
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
public virtual IAsyncResult BeginListControls(ListControlsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListControls operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControls.</param>
///
/// <returns>Returns a ListControlsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
public virtual ListControlsResponse EndListControls(IAsyncResult asyncResult)
{
return EndInvoke<ListControlsResponse>(asyncResult);
}
#endregion
#region ListKeywordsForDataSource
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
public virtual ListKeywordsForDataSourceResponse ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance;
return Invoke<ListKeywordsForDataSourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListKeywordsForDataSource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource operation on AmazonAuditManagerClient.</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 EndListKeywordsForDataSource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
public virtual IAsyncResult BeginListKeywordsForDataSource(ListKeywordsForDataSourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListKeywordsForDataSource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListKeywordsForDataSource.</param>
///
/// <returns>Returns a ListKeywordsForDataSourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
public virtual ListKeywordsForDataSourceResponse EndListKeywordsForDataSource(IAsyncResult asyncResult)
{
return EndInvoke<ListKeywordsForDataSourceResponse>(asyncResult);
}
#endregion
#region ListNotifications
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
public virtual ListNotificationsResponse ListNotifications(ListNotificationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance;
return Invoke<ListNotificationsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListNotifications operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListNotifications operation on AmazonAuditManagerClient.</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 EndListNotifications
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
public virtual IAsyncResult BeginListNotifications(ListNotificationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListNotifications operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListNotifications.</param>
///
/// <returns>Returns a ListNotificationsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
public virtual ListNotificationsResponse EndListNotifications(IAsyncResult asyncResult)
{
return EndInvoke<ListNotificationsResponse>(asyncResult);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAuditManagerClient.</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/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke<ListTagsForResourceResponse>(asyncResult);
}
#endregion
#region RegisterAccount
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
public virtual RegisterAccountResponse RegisterAccount(RegisterAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance;
return Invoke<RegisterAccountResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the RegisterAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount operation on AmazonAuditManagerClient.</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 EndRegisterAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
public virtual IAsyncResult BeginRegisterAccount(RegisterAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the RegisterAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginRegisterAccount.</param>
///
/// <returns>Returns a RegisterAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
public virtual RegisterAccountResponse EndRegisterAccount(IAsyncResult asyncResult)
{
return EndInvoke<RegisterAccountResponse>(asyncResult);
}
#endregion
#region RegisterOrganizationAdminAccount
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
public virtual RegisterOrganizationAdminAccountResponse RegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<RegisterOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the RegisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount operation on AmazonAuditManagerClient.</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 EndRegisterOrganizationAdminAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
public virtual IAsyncResult BeginRegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the RegisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginRegisterOrganizationAdminAccount.</param>
///
/// <returns>Returns a RegisterOrganizationAdminAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
public virtual RegisterOrganizationAdminAccountResponse EndRegisterOrganizationAdminAccount(IAsyncResult asyncResult)
{
return EndInvoke<RegisterOrganizationAdminAccountResponse>(asyncResult);
}
#endregion
#region StartAssessmentFrameworkShare
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
public virtual StartAssessmentFrameworkShareResponse StartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<StartAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the StartAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare operation on AmazonAuditManagerClient.</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 EndStartAssessmentFrameworkShare
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
public virtual IAsyncResult BeginStartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the StartAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartAssessmentFrameworkShare.</param>
///
/// <returns>Returns a StartAssessmentFrameworkShareResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
public virtual StartAssessmentFrameworkShareResponse EndStartAssessmentFrameworkShare(IAsyncResult asyncResult)
{
return EndInvoke<StartAssessmentFrameworkShareResponse>(asyncResult);
}
#endregion
#region TagResource
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAuditManagerClient.</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/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke<TagResourceResponse>(asyncResult);
}
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAuditManagerClient.</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/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke<UntagResourceResponse>(asyncResult);
}
#endregion
#region UpdateAssessment
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
public virtual UpdateAssessmentResponse UpdateAssessment(UpdateAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment operation on AmazonAuditManagerClient.</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 EndUpdateAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
public virtual IAsyncResult BeginUpdateAssessment(UpdateAssessmentRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessment.</param>
///
/// <returns>Returns a UpdateAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
public virtual UpdateAssessmentResponse EndUpdateAssessment(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAssessmentResponse>(asyncResult);
}
#endregion
#region UpdateAssessmentControl
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
public virtual UpdateAssessmentControlResponse UpdateAssessmentControl(UpdateAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
public virtual IAsyncResult BeginUpdateAssessmentControl(UpdateAssessmentControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentControl.</param>
///
/// <returns>Returns a UpdateAssessmentControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
public virtual UpdateAssessmentControlResponse EndUpdateAssessmentControl(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAssessmentControlResponse>(asyncResult);
}
#endregion
#region UpdateAssessmentControlSetStatus
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
public virtual UpdateAssessmentControlSetStatusResponse UpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentControlSetStatusResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentControlSetStatus operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentControlSetStatus
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
public virtual IAsyncResult BeginUpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentControlSetStatus operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentControlSetStatus.</param>
///
/// <returns>Returns a UpdateAssessmentControlSetStatusResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
public virtual UpdateAssessmentControlSetStatusResponse EndUpdateAssessmentControlSetStatus(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAssessmentControlSetStatusResponse>(asyncResult);
}
#endregion
#region UpdateAssessmentFramework
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
public virtual UpdateAssessmentFrameworkResponse UpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
public virtual IAsyncResult BeginUpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentFramework.</param>
///
/// <returns>Returns a UpdateAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
public virtual UpdateAssessmentFrameworkResponse EndUpdateAssessmentFramework(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAssessmentFrameworkResponse>(asyncResult);
}
#endregion
#region UpdateAssessmentFrameworkShare
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
public virtual UpdateAssessmentFrameworkShareResponse UpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentFrameworkShare
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
public virtual IAsyncResult BeginUpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentFrameworkShare.</param>
///
/// <returns>Returns a UpdateAssessmentFrameworkShareResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
public virtual UpdateAssessmentFrameworkShareResponse EndUpdateAssessmentFrameworkShare(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAssessmentFrameworkShareResponse>(asyncResult);
}
#endregion
#region UpdateAssessmentStatus
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
public virtual UpdateAssessmentStatusResponse UpdateAssessmentStatus(UpdateAssessmentStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentStatusResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentStatus operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentStatus
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
public virtual IAsyncResult BeginUpdateAssessmentStatus(UpdateAssessmentStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentStatus operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentStatus.</param>
///
/// <returns>Returns a UpdateAssessmentStatusResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
public virtual UpdateAssessmentStatusResponse EndUpdateAssessmentStatus(IAsyncResult asyncResult)
{
return EndInvoke<UpdateAssessmentStatusResponse>(asyncResult);
}
#endregion
#region UpdateControl
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
public virtual UpdateControlResponse UpdateControl(UpdateControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance;
return Invoke<UpdateControlResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateControl operation on AmazonAuditManagerClient.</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 EndUpdateControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
public virtual IAsyncResult BeginUpdateControl(UpdateControlRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateControl.</param>
///
/// <returns>Returns a UpdateControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
public virtual UpdateControlResponse EndUpdateControl(IAsyncResult asyncResult)
{
return EndInvoke<UpdateControlResponse>(asyncResult);
}
#endregion
#region UpdateSettings
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
public virtual UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance;
return Invoke<UpdateSettingsResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the UpdateSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings operation on AmazonAuditManagerClient.</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 EndUpdateSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
public virtual IAsyncResult BeginUpdateSettings(UpdateSettingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the UpdateSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateSettings.</param>
///
/// <returns>Returns a UpdateSettingsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
public virtual UpdateSettingsResponse EndUpdateSettings(IAsyncResult asyncResult)
{
return EndInvoke<UpdateSettingsResponse>(asyncResult);
}
#endregion
#region ValidateAssessmentReportIntegrity
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
public virtual ValidateAssessmentReportIntegrityResponse ValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance;
return Invoke<ValidateAssessmentReportIntegrityResponse>(request, options);
}
/// <summary>
/// Initiates the asynchronous execution of the ValidateAssessmentReportIntegrity operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity operation on AmazonAuditManagerClient.</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 EndValidateAssessmentReportIntegrity
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
public virtual IAsyncResult BeginValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
/// <summary>
/// Finishes the asynchronous execution of the ValidateAssessmentReportIntegrity operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginValidateAssessmentReportIntegrity.</param>
///
/// <returns>Returns a ValidateAssessmentReportIntegrityResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
public virtual ValidateAssessmentReportIntegrityResponse EndValidateAssessmentReportIntegrity(IAsyncResult asyncResult)
{
return EndInvoke<ValidateAssessmentReportIntegrityResponse>(asyncResult);
}
#endregion
}
}
| 4,806 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AuditManager.Model;
namespace Amazon.AuditManager
{
/// <summary>
/// Interface for accessing AuditManager
///
/// Welcome to the Audit Manager API reference. This guide is for developers who need
/// detailed information about the Audit Manager API operations, data types, and errors.
///
///
///
/// <para>
/// Audit Manager is a service that provides automated evidence collection so that you
/// can continually audit your Amazon Web Services usage. You can use it to assess the
/// effectiveness of your controls, manage risk, and simplify compliance.
/// </para>
///
/// <para>
/// Audit Manager provides prebuilt frameworks that structure and automate assessments
/// for a given compliance standard. Frameworks include a prebuilt collection of controls
/// with descriptions and testing procedures. These controls are grouped according to
/// the requirements of the specified compliance standard or regulation. You can also
/// customize frameworks and controls to support internal audits with specific requirements.
///
/// </para>
///
/// <para>
/// Use the following links to get started with the Audit Manager API:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>:
/// An alphabetical list of all Audit Manager API operations.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data
/// types</a>: An alphabetical list of all Audit Manager data types.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
/// parameters</a>: Parameters that all operations can use.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common
/// errors</a>: Client and server errors that all operations can return.
/// </para>
/// </li> </ul>
/// <para>
/// If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
/// Audit Manager User Guide</a>.
/// </para>
/// </summary>
public partial interface IAmazonAuditManager : IAmazonService, IDisposable
{
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAuditManagerPaginatorFactory Paginators { get; }
#endif
#region AssociateAssessmentReportEvidenceFolder
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
AssociateAssessmentReportEvidenceFolderResponse AssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request);
/// <summary>
/// Initiates the asynchronous execution of the AssociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder operation on AmazonAuditManagerClient.</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 EndAssociateAssessmentReportEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
IAsyncResult BeginAssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the AssociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginAssociateAssessmentReportEvidenceFolder.</param>
///
/// <returns>Returns a AssociateAssessmentReportEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
AssociateAssessmentReportEvidenceFolderResponse EndAssociateAssessmentReportEvidenceFolder(IAsyncResult asyncResult);
#endregion
#region BatchAssociateAssessmentReportEvidence
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
BatchAssociateAssessmentReportEvidenceResponse BatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchAssociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence operation on AmazonAuditManagerClient.</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 EndBatchAssociateAssessmentReportEvidence
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
IAsyncResult BeginBatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchAssociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchAssociateAssessmentReportEvidence.</param>
///
/// <returns>Returns a BatchAssociateAssessmentReportEvidenceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
BatchAssociateAssessmentReportEvidenceResponse EndBatchAssociateAssessmentReportEvidence(IAsyncResult asyncResult);
#endregion
#region BatchCreateDelegationByAssessment
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
BatchCreateDelegationByAssessmentResponse BatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchCreateDelegationByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment operation on AmazonAuditManagerClient.</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 EndBatchCreateDelegationByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
IAsyncResult BeginBatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchCreateDelegationByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchCreateDelegationByAssessment.</param>
///
/// <returns>Returns a BatchCreateDelegationByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
BatchCreateDelegationByAssessmentResponse EndBatchCreateDelegationByAssessment(IAsyncResult asyncResult);
#endregion
#region BatchDeleteDelegationByAssessment
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
BatchDeleteDelegationByAssessmentResponse BatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchDeleteDelegationByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment operation on AmazonAuditManagerClient.</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 EndBatchDeleteDelegationByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
IAsyncResult BeginBatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchDeleteDelegationByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchDeleteDelegationByAssessment.</param>
///
/// <returns>Returns a BatchDeleteDelegationByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
BatchDeleteDelegationByAssessmentResponse EndBatchDeleteDelegationByAssessment(IAsyncResult asyncResult);
#endregion
#region BatchDisassociateAssessmentReportEvidence
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
BatchDisassociateAssessmentReportEvidenceResponse BatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchDisassociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence operation on AmazonAuditManagerClient.</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 EndBatchDisassociateAssessmentReportEvidence
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
IAsyncResult BeginBatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchDisassociateAssessmentReportEvidence operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchDisassociateAssessmentReportEvidence.</param>
///
/// <returns>Returns a BatchDisassociateAssessmentReportEvidenceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
BatchDisassociateAssessmentReportEvidenceResponse EndBatchDisassociateAssessmentReportEvidence(IAsyncResult asyncResult);
#endregion
#region BatchImportEvidenceToAssessmentControl
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
BatchImportEvidenceToAssessmentControlResponse BatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the BatchImportEvidenceToAssessmentControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl operation on AmazonAuditManagerClient.</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 EndBatchImportEvidenceToAssessmentControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
IAsyncResult BeginBatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the BatchImportEvidenceToAssessmentControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginBatchImportEvidenceToAssessmentControl.</param>
///
/// <returns>Returns a BatchImportEvidenceToAssessmentControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
BatchImportEvidenceToAssessmentControlResponse EndBatchImportEvidenceToAssessmentControl(IAsyncResult asyncResult);
#endregion
#region CreateAssessment
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
CreateAssessmentResponse CreateAssessment(CreateAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment operation on AmazonAuditManagerClient.</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 EndCreateAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
IAsyncResult BeginCreateAssessment(CreateAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAssessment.</param>
///
/// <returns>Returns a CreateAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
CreateAssessmentResponse EndCreateAssessment(IAsyncResult asyncResult);
#endregion
#region CreateAssessmentFramework
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
CreateAssessmentFrameworkResponse CreateAssessmentFramework(CreateAssessmentFrameworkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework operation on AmazonAuditManagerClient.</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 EndCreateAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
IAsyncResult BeginCreateAssessmentFramework(CreateAssessmentFrameworkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAssessmentFramework.</param>
///
/// <returns>Returns a CreateAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
CreateAssessmentFrameworkResponse EndCreateAssessmentFramework(IAsyncResult asyncResult);
#endregion
#region CreateAssessmentReport
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
CreateAssessmentReportResponse CreateAssessmentReport(CreateAssessmentReportRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateAssessmentReport operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport operation on AmazonAuditManagerClient.</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 EndCreateAssessmentReport
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
IAsyncResult BeginCreateAssessmentReport(CreateAssessmentReportRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateAssessmentReport operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateAssessmentReport.</param>
///
/// <returns>Returns a CreateAssessmentReportResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
CreateAssessmentReportResponse EndCreateAssessmentReport(IAsyncResult asyncResult);
#endregion
#region CreateControl
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
CreateControlResponse CreateControl(CreateControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the CreateControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the CreateControl operation on AmazonAuditManagerClient.</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 EndCreateControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
IAsyncResult BeginCreateControl(CreateControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the CreateControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginCreateControl.</param>
///
/// <returns>Returns a CreateControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
CreateControlResponse EndCreateControl(IAsyncResult asyncResult);
#endregion
#region DeleteAssessment
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
DeleteAssessmentResponse DeleteAssessment(DeleteAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment operation on AmazonAuditManagerClient.</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 EndDeleteAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
IAsyncResult BeginDeleteAssessment(DeleteAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessment.</param>
///
/// <returns>Returns a DeleteAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
DeleteAssessmentResponse EndDeleteAssessment(IAsyncResult asyncResult);
#endregion
#region DeleteAssessmentFramework
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
DeleteAssessmentFrameworkResponse DeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework operation on AmazonAuditManagerClient.</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 EndDeleteAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
IAsyncResult BeginDeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessmentFramework.</param>
///
/// <returns>Returns a DeleteAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
DeleteAssessmentFrameworkResponse EndDeleteAssessmentFramework(IAsyncResult asyncResult);
#endregion
#region DeleteAssessmentFrameworkShare
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
DeleteAssessmentFrameworkShareResponse DeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare operation on AmazonAuditManagerClient.</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 EndDeleteAssessmentFrameworkShare
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
IAsyncResult BeginDeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessmentFrameworkShare.</param>
///
/// <returns>Returns a DeleteAssessmentFrameworkShareResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
DeleteAssessmentFrameworkShareResponse EndDeleteAssessmentFrameworkShare(IAsyncResult asyncResult);
#endregion
#region DeleteAssessmentReport
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
DeleteAssessmentReportResponse DeleteAssessmentReport(DeleteAssessmentReportRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteAssessmentReport operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport operation on AmazonAuditManagerClient.</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 EndDeleteAssessmentReport
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
IAsyncResult BeginDeleteAssessmentReport(DeleteAssessmentReportRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteAssessmentReport operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteAssessmentReport.</param>
///
/// <returns>Returns a DeleteAssessmentReportResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
DeleteAssessmentReportResponse EndDeleteAssessmentReport(IAsyncResult asyncResult);
#endregion
#region DeleteControl
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
DeleteControlResponse DeleteControl(DeleteControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeleteControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeleteControl operation on AmazonAuditManagerClient.</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 EndDeleteControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
IAsyncResult BeginDeleteControl(DeleteControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeleteControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeleteControl.</param>
///
/// <returns>Returns a DeleteControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
DeleteControlResponse EndDeleteControl(IAsyncResult asyncResult);
#endregion
#region DeregisterAccount
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
DeregisterAccountResponse DeregisterAccount(DeregisterAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeregisterAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount operation on AmazonAuditManagerClient.</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 EndDeregisterAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
IAsyncResult BeginDeregisterAccount(DeregisterAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeregisterAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeregisterAccount.</param>
///
/// <returns>Returns a DeregisterAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
DeregisterAccountResponse EndDeregisterAccount(IAsyncResult asyncResult);
#endregion
#region DeregisterOrganizationAdminAccount
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
DeregisterOrganizationAdminAccountResponse DeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DeregisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount operation on AmazonAuditManagerClient.</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 EndDeregisterOrganizationAdminAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
IAsyncResult BeginDeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DeregisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDeregisterOrganizationAdminAccount.</param>
///
/// <returns>Returns a DeregisterOrganizationAdminAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
DeregisterOrganizationAdminAccountResponse EndDeregisterOrganizationAdminAccount(IAsyncResult asyncResult);
#endregion
#region DisassociateAssessmentReportEvidenceFolder
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
DisassociateAssessmentReportEvidenceFolderResponse DisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request);
/// <summary>
/// Initiates the asynchronous execution of the DisassociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder operation on AmazonAuditManagerClient.</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 EndDisassociateAssessmentReportEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
IAsyncResult BeginDisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the DisassociateAssessmentReportEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginDisassociateAssessmentReportEvidenceFolder.</param>
///
/// <returns>Returns a DisassociateAssessmentReportEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
DisassociateAssessmentReportEvidenceFolderResponse EndDisassociateAssessmentReportEvidenceFolder(IAsyncResult asyncResult);
#endregion
#region GetAccountStatus
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
GetAccountStatusResponse GetAccountStatus(GetAccountStatusRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAccountStatus operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus operation on AmazonAuditManagerClient.</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 EndGetAccountStatus
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
IAsyncResult BeginGetAccountStatus(GetAccountStatusRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAccountStatus operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAccountStatus.</param>
///
/// <returns>Returns a GetAccountStatusResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
GetAccountStatusResponse EndGetAccountStatus(IAsyncResult asyncResult);
#endregion
#region GetAssessment
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
GetAssessmentResponse GetAssessment(GetAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssessment operation on AmazonAuditManagerClient.</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 EndGetAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
IAsyncResult BeginGetAssessment(GetAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssessment.</param>
///
/// <returns>Returns a GetAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
GetAssessmentResponse EndGetAssessment(IAsyncResult asyncResult);
#endregion
#region GetAssessmentFramework
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
GetAssessmentFrameworkResponse GetAssessmentFramework(GetAssessmentFrameworkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework operation on AmazonAuditManagerClient.</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 EndGetAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
IAsyncResult BeginGetAssessmentFramework(GetAssessmentFrameworkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssessmentFramework.</param>
///
/// <returns>Returns a GetAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
GetAssessmentFrameworkResponse EndGetAssessmentFramework(IAsyncResult asyncResult);
#endregion
#region GetAssessmentReportUrl
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
GetAssessmentReportUrlResponse GetAssessmentReportUrl(GetAssessmentReportUrlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetAssessmentReportUrl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl operation on AmazonAuditManagerClient.</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 EndGetAssessmentReportUrl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
IAsyncResult BeginGetAssessmentReportUrl(GetAssessmentReportUrlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetAssessmentReportUrl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetAssessmentReportUrl.</param>
///
/// <returns>Returns a GetAssessmentReportUrlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
GetAssessmentReportUrlResponse EndGetAssessmentReportUrl(IAsyncResult asyncResult);
#endregion
#region GetChangeLogs
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
GetChangeLogsResponse GetChangeLogs(GetChangeLogsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetChangeLogs operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs operation on AmazonAuditManagerClient.</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 EndGetChangeLogs
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
IAsyncResult BeginGetChangeLogs(GetChangeLogsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetChangeLogs operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetChangeLogs.</param>
///
/// <returns>Returns a GetChangeLogsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
GetChangeLogsResponse EndGetChangeLogs(IAsyncResult asyncResult);
#endregion
#region GetControl
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
GetControlResponse GetControl(GetControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetControl operation on AmazonAuditManagerClient.</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 EndGetControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
IAsyncResult BeginGetControl(GetControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetControl.</param>
///
/// <returns>Returns a GetControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
GetControlResponse EndGetControl(IAsyncResult asyncResult);
#endregion
#region GetDelegations
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
GetDelegationsResponse GetDelegations(GetDelegationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetDelegations operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetDelegations operation on AmazonAuditManagerClient.</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 EndGetDelegations
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
IAsyncResult BeginGetDelegations(GetDelegationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetDelegations operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetDelegations.</param>
///
/// <returns>Returns a GetDelegationsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
GetDelegationsResponse EndGetDelegations(IAsyncResult asyncResult);
#endregion
#region GetEvidence
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
GetEvidenceResponse GetEvidence(GetEvidenceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetEvidence operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidence operation on AmazonAuditManagerClient.</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 EndGetEvidence
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
IAsyncResult BeginGetEvidence(GetEvidenceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetEvidence operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidence.</param>
///
/// <returns>Returns a GetEvidenceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
GetEvidenceResponse EndGetEvidence(IAsyncResult asyncResult);
#endregion
#region GetEvidenceByEvidenceFolder
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
GetEvidenceByEvidenceFolderResponse GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceByEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder operation on AmazonAuditManagerClient.</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 EndGetEvidenceByEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
IAsyncResult BeginGetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceByEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceByEvidenceFolder.</param>
///
/// <returns>Returns a GetEvidenceByEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
GetEvidenceByEvidenceFolderResponse EndGetEvidenceByEvidenceFolder(IAsyncResult asyncResult);
#endregion
#region GetEvidenceFileUploadUrl
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
GetEvidenceFileUploadUrlResponse GetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFileUploadUrl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl operation on AmazonAuditManagerClient.</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 EndGetEvidenceFileUploadUrl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
IAsyncResult BeginGetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFileUploadUrl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFileUploadUrl.</param>
///
/// <returns>Returns a GetEvidenceFileUploadUrlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
GetEvidenceFileUploadUrlResponse EndGetEvidenceFileUploadUrl(IAsyncResult asyncResult);
#endregion
#region GetEvidenceFolder
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
GetEvidenceFolderResponse GetEvidenceFolder(GetEvidenceFolderRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFolder operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder operation on AmazonAuditManagerClient.</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 EndGetEvidenceFolder
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
IAsyncResult BeginGetEvidenceFolder(GetEvidenceFolderRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFolder operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFolder.</param>
///
/// <returns>Returns a GetEvidenceFolderResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
GetEvidenceFolderResponse EndGetEvidenceFolder(IAsyncResult asyncResult);
#endregion
#region GetEvidenceFoldersByAssessment
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
GetEvidenceFoldersByAssessmentResponse GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFoldersByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment operation on AmazonAuditManagerClient.</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 EndGetEvidenceFoldersByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
IAsyncResult BeginGetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFoldersByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFoldersByAssessment.</param>
///
/// <returns>Returns a GetEvidenceFoldersByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
GetEvidenceFoldersByAssessmentResponse EndGetEvidenceFoldersByAssessment(IAsyncResult asyncResult);
#endregion
#region GetEvidenceFoldersByAssessmentControl
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
GetEvidenceFoldersByAssessmentControlResponse GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetEvidenceFoldersByAssessmentControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl operation on AmazonAuditManagerClient.</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 EndGetEvidenceFoldersByAssessmentControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
IAsyncResult BeginGetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetEvidenceFoldersByAssessmentControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetEvidenceFoldersByAssessmentControl.</param>
///
/// <returns>Returns a GetEvidenceFoldersByAssessmentControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
GetEvidenceFoldersByAssessmentControlResponse EndGetEvidenceFoldersByAssessmentControl(IAsyncResult asyncResult);
#endregion
#region GetInsights
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
GetInsightsResponse GetInsights(GetInsightsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetInsights operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetInsights operation on AmazonAuditManagerClient.</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 EndGetInsights
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
IAsyncResult BeginGetInsights(GetInsightsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetInsights operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetInsights.</param>
///
/// <returns>Returns a GetInsightsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
GetInsightsResponse EndGetInsights(IAsyncResult asyncResult);
#endregion
#region GetInsightsByAssessment
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
GetInsightsByAssessmentResponse GetInsightsByAssessment(GetInsightsByAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetInsightsByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment operation on AmazonAuditManagerClient.</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 EndGetInsightsByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
IAsyncResult BeginGetInsightsByAssessment(GetInsightsByAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetInsightsByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetInsightsByAssessment.</param>
///
/// <returns>Returns a GetInsightsByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
GetInsightsByAssessmentResponse EndGetInsightsByAssessment(IAsyncResult asyncResult);
#endregion
#region GetOrganizationAdminAccount
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
GetOrganizationAdminAccountResponse GetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount operation on AmazonAuditManagerClient.</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 EndGetOrganizationAdminAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
IAsyncResult BeginGetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetOrganizationAdminAccount.</param>
///
/// <returns>Returns a GetOrganizationAdminAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
GetOrganizationAdminAccountResponse EndGetOrganizationAdminAccount(IAsyncResult asyncResult);
#endregion
#region GetServicesInScope
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
GetServicesInScopeResponse GetServicesInScope(GetServicesInScopeRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetServicesInScope operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope operation on AmazonAuditManagerClient.</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 EndGetServicesInScope
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
IAsyncResult BeginGetServicesInScope(GetServicesInScopeRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetServicesInScope operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetServicesInScope.</param>
///
/// <returns>Returns a GetServicesInScopeResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
GetServicesInScopeResponse EndGetServicesInScope(IAsyncResult asyncResult);
#endregion
#region GetSettings
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
GetSettingsResponse GetSettings(GetSettingsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the GetSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the GetSettings operation on AmazonAuditManagerClient.</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 EndGetSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
IAsyncResult BeginGetSettings(GetSettingsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the GetSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginGetSettings.</param>
///
/// <returns>Returns a GetSettingsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
GetSettingsResponse EndGetSettings(IAsyncResult asyncResult);
#endregion
#region ListAssessmentControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
ListAssessmentControlInsightsByControlDomainResponse ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain operation on AmazonAuditManagerClient.</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 EndListAssessmentControlInsightsByControlDomain
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
IAsyncResult BeginListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentControlInsightsByControlDomain.</param>
///
/// <returns>Returns a ListAssessmentControlInsightsByControlDomainResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
ListAssessmentControlInsightsByControlDomainResponse EndListAssessmentControlInsightsByControlDomain(IAsyncResult asyncResult);
#endregion
#region ListAssessmentFrameworks
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
ListAssessmentFrameworksResponse ListAssessmentFrameworks(ListAssessmentFrameworksRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentFrameworks operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks operation on AmazonAuditManagerClient.</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 EndListAssessmentFrameworks
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
IAsyncResult BeginListAssessmentFrameworks(ListAssessmentFrameworksRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentFrameworks operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentFrameworks.</param>
///
/// <returns>Returns a ListAssessmentFrameworksResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
ListAssessmentFrameworksResponse EndListAssessmentFrameworks(IAsyncResult asyncResult);
#endregion
#region ListAssessmentFrameworkShareRequests
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
ListAssessmentFrameworkShareRequestsResponse ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentFrameworkShareRequests operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests operation on AmazonAuditManagerClient.</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 EndListAssessmentFrameworkShareRequests
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
IAsyncResult BeginListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentFrameworkShareRequests operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentFrameworkShareRequests.</param>
///
/// <returns>Returns a ListAssessmentFrameworkShareRequestsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
ListAssessmentFrameworkShareRequestsResponse EndListAssessmentFrameworkShareRequests(IAsyncResult asyncResult);
#endregion
#region ListAssessmentReports
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
ListAssessmentReportsResponse ListAssessmentReports(ListAssessmentReportsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssessmentReports operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports operation on AmazonAuditManagerClient.</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 EndListAssessmentReports
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
IAsyncResult BeginListAssessmentReports(ListAssessmentReportsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssessmentReports operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessmentReports.</param>
///
/// <returns>Returns a ListAssessmentReportsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
ListAssessmentReportsResponse EndListAssessmentReports(IAsyncResult asyncResult);
#endregion
#region ListAssessments
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
ListAssessmentsResponse ListAssessments(ListAssessmentsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListAssessments operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListAssessments operation on AmazonAuditManagerClient.</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 EndListAssessments
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
IAsyncResult BeginListAssessments(ListAssessmentsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListAssessments operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListAssessments.</param>
///
/// <returns>Returns a ListAssessmentsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
ListAssessmentsResponse EndListAssessments(IAsyncResult asyncResult);
#endregion
#region ListControlDomainInsights
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
ListControlDomainInsightsResponse ListControlDomainInsights(ListControlDomainInsightsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListControlDomainInsights operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights operation on AmazonAuditManagerClient.</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 EndListControlDomainInsights
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
IAsyncResult BeginListControlDomainInsights(ListControlDomainInsightsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListControlDomainInsights operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControlDomainInsights.</param>
///
/// <returns>Returns a ListControlDomainInsightsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
ListControlDomainInsightsResponse EndListControlDomainInsights(IAsyncResult asyncResult);
#endregion
#region ListControlDomainInsightsByAssessment
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
ListControlDomainInsightsByAssessmentResponse ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListControlDomainInsightsByAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment operation on AmazonAuditManagerClient.</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 EndListControlDomainInsightsByAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
IAsyncResult BeginListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListControlDomainInsightsByAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControlDomainInsightsByAssessment.</param>
///
/// <returns>Returns a ListControlDomainInsightsByAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
ListControlDomainInsightsByAssessmentResponse EndListControlDomainInsightsByAssessment(IAsyncResult asyncResult);
#endregion
#region ListControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
ListControlInsightsByControlDomainResponse ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain operation on AmazonAuditManagerClient.</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 EndListControlInsightsByControlDomain
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
IAsyncResult BeginListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListControlInsightsByControlDomain operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControlInsightsByControlDomain.</param>
///
/// <returns>Returns a ListControlInsightsByControlDomainResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
ListControlInsightsByControlDomainResponse EndListControlInsightsByControlDomain(IAsyncResult asyncResult);
#endregion
#region ListControls
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
ListControlsResponse ListControls(ListControlsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListControls operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListControls operation on AmazonAuditManagerClient.</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 EndListControls
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
IAsyncResult BeginListControls(ListControlsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListControls operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListControls.</param>
///
/// <returns>Returns a ListControlsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
ListControlsResponse EndListControls(IAsyncResult asyncResult);
#endregion
#region ListKeywordsForDataSource
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
ListKeywordsForDataSourceResponse ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListKeywordsForDataSource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource operation on AmazonAuditManagerClient.</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 EndListKeywordsForDataSource
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
IAsyncResult BeginListKeywordsForDataSource(ListKeywordsForDataSourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListKeywordsForDataSource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListKeywordsForDataSource.</param>
///
/// <returns>Returns a ListKeywordsForDataSourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
ListKeywordsForDataSourceResponse EndListKeywordsForDataSource(IAsyncResult asyncResult);
#endregion
#region ListNotifications
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
ListNotificationsResponse ListNotifications(ListNotificationsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListNotifications operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListNotifications operation on AmazonAuditManagerClient.</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 EndListNotifications
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
IAsyncResult BeginListNotifications(ListNotificationsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListNotifications operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListNotifications.</param>
///
/// <returns>Returns a ListNotificationsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
ListNotificationsResponse EndListNotifications(IAsyncResult asyncResult);
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ListTagsForResource operation on AmazonAuditManagerClient.</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/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ListTagsForResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginListTagsForResource.</param>
///
/// <returns>Returns a ListTagsForResourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult);
#endregion
#region RegisterAccount
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
RegisterAccountResponse RegisterAccount(RegisterAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the RegisterAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount operation on AmazonAuditManagerClient.</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 EndRegisterAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
IAsyncResult BeginRegisterAccount(RegisterAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the RegisterAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginRegisterAccount.</param>
///
/// <returns>Returns a RegisterAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
RegisterAccountResponse EndRegisterAccount(IAsyncResult asyncResult);
#endregion
#region RegisterOrganizationAdminAccount
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
RegisterOrganizationAdminAccountResponse RegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request);
/// <summary>
/// Initiates the asynchronous execution of the RegisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount operation on AmazonAuditManagerClient.</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 EndRegisterOrganizationAdminAccount
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
IAsyncResult BeginRegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the RegisterOrganizationAdminAccount operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginRegisterOrganizationAdminAccount.</param>
///
/// <returns>Returns a RegisterOrganizationAdminAccountResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
RegisterOrganizationAdminAccountResponse EndRegisterOrganizationAdminAccount(IAsyncResult asyncResult);
#endregion
#region StartAssessmentFrameworkShare
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
StartAssessmentFrameworkShareResponse StartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request);
/// <summary>
/// Initiates the asynchronous execution of the StartAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare operation on AmazonAuditManagerClient.</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 EndStartAssessmentFrameworkShare
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
IAsyncResult BeginStartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the StartAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginStartAssessmentFrameworkShare.</param>
///
/// <returns>Returns a StartAssessmentFrameworkShareResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
StartAssessmentFrameworkShareResponse EndStartAssessmentFrameworkShare(IAsyncResult asyncResult);
#endregion
#region TagResource
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the TagResource operation on AmazonAuditManagerClient.</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/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the TagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginTagResource.</param>
///
/// <returns>Returns a TagResourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse EndTagResource(IAsyncResult asyncResult);
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UntagResource operation on AmazonAuditManagerClient.</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/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UntagResource operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUntagResource.</param>
///
/// <returns>Returns a UntagResourceResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse EndUntagResource(IAsyncResult asyncResult);
#endregion
#region UpdateAssessment
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
UpdateAssessmentResponse UpdateAssessment(UpdateAssessmentRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessment operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment operation on AmazonAuditManagerClient.</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 EndUpdateAssessment
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
IAsyncResult BeginUpdateAssessment(UpdateAssessmentRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessment operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessment.</param>
///
/// <returns>Returns a UpdateAssessmentResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
UpdateAssessmentResponse EndUpdateAssessment(IAsyncResult asyncResult);
#endregion
#region UpdateAssessmentControl
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
UpdateAssessmentControlResponse UpdateAssessmentControl(UpdateAssessmentControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
IAsyncResult BeginUpdateAssessmentControl(UpdateAssessmentControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentControl.</param>
///
/// <returns>Returns a UpdateAssessmentControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
UpdateAssessmentControlResponse EndUpdateAssessmentControl(IAsyncResult asyncResult);
#endregion
#region UpdateAssessmentControlSetStatus
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
UpdateAssessmentControlSetStatusResponse UpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentControlSetStatus operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentControlSetStatus
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
IAsyncResult BeginUpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentControlSetStatus operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentControlSetStatus.</param>
///
/// <returns>Returns a UpdateAssessmentControlSetStatusResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
UpdateAssessmentControlSetStatusResponse EndUpdateAssessmentControlSetStatus(IAsyncResult asyncResult);
#endregion
#region UpdateAssessmentFramework
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
UpdateAssessmentFrameworkResponse UpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentFramework operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentFramework
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
IAsyncResult BeginUpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentFramework operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentFramework.</param>
///
/// <returns>Returns a UpdateAssessmentFrameworkResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
UpdateAssessmentFrameworkResponse EndUpdateAssessmentFramework(IAsyncResult asyncResult);
#endregion
#region UpdateAssessmentFrameworkShare
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
UpdateAssessmentFrameworkShareResponse UpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentFrameworkShare
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
IAsyncResult BeginUpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentFrameworkShare operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentFrameworkShare.</param>
///
/// <returns>Returns a UpdateAssessmentFrameworkShareResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
UpdateAssessmentFrameworkShareResponse EndUpdateAssessmentFrameworkShare(IAsyncResult asyncResult);
#endregion
#region UpdateAssessmentStatus
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
UpdateAssessmentStatusResponse UpdateAssessmentStatus(UpdateAssessmentStatusRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateAssessmentStatus operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus operation on AmazonAuditManagerClient.</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 EndUpdateAssessmentStatus
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
IAsyncResult BeginUpdateAssessmentStatus(UpdateAssessmentStatusRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateAssessmentStatus operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateAssessmentStatus.</param>
///
/// <returns>Returns a UpdateAssessmentStatusResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
UpdateAssessmentStatusResponse EndUpdateAssessmentStatus(IAsyncResult asyncResult);
#endregion
#region UpdateControl
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
UpdateControlResponse UpdateControl(UpdateControlRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateControl operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateControl operation on AmazonAuditManagerClient.</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 EndUpdateControl
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
IAsyncResult BeginUpdateControl(UpdateControlRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateControl operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateControl.</param>
///
/// <returns>Returns a UpdateControlResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
UpdateControlResponse EndUpdateControl(IAsyncResult asyncResult);
#endregion
#region UpdateSettings
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request);
/// <summary>
/// Initiates the asynchronous execution of the UpdateSettings operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings operation on AmazonAuditManagerClient.</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 EndUpdateSettings
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
IAsyncResult BeginUpdateSettings(UpdateSettingsRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the UpdateSettings operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginUpdateSettings.</param>
///
/// <returns>Returns a UpdateSettingsResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
UpdateSettingsResponse EndUpdateSettings(IAsyncResult asyncResult);
#endregion
#region ValidateAssessmentReportIntegrity
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
ValidateAssessmentReportIntegrityResponse ValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request);
/// <summary>
/// Initiates the asynchronous execution of the ValidateAssessmentReportIntegrity operation.
/// </summary>
///
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity operation on AmazonAuditManagerClient.</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 EndValidateAssessmentReportIntegrity
/// operation.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
IAsyncResult BeginValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request, AsyncCallback callback, object state);
/// <summary>
/// Finishes the asynchronous execution of the ValidateAssessmentReportIntegrity operation.
/// </summary>
///
/// <param name="asyncResult">The IAsyncResult returned by the call to BeginValidateAssessmentReportIntegrity.</param>
///
/// <returns>Returns a ValidateAssessmentReportIntegrityResult from AuditManager.</returns>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
ValidateAssessmentReportIntegrityResponse EndValidateAssessmentReportIntegrity(IAsyncResult asyncResult);
#endregion
}
}
| 3,718 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AuditManager.Model;
using Amazon.AuditManager.Model.Internal.MarshallTransformations;
using Amazon.AuditManager.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AuditManager
{
/// <summary>
/// Implementation for accessing AuditManager
///
/// Welcome to the Audit Manager API reference. This guide is for developers who need
/// detailed information about the Audit Manager API operations, data types, and errors.
///
///
///
/// <para>
/// Audit Manager is a service that provides automated evidence collection so that you
/// can continually audit your Amazon Web Services usage. You can use it to assess the
/// effectiveness of your controls, manage risk, and simplify compliance.
/// </para>
///
/// <para>
/// Audit Manager provides prebuilt frameworks that structure and automate assessments
/// for a given compliance standard. Frameworks include a prebuilt collection of controls
/// with descriptions and testing procedures. These controls are grouped according to
/// the requirements of the specified compliance standard or regulation. You can also
/// customize frameworks and controls to support internal audits with specific requirements.
///
/// </para>
///
/// <para>
/// Use the following links to get started with the Audit Manager API:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>:
/// An alphabetical list of all Audit Manager API operations.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data
/// types</a>: An alphabetical list of all Audit Manager data types.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
/// parameters</a>: Parameters that all operations can use.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common
/// errors</a>: Client and server errors that all operations can return.
/// </para>
/// </li> </ul>
/// <para>
/// If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
/// Audit Manager User Guide</a>.
/// </para>
/// </summary>
public partial class AmazonAuditManagerClient : AmazonServiceClient, IAmazonAuditManager
{
private static IServiceMetadata serviceMetadata = new AmazonAuditManagerMetadata();
private IAuditManagerPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAuditManagerPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AuditManagerPaginatorFactory(this);
}
return this._paginators;
}
}
#region Constructors
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig()) { }
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(AmazonAuditManagerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAuditManagerClient(AWSCredentials credentials)
: this(credentials, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAuditManagerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAuditManagerConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials and an
/// AmazonAuditManagerClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(AWSCredentials credentials, AmazonAuditManagerConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAuditManagerClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAuditManagerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAuditManagerClient 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 AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAuditManagerConfig 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 AmazonAuditManagerEndpointResolver());
}
/// <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 AssociateAssessmentReportEvidenceFolder
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual AssociateAssessmentReportEvidenceFolderResponse AssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<AssociateAssessmentReportEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual Task<AssociateAssessmentReportEvidenceFolderResponse> AssociateAssessmentReportEvidenceFolderAsync(AssociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<AssociateAssessmentReportEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region BatchAssociateAssessmentReportEvidence
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
public virtual BatchAssociateAssessmentReportEvidenceResponse BatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return Invoke<BatchAssociateAssessmentReportEvidenceResponse>(request, options);
}
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
public virtual Task<BatchAssociateAssessmentReportEvidenceResponse> BatchAssociateAssessmentReportEvidenceAsync(BatchAssociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return InvokeAsync<BatchAssociateAssessmentReportEvidenceResponse>(request, options, cancellationToken);
}
#endregion
#region BatchCreateDelegationByAssessment
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
public virtual BatchCreateDelegationByAssessmentResponse BatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance;
return Invoke<BatchCreateDelegationByAssessmentResponse>(request, options);
}
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
public virtual Task<BatchCreateDelegationByAssessmentResponse> BatchCreateDelegationByAssessmentAsync(BatchCreateDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<BatchCreateDelegationByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region BatchDeleteDelegationByAssessment
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
public virtual BatchDeleteDelegationByAssessmentResponse BatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance;
return Invoke<BatchDeleteDelegationByAssessmentResponse>(request, options);
}
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
public virtual Task<BatchDeleteDelegationByAssessmentResponse> BatchDeleteDelegationByAssessmentAsync(BatchDeleteDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<BatchDeleteDelegationByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region BatchDisassociateAssessmentReportEvidence
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
public virtual BatchDisassociateAssessmentReportEvidenceResponse BatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return Invoke<BatchDisassociateAssessmentReportEvidenceResponse>(request, options);
}
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
public virtual Task<BatchDisassociateAssessmentReportEvidenceResponse> BatchDisassociateAssessmentReportEvidenceAsync(BatchDisassociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return InvokeAsync<BatchDisassociateAssessmentReportEvidenceResponse>(request, options, cancellationToken);
}
#endregion
#region BatchImportEvidenceToAssessmentControl
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
public virtual BatchImportEvidenceToAssessmentControlResponse BatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance;
return Invoke<BatchImportEvidenceToAssessmentControlResponse>(request, options);
}
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
public virtual Task<BatchImportEvidenceToAssessmentControlResponse> BatchImportEvidenceToAssessmentControlAsync(BatchImportEvidenceToAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance;
return InvokeAsync<BatchImportEvidenceToAssessmentControlResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAssessment
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
public virtual CreateAssessmentResponse CreateAssessment(CreateAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentResponse>(request, options);
}
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
public virtual Task<CreateAssessmentResponse> CreateAssessmentAsync(CreateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAssessmentFramework
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
public virtual CreateAssessmentFrameworkResponse CreateAssessmentFramework(CreateAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
public virtual Task<CreateAssessmentFrameworkResponse> CreateAssessmentFrameworkAsync(CreateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<CreateAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAssessmentReport
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
public virtual CreateAssessmentReportResponse CreateAssessmentReport(CreateAssessmentReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentReportResponse>(request, options);
}
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
public virtual Task<CreateAssessmentReportResponse> CreateAssessmentReportAsync(CreateAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance;
return InvokeAsync<CreateAssessmentReportResponse>(request, options, cancellationToken);
}
#endregion
#region CreateControl
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
public virtual CreateControlResponse CreateControl(CreateControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance;
return Invoke<CreateControlResponse>(request, options);
}
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
public virtual Task<CreateControlResponse> CreateControlAsync(CreateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance;
return InvokeAsync<CreateControlResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessment
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
public virtual DeleteAssessmentResponse DeleteAssessment(DeleteAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentResponse>(request, options);
}
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
public virtual Task<DeleteAssessmentResponse> DeleteAssessmentAsync(DeleteAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessmentFramework
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
public virtual DeleteAssessmentFrameworkResponse DeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
public virtual Task<DeleteAssessmentFrameworkResponse> DeleteAssessmentFrameworkAsync(DeleteAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessmentFrameworkShare
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
public virtual DeleteAssessmentFrameworkShareResponse DeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
public virtual Task<DeleteAssessmentFrameworkShareResponse> DeleteAssessmentFrameworkShareAsync(DeleteAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentFrameworkShareResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessmentReport
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
public virtual DeleteAssessmentReportResponse DeleteAssessmentReport(DeleteAssessmentReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentReportResponse>(request, options);
}
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
public virtual Task<DeleteAssessmentReportResponse> DeleteAssessmentReportAsync(DeleteAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentReportResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteControl
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
public virtual DeleteControlResponse DeleteControl(DeleteControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance;
return Invoke<DeleteControlResponse>(request, options);
}
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
public virtual Task<DeleteControlResponse> DeleteControlAsync(DeleteControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance;
return InvokeAsync<DeleteControlResponse>(request, options, cancellationToken);
}
#endregion
#region DeregisterAccount
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
public virtual DeregisterAccountResponse DeregisterAccount(DeregisterAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance;
return Invoke<DeregisterAccountResponse>(request, options);
}
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
public virtual Task<DeregisterAccountResponse> DeregisterAccountAsync(DeregisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance;
return InvokeAsync<DeregisterAccountResponse>(request, options, cancellationToken);
}
#endregion
#region DeregisterOrganizationAdminAccount
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
public virtual DeregisterOrganizationAdminAccountResponse DeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<DeregisterOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
public virtual Task<DeregisterOrganizationAdminAccountResponse> DeregisterOrganizationAdminAccountAsync(DeregisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync<DeregisterOrganizationAdminAccountResponse>(request, options, cancellationToken);
}
#endregion
#region DisassociateAssessmentReportEvidenceFolder
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual DisassociateAssessmentReportEvidenceFolderResponse DisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<DisassociateAssessmentReportEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual Task<DisassociateAssessmentReportEvidenceFolderResponse> DisassociateAssessmentReportEvidenceFolderAsync(DisassociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<DisassociateAssessmentReportEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region GetAccountStatus
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
public virtual GetAccountStatusResponse GetAccountStatus(GetAccountStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance;
return Invoke<GetAccountStatusResponse>(request, options);
}
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
public virtual Task<GetAccountStatusResponse> GetAccountStatusAsync(GetAccountStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance;
return InvokeAsync<GetAccountStatusResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssessment
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
public virtual GetAssessmentResponse GetAssessment(GetAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance;
return Invoke<GetAssessmentResponse>(request, options);
}
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
public virtual Task<GetAssessmentResponse> GetAssessmentAsync(GetAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<GetAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssessmentFramework
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
public virtual GetAssessmentFrameworkResponse GetAssessmentFramework(GetAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<GetAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
public virtual Task<GetAssessmentFrameworkResponse> GetAssessmentFrameworkAsync(GetAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<GetAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssessmentReportUrl
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
public virtual GetAssessmentReportUrlResponse GetAssessmentReportUrl(GetAssessmentReportUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance;
return Invoke<GetAssessmentReportUrlResponse>(request, options);
}
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
public virtual Task<GetAssessmentReportUrlResponse> GetAssessmentReportUrlAsync(GetAssessmentReportUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance;
return InvokeAsync<GetAssessmentReportUrlResponse>(request, options, cancellationToken);
}
#endregion
#region GetChangeLogs
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
public virtual GetChangeLogsResponse GetChangeLogs(GetChangeLogsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance;
return Invoke<GetChangeLogsResponse>(request, options);
}
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
public virtual Task<GetChangeLogsResponse> GetChangeLogsAsync(GetChangeLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance;
return InvokeAsync<GetChangeLogsResponse>(request, options, cancellationToken);
}
#endregion
#region GetControl
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
public virtual GetControlResponse GetControl(GetControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance;
return Invoke<GetControlResponse>(request, options);
}
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
public virtual Task<GetControlResponse> GetControlAsync(GetControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance;
return InvokeAsync<GetControlResponse>(request, options, cancellationToken);
}
#endregion
#region GetDelegations
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
public virtual GetDelegationsResponse GetDelegations(GetDelegationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance;
return Invoke<GetDelegationsResponse>(request, options);
}
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
public virtual Task<GetDelegationsResponse> GetDelegationsAsync(GetDelegationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance;
return InvokeAsync<GetDelegationsResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidence
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
public virtual GetEvidenceResponse GetEvidence(GetEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance;
return Invoke<GetEvidenceResponse>(request, options);
}
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
public virtual Task<GetEvidenceResponse> GetEvidenceAsync(GetEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceByEvidenceFolder
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
public virtual GetEvidenceByEvidenceFolderResponse GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<GetEvidenceByEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
public virtual Task<GetEvidenceByEvidenceFolderResponse> GetEvidenceByEvidenceFolderAsync(GetEvidenceByEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceByEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFileUploadUrl
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
public virtual GetEvidenceFileUploadUrlResponse GetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFileUploadUrlResponse>(request, options);
}
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
public virtual Task<GetEvidenceFileUploadUrlResponse> GetEvidenceFileUploadUrlAsync(GetEvidenceFileUploadUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFileUploadUrlResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFolder
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
public virtual GetEvidenceFolderResponse GetEvidenceFolder(GetEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
public virtual Task<GetEvidenceFolderResponse> GetEvidenceFolderAsync(GetEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFoldersByAssessment
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
public virtual GetEvidenceFoldersByAssessmentResponse GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFoldersByAssessmentResponse>(request, options);
}
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
public virtual Task<GetEvidenceFoldersByAssessmentResponse> GetEvidenceFoldersByAssessmentAsync(GetEvidenceFoldersByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFoldersByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFoldersByAssessmentControl
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
public virtual GetEvidenceFoldersByAssessmentControlResponse GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFoldersByAssessmentControlResponse>(request, options);
}
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
public virtual Task<GetEvidenceFoldersByAssessmentControlResponse> GetEvidenceFoldersByAssessmentControlAsync(GetEvidenceFoldersByAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFoldersByAssessmentControlResponse>(request, options, cancellationToken);
}
#endregion
#region GetInsights
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
public virtual GetInsightsResponse GetInsights(GetInsightsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance;
return Invoke<GetInsightsResponse>(request, options);
}
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
public virtual Task<GetInsightsResponse> GetInsightsAsync(GetInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance;
return InvokeAsync<GetInsightsResponse>(request, options, cancellationToken);
}
#endregion
#region GetInsightsByAssessment
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
public virtual GetInsightsByAssessmentResponse GetInsightsByAssessment(GetInsightsByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance;
return Invoke<GetInsightsByAssessmentResponse>(request, options);
}
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
public virtual Task<GetInsightsByAssessmentResponse> GetInsightsByAssessmentAsync(GetInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<GetInsightsByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetOrganizationAdminAccount
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
public virtual GetOrganizationAdminAccountResponse GetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<GetOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
public virtual Task<GetOrganizationAdminAccountResponse> GetOrganizationAdminAccountAsync(GetOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync<GetOrganizationAdminAccountResponse>(request, options, cancellationToken);
}
#endregion
#region GetServicesInScope
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
public virtual GetServicesInScopeResponse GetServicesInScope(GetServicesInScopeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance;
return Invoke<GetServicesInScopeResponse>(request, options);
}
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
public virtual Task<GetServicesInScopeResponse> GetServicesInScopeAsync(GetServicesInScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance;
return InvokeAsync<GetServicesInScopeResponse>(request, options, cancellationToken);
}
#endregion
#region GetSettings
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
public virtual GetSettingsResponse GetSettings(GetSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance;
return Invoke<GetSettingsResponse>(request, options);
}
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
public virtual Task<GetSettingsResponse> GetSettingsAsync(GetSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance;
return InvokeAsync<GetSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
public virtual ListAssessmentControlInsightsByControlDomainResponse ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance;
return Invoke<ListAssessmentControlInsightsByControlDomainResponse>(request, options);
}
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
public virtual Task<ListAssessmentControlInsightsByControlDomainResponse> ListAssessmentControlInsightsByControlDomainAsync(ListAssessmentControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentControlInsightsByControlDomainResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentFrameworks
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
public virtual ListAssessmentFrameworksResponse ListAssessmentFrameworks(ListAssessmentFrameworksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance;
return Invoke<ListAssessmentFrameworksResponse>(request, options);
}
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
public virtual Task<ListAssessmentFrameworksResponse> ListAssessmentFrameworksAsync(ListAssessmentFrameworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentFrameworksResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentFrameworkShareRequests
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
public virtual ListAssessmentFrameworkShareRequestsResponse ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentFrameworkShareRequestsResponse>(request, options);
}
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
public virtual Task<ListAssessmentFrameworkShareRequestsResponse> ListAssessmentFrameworkShareRequestsAsync(ListAssessmentFrameworkShareRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentFrameworkShareRequestsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentReports
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
public virtual ListAssessmentReportsResponse ListAssessmentReports(ListAssessmentReportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentReportsResponse>(request, options);
}
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
public virtual Task<ListAssessmentReportsResponse> ListAssessmentReportsAsync(ListAssessmentReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentReportsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessments
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
public virtual ListAssessmentsResponse ListAssessments(ListAssessmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentsResponse>(request, options);
}
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
public virtual Task<ListAssessmentsResponse> ListAssessmentsAsync(ListAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListControlDomainInsights
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
public virtual ListControlDomainInsightsResponse ListControlDomainInsights(ListControlDomainInsightsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance;
return Invoke<ListControlDomainInsightsResponse>(request, options);
}
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
public virtual Task<ListControlDomainInsightsResponse> ListControlDomainInsightsAsync(ListControlDomainInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance;
return InvokeAsync<ListControlDomainInsightsResponse>(request, options, cancellationToken);
}
#endregion
#region ListControlDomainInsightsByAssessment
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
public virtual ListControlDomainInsightsByAssessmentResponse ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance;
return Invoke<ListControlDomainInsightsByAssessmentResponse>(request, options);
}
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
public virtual Task<ListControlDomainInsightsByAssessmentResponse> ListControlDomainInsightsByAssessmentAsync(ListControlDomainInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<ListControlDomainInsightsByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region ListControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
public virtual ListControlInsightsByControlDomainResponse ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance;
return Invoke<ListControlInsightsByControlDomainResponse>(request, options);
}
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
public virtual Task<ListControlInsightsByControlDomainResponse> ListControlInsightsByControlDomainAsync(ListControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance;
return InvokeAsync<ListControlInsightsByControlDomainResponse>(request, options, cancellationToken);
}
#endregion
#region ListControls
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
public virtual ListControlsResponse ListControls(ListControlsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance;
return Invoke<ListControlsResponse>(request, options);
}
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
public virtual Task<ListControlsResponse> ListControlsAsync(ListControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance;
return InvokeAsync<ListControlsResponse>(request, options, cancellationToken);
}
#endregion
#region ListKeywordsForDataSource
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
public virtual ListKeywordsForDataSourceResponse ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance;
return Invoke<ListKeywordsForDataSourceResponse>(request, options);
}
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
public virtual Task<ListKeywordsForDataSourceResponse> ListKeywordsForDataSourceAsync(ListKeywordsForDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance;
return InvokeAsync<ListKeywordsForDataSourceResponse>(request, options, cancellationToken);
}
#endregion
#region ListNotifications
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
public virtual ListNotificationsResponse ListNotifications(ListNotificationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance;
return Invoke<ListNotificationsResponse>(request, options);
}
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
public virtual Task<ListNotificationsResponse> ListNotificationsAsync(ListNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance;
return InvokeAsync<ListNotificationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region RegisterAccount
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
public virtual RegisterAccountResponse RegisterAccount(RegisterAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance;
return Invoke<RegisterAccountResponse>(request, options);
}
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
public virtual Task<RegisterAccountResponse> RegisterAccountAsync(RegisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance;
return InvokeAsync<RegisterAccountResponse>(request, options, cancellationToken);
}
#endregion
#region RegisterOrganizationAdminAccount
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
public virtual RegisterOrganizationAdminAccountResponse RegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<RegisterOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
public virtual Task<RegisterOrganizationAdminAccountResponse> RegisterOrganizationAdminAccountAsync(RegisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync<RegisterOrganizationAdminAccountResponse>(request, options, cancellationToken);
}
#endregion
#region StartAssessmentFrameworkShare
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
public virtual StartAssessmentFrameworkShareResponse StartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<StartAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
public virtual Task<StartAssessmentFrameworkShareResponse> StartAssessmentFrameworkShareAsync(StartAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance;
return InvokeAsync<StartAssessmentFrameworkShareResponse>(request, options, cancellationToken);
}
#endregion
#region TagResource
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke<TagResourceResponse>(request, options);
}
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessment
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
public virtual UpdateAssessmentResponse UpdateAssessment(UpdateAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentResponse>(request, options);
}
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
public virtual Task<UpdateAssessmentResponse> UpdateAssessmentAsync(UpdateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentControl
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
public virtual UpdateAssessmentControlResponse UpdateAssessmentControl(UpdateAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentControlResponse>(request, options);
}
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
public virtual Task<UpdateAssessmentControlResponse> UpdateAssessmentControlAsync(UpdateAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentControlResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentControlSetStatus
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
public virtual UpdateAssessmentControlSetStatusResponse UpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentControlSetStatusResponse>(request, options);
}
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
public virtual Task<UpdateAssessmentControlSetStatusResponse> UpdateAssessmentControlSetStatusAsync(UpdateAssessmentControlSetStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentControlSetStatusResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentFramework
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
public virtual UpdateAssessmentFrameworkResponse UpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
public virtual Task<UpdateAssessmentFrameworkResponse> UpdateAssessmentFrameworkAsync(UpdateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentFrameworkShare
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
public virtual UpdateAssessmentFrameworkShareResponse UpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
public virtual Task<UpdateAssessmentFrameworkShareResponse> UpdateAssessmentFrameworkShareAsync(UpdateAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentFrameworkShareResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentStatus
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
public virtual UpdateAssessmentStatusResponse UpdateAssessmentStatus(UpdateAssessmentStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentStatusResponse>(request, options);
}
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
public virtual Task<UpdateAssessmentStatusResponse> UpdateAssessmentStatusAsync(UpdateAssessmentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentStatusResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateControl
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
public virtual UpdateControlResponse UpdateControl(UpdateControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance;
return Invoke<UpdateControlResponse>(request, options);
}
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
public virtual Task<UpdateControlResponse> UpdateControlAsync(UpdateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance;
return InvokeAsync<UpdateControlResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateSettings
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
public virtual UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance;
return Invoke<UpdateSettingsResponse>(request, options);
}
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
public virtual Task<UpdateSettingsResponse> UpdateSettingsAsync(UpdateSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance;
return InvokeAsync<UpdateSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region ValidateAssessmentReportIntegrity
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
public virtual ValidateAssessmentReportIntegrityResponse ValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance;
return Invoke<ValidateAssessmentReportIntegrityResponse>(request, options);
}
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
public virtual Task<ValidateAssessmentReportIntegrityResponse> ValidateAssessmentReportIntegrityAsync(ValidateAssessmentReportIntegrityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance;
return InvokeAsync<ValidateAssessmentReportIntegrityResponse>(request, options, cancellationToken);
}
#endregion
}
}
| 5,142 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AuditManager.Model;
namespace Amazon.AuditManager
{
/// <summary>
/// Interface for accessing AuditManager
///
/// Welcome to the Audit Manager API reference. This guide is for developers who need
/// detailed information about the Audit Manager API operations, data types, and errors.
///
///
///
/// <para>
/// Audit Manager is a service that provides automated evidence collection so that you
/// can continually audit your Amazon Web Services usage. You can use it to assess the
/// effectiveness of your controls, manage risk, and simplify compliance.
/// </para>
///
/// <para>
/// Audit Manager provides prebuilt frameworks that structure and automate assessments
/// for a given compliance standard. Frameworks include a prebuilt collection of controls
/// with descriptions and testing procedures. These controls are grouped according to
/// the requirements of the specified compliance standard or regulation. You can also
/// customize frameworks and controls to support internal audits with specific requirements.
///
/// </para>
///
/// <para>
/// Use the following links to get started with the Audit Manager API:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>:
/// An alphabetical list of all Audit Manager API operations.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data
/// types</a>: An alphabetical list of all Audit Manager data types.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
/// parameters</a>: Parameters that all operations can use.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common
/// errors</a>: Client and server errors that all operations can return.
/// </para>
/// </li> </ul>
/// <para>
/// If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
/// Audit Manager User Guide</a>.
/// </para>
/// </summary>
public partial interface IAmazonAuditManager : IAmazonService, IDisposable
{
/// <summary>
/// Paginators for the service
/// </summary>
IAuditManagerPaginatorFactory Paginators { get; }
#region AssociateAssessmentReportEvidenceFolder
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
AssociateAssessmentReportEvidenceFolderResponse AssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request);
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
Task<AssociateAssessmentReportEvidenceFolderResponse> AssociateAssessmentReportEvidenceFolderAsync(AssociateAssessmentReportEvidenceFolderRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchAssociateAssessmentReportEvidence
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
BatchAssociateAssessmentReportEvidenceResponse BatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request);
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
Task<BatchAssociateAssessmentReportEvidenceResponse> BatchAssociateAssessmentReportEvidenceAsync(BatchAssociateAssessmentReportEvidenceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchCreateDelegationByAssessment
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
BatchCreateDelegationByAssessmentResponse BatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request);
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
Task<BatchCreateDelegationByAssessmentResponse> BatchCreateDelegationByAssessmentAsync(BatchCreateDelegationByAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchDeleteDelegationByAssessment
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
BatchDeleteDelegationByAssessmentResponse BatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request);
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
Task<BatchDeleteDelegationByAssessmentResponse> BatchDeleteDelegationByAssessmentAsync(BatchDeleteDelegationByAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchDisassociateAssessmentReportEvidence
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
BatchDisassociateAssessmentReportEvidenceResponse BatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request);
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
Task<BatchDisassociateAssessmentReportEvidenceResponse> BatchDisassociateAssessmentReportEvidenceAsync(BatchDisassociateAssessmentReportEvidenceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchImportEvidenceToAssessmentControl
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
BatchImportEvidenceToAssessmentControlResponse BatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request);
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
Task<BatchImportEvidenceToAssessmentControlResponse> BatchImportEvidenceToAssessmentControlAsync(BatchImportEvidenceToAssessmentControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAssessment
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
CreateAssessmentResponse CreateAssessment(CreateAssessmentRequest request);
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
Task<CreateAssessmentResponse> CreateAssessmentAsync(CreateAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAssessmentFramework
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
CreateAssessmentFrameworkResponse CreateAssessmentFramework(CreateAssessmentFrameworkRequest request);
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
Task<CreateAssessmentFrameworkResponse> CreateAssessmentFrameworkAsync(CreateAssessmentFrameworkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAssessmentReport
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
CreateAssessmentReportResponse CreateAssessmentReport(CreateAssessmentReportRequest request);
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
Task<CreateAssessmentReportResponse> CreateAssessmentReportAsync(CreateAssessmentReportRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateControl
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
CreateControlResponse CreateControl(CreateControlRequest request);
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
Task<CreateControlResponse> CreateControlAsync(CreateControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessment
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
DeleteAssessmentResponse DeleteAssessment(DeleteAssessmentRequest request);
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
Task<DeleteAssessmentResponse> DeleteAssessmentAsync(DeleteAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessmentFramework
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
DeleteAssessmentFrameworkResponse DeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request);
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
Task<DeleteAssessmentFrameworkResponse> DeleteAssessmentFrameworkAsync(DeleteAssessmentFrameworkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessmentFrameworkShare
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
DeleteAssessmentFrameworkShareResponse DeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request);
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
Task<DeleteAssessmentFrameworkShareResponse> DeleteAssessmentFrameworkShareAsync(DeleteAssessmentFrameworkShareRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessmentReport
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
DeleteAssessmentReportResponse DeleteAssessmentReport(DeleteAssessmentReportRequest request);
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
Task<DeleteAssessmentReportResponse> DeleteAssessmentReportAsync(DeleteAssessmentReportRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteControl
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
DeleteControlResponse DeleteControl(DeleteControlRequest request);
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
Task<DeleteControlResponse> DeleteControlAsync(DeleteControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeregisterAccount
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
DeregisterAccountResponse DeregisterAccount(DeregisterAccountRequest request);
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
Task<DeregisterAccountResponse> DeregisterAccountAsync(DeregisterAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeregisterOrganizationAdminAccount
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
DeregisterOrganizationAdminAccountResponse DeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request);
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
Task<DeregisterOrganizationAdminAccountResponse> DeregisterOrganizationAdminAccountAsync(DeregisterOrganizationAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateAssessmentReportEvidenceFolder
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
DisassociateAssessmentReportEvidenceFolderResponse DisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request);
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
Task<DisassociateAssessmentReportEvidenceFolderResponse> DisassociateAssessmentReportEvidenceFolderAsync(DisassociateAssessmentReportEvidenceFolderRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAccountStatus
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
GetAccountStatusResponse GetAccountStatus(GetAccountStatusRequest request);
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
Task<GetAccountStatusResponse> GetAccountStatusAsync(GetAccountStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssessment
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
GetAssessmentResponse GetAssessment(GetAssessmentRequest request);
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
Task<GetAssessmentResponse> GetAssessmentAsync(GetAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssessmentFramework
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
GetAssessmentFrameworkResponse GetAssessmentFramework(GetAssessmentFrameworkRequest request);
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
Task<GetAssessmentFrameworkResponse> GetAssessmentFrameworkAsync(GetAssessmentFrameworkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssessmentReportUrl
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
GetAssessmentReportUrlResponse GetAssessmentReportUrl(GetAssessmentReportUrlRequest request);
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
Task<GetAssessmentReportUrlResponse> GetAssessmentReportUrlAsync(GetAssessmentReportUrlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetChangeLogs
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
GetChangeLogsResponse GetChangeLogs(GetChangeLogsRequest request);
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
Task<GetChangeLogsResponse> GetChangeLogsAsync(GetChangeLogsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetControl
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
GetControlResponse GetControl(GetControlRequest request);
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
Task<GetControlResponse> GetControlAsync(GetControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDelegations
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
GetDelegationsResponse GetDelegations(GetDelegationsRequest request);
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
Task<GetDelegationsResponse> GetDelegationsAsync(GetDelegationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidence
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
GetEvidenceResponse GetEvidence(GetEvidenceRequest request);
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
Task<GetEvidenceResponse> GetEvidenceAsync(GetEvidenceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceByEvidenceFolder
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
GetEvidenceByEvidenceFolderResponse GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request);
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
Task<GetEvidenceByEvidenceFolderResponse> GetEvidenceByEvidenceFolderAsync(GetEvidenceByEvidenceFolderRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFileUploadUrl
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
GetEvidenceFileUploadUrlResponse GetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request);
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
Task<GetEvidenceFileUploadUrlResponse> GetEvidenceFileUploadUrlAsync(GetEvidenceFileUploadUrlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFolder
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
GetEvidenceFolderResponse GetEvidenceFolder(GetEvidenceFolderRequest request);
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
Task<GetEvidenceFolderResponse> GetEvidenceFolderAsync(GetEvidenceFolderRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFoldersByAssessment
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
GetEvidenceFoldersByAssessmentResponse GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request);
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
Task<GetEvidenceFoldersByAssessmentResponse> GetEvidenceFoldersByAssessmentAsync(GetEvidenceFoldersByAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFoldersByAssessmentControl
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
GetEvidenceFoldersByAssessmentControlResponse GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request);
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
Task<GetEvidenceFoldersByAssessmentControlResponse> GetEvidenceFoldersByAssessmentControlAsync(GetEvidenceFoldersByAssessmentControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInsights
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
GetInsightsResponse GetInsights(GetInsightsRequest request);
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
Task<GetInsightsResponse> GetInsightsAsync(GetInsightsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInsightsByAssessment
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
GetInsightsByAssessmentResponse GetInsightsByAssessment(GetInsightsByAssessmentRequest request);
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
Task<GetInsightsByAssessmentResponse> GetInsightsByAssessmentAsync(GetInsightsByAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOrganizationAdminAccount
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
GetOrganizationAdminAccountResponse GetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request);
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
Task<GetOrganizationAdminAccountResponse> GetOrganizationAdminAccountAsync(GetOrganizationAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServicesInScope
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
GetServicesInScopeResponse GetServicesInScope(GetServicesInScopeRequest request);
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
Task<GetServicesInScopeResponse> GetServicesInScopeAsync(GetServicesInScopeRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSettings
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
GetSettingsResponse GetSettings(GetSettingsRequest request);
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
Task<GetSettingsResponse> GetSettingsAsync(GetSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
ListAssessmentControlInsightsByControlDomainResponse ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request);
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
Task<ListAssessmentControlInsightsByControlDomainResponse> ListAssessmentControlInsightsByControlDomainAsync(ListAssessmentControlInsightsByControlDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentFrameworks
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
ListAssessmentFrameworksResponse ListAssessmentFrameworks(ListAssessmentFrameworksRequest request);
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
Task<ListAssessmentFrameworksResponse> ListAssessmentFrameworksAsync(ListAssessmentFrameworksRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentFrameworkShareRequests
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
ListAssessmentFrameworkShareRequestsResponse ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request);
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
Task<ListAssessmentFrameworkShareRequestsResponse> ListAssessmentFrameworkShareRequestsAsync(ListAssessmentFrameworkShareRequestsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentReports
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
ListAssessmentReportsResponse ListAssessmentReports(ListAssessmentReportsRequest request);
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
Task<ListAssessmentReportsResponse> ListAssessmentReportsAsync(ListAssessmentReportsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessments
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
ListAssessmentsResponse ListAssessments(ListAssessmentsRequest request);
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
Task<ListAssessmentsResponse> ListAssessmentsAsync(ListAssessmentsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControlDomainInsights
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
ListControlDomainInsightsResponse ListControlDomainInsights(ListControlDomainInsightsRequest request);
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
Task<ListControlDomainInsightsResponse> ListControlDomainInsightsAsync(ListControlDomainInsightsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControlDomainInsightsByAssessment
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
ListControlDomainInsightsByAssessmentResponse ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request);
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
Task<ListControlDomainInsightsByAssessmentResponse> ListControlDomainInsightsByAssessmentAsync(ListControlDomainInsightsByAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
ListControlInsightsByControlDomainResponse ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request);
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
Task<ListControlInsightsByControlDomainResponse> ListControlInsightsByControlDomainAsync(ListControlInsightsByControlDomainRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControls
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
ListControlsResponse ListControls(ListControlsRequest request);
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
Task<ListControlsResponse> ListControlsAsync(ListControlsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListKeywordsForDataSource
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
ListKeywordsForDataSourceResponse ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request);
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
Task<ListKeywordsForDataSourceResponse> ListKeywordsForDataSourceAsync(ListKeywordsForDataSourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListNotifications
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
ListNotificationsResponse ListNotifications(ListNotificationsRequest request);
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
Task<ListNotificationsResponse> ListNotificationsAsync(ListNotificationsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request);
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterAccount
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
RegisterAccountResponse RegisterAccount(RegisterAccountRequest request);
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
Task<RegisterAccountResponse> RegisterAccountAsync(RegisterAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterOrganizationAdminAccount
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
RegisterOrganizationAdminAccountResponse RegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request);
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
Task<RegisterOrganizationAdminAccountResponse> RegisterOrganizationAdminAccountAsync(RegisterOrganizationAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartAssessmentFrameworkShare
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
StartAssessmentFrameworkShareResponse StartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request);
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
Task<StartAssessmentFrameworkShareResponse> StartAssessmentFrameworkShareAsync(StartAssessmentFrameworkShareRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
TagResourceResponse TagResource(TagResourceRequest request);
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
UntagResourceResponse UntagResource(UntagResourceRequest request);
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessment
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
UpdateAssessmentResponse UpdateAssessment(UpdateAssessmentRequest request);
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
Task<UpdateAssessmentResponse> UpdateAssessmentAsync(UpdateAssessmentRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentControl
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
UpdateAssessmentControlResponse UpdateAssessmentControl(UpdateAssessmentControlRequest request);
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
Task<UpdateAssessmentControlResponse> UpdateAssessmentControlAsync(UpdateAssessmentControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentControlSetStatus
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
UpdateAssessmentControlSetStatusResponse UpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request);
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
Task<UpdateAssessmentControlSetStatusResponse> UpdateAssessmentControlSetStatusAsync(UpdateAssessmentControlSetStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentFramework
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
UpdateAssessmentFrameworkResponse UpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request);
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
Task<UpdateAssessmentFrameworkResponse> UpdateAssessmentFrameworkAsync(UpdateAssessmentFrameworkRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentFrameworkShare
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
UpdateAssessmentFrameworkShareResponse UpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request);
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
Task<UpdateAssessmentFrameworkShareResponse> UpdateAssessmentFrameworkShareAsync(UpdateAssessmentFrameworkShareRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentStatus
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
UpdateAssessmentStatusResponse UpdateAssessmentStatus(UpdateAssessmentStatusRequest request);
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
Task<UpdateAssessmentStatusResponse> UpdateAssessmentStatusAsync(UpdateAssessmentStatusRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateControl
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
UpdateControlResponse UpdateControl(UpdateControlRequest request);
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
Task<UpdateControlResponse> UpdateControlAsync(UpdateControlRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateSettings
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request);
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
Task<UpdateSettingsResponse> UpdateSettingsAsync(UpdateSettingsRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ValidateAssessmentReportIntegrity
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
ValidateAssessmentReportIntegrityResponse ValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request);
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
Task<ValidateAssessmentReportIntegrityResponse> ValidateAssessmentReportIntegrityAsync(ValidateAssessmentReportIntegrityRequest request, CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}
| 4,115 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.AuditManager.Model;
using Amazon.AuditManager.Model.Internal.MarshallTransformations;
using Amazon.AuditManager.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.AuditManager
{
/// <summary>
/// Implementation for accessing AuditManager
///
/// Welcome to the Audit Manager API reference. This guide is for developers who need
/// detailed information about the Audit Manager API operations, data types, and errors.
///
///
///
/// <para>
/// Audit Manager is a service that provides automated evidence collection so that you
/// can continually audit your Amazon Web Services usage. You can use it to assess the
/// effectiveness of your controls, manage risk, and simplify compliance.
/// </para>
///
/// <para>
/// Audit Manager provides prebuilt frameworks that structure and automate assessments
/// for a given compliance standard. Frameworks include a prebuilt collection of controls
/// with descriptions and testing procedures. These controls are grouped according to
/// the requirements of the specified compliance standard or regulation. You can also
/// customize frameworks and controls to support internal audits with specific requirements.
///
/// </para>
///
/// <para>
/// Use the following links to get started with the Audit Manager API:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>:
/// An alphabetical list of all Audit Manager API operations.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data
/// types</a>: An alphabetical list of all Audit Manager data types.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
/// parameters</a>: Parameters that all operations can use.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common
/// errors</a>: Client and server errors that all operations can return.
/// </para>
/// </li> </ul>
/// <para>
/// If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
/// Audit Manager User Guide</a>.
/// </para>
/// </summary>
public partial class AmazonAuditManagerClient : AmazonServiceClient, IAmazonAuditManager
{
private static IServiceMetadata serviceMetadata = new AmazonAuditManagerMetadata();
#region Constructors
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig()) { }
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonAuditManagerConfig{RegionEndpoint = region}) { }
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(AmazonAuditManagerConfig config)
: base(FallbackCredentialsFactory.GetCredentials(), config) { }
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
public AmazonAuditManagerClient(AWSCredentials credentials)
: this(credentials, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="region">The region to connect.</param>
public AmazonAuditManagerClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonAuditManagerConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Credentials and an
/// AmazonAuditManagerClient Configuration object.
/// </summary>
/// <param name="credentials">AWS Credentials</param>
/// <param name="clientConfig">The AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(AWSCredentials credentials, AmazonAuditManagerConfig clientConfig)
: base(credentials, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonAuditManagerConfig() {RegionEndpoint=region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAuditManagerClient Configuration object.
/// </summary>
/// <param name="awsAccessKeyId">AWS Access Key ID</param>
/// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
/// <param name="clientConfig">The AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonAuditManagerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig())
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient 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 AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonAuditManagerConfig{RegionEndpoint = region})
{
}
/// <summary>
/// Constructs AmazonAuditManagerClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonAuditManagerClient 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 AmazonAuditManagerClient Configuration Object</param>
public AmazonAuditManagerClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonAuditManagerConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IAuditManagerPaginatorFactory _paginators;
/// <summary>
/// Paginators for the service
/// </summary>
public IAuditManagerPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new AuditManagerPaginatorFactory(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 AmazonAuditManagerEndpointResolver());
}
/// <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 AssociateAssessmentReportEvidenceFolder
internal virtual AssociateAssessmentReportEvidenceFolderResponse AssociateAssessmentReportEvidenceFolder(AssociateAssessmentReportEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<AssociateAssessmentReportEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual Task<AssociateAssessmentReportEvidenceFolderResponse> AssociateAssessmentReportEvidenceFolderAsync(AssociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<AssociateAssessmentReportEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region BatchAssociateAssessmentReportEvidence
internal virtual BatchAssociateAssessmentReportEvidenceResponse BatchAssociateAssessmentReportEvidence(BatchAssociateAssessmentReportEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return Invoke<BatchAssociateAssessmentReportEvidenceResponse>(request, options);
}
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
public virtual Task<BatchAssociateAssessmentReportEvidenceResponse> BatchAssociateAssessmentReportEvidenceAsync(BatchAssociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchAssociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchAssociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return InvokeAsync<BatchAssociateAssessmentReportEvidenceResponse>(request, options, cancellationToken);
}
#endregion
#region BatchCreateDelegationByAssessment
internal virtual BatchCreateDelegationByAssessmentResponse BatchCreateDelegationByAssessment(BatchCreateDelegationByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance;
return Invoke<BatchCreateDelegationByAssessmentResponse>(request, options);
}
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
public virtual Task<BatchCreateDelegationByAssessmentResponse> BatchCreateDelegationByAssessmentAsync(BatchCreateDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchCreateDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchCreateDelegationByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<BatchCreateDelegationByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region BatchDeleteDelegationByAssessment
internal virtual BatchDeleteDelegationByAssessmentResponse BatchDeleteDelegationByAssessment(BatchDeleteDelegationByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance;
return Invoke<BatchDeleteDelegationByAssessmentResponse>(request, options);
}
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
public virtual Task<BatchDeleteDelegationByAssessmentResponse> BatchDeleteDelegationByAssessmentAsync(BatchDeleteDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDeleteDelegationByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDeleteDelegationByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<BatchDeleteDelegationByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region BatchDisassociateAssessmentReportEvidence
internal virtual BatchDisassociateAssessmentReportEvidenceResponse BatchDisassociateAssessmentReportEvidence(BatchDisassociateAssessmentReportEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return Invoke<BatchDisassociateAssessmentReportEvidenceResponse>(request, options);
}
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
public virtual Task<BatchDisassociateAssessmentReportEvidenceResponse> BatchDisassociateAssessmentReportEvidenceAsync(BatchDisassociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchDisassociateAssessmentReportEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchDisassociateAssessmentReportEvidenceResponseUnmarshaller.Instance;
return InvokeAsync<BatchDisassociateAssessmentReportEvidenceResponse>(request, options, cancellationToken);
}
#endregion
#region BatchImportEvidenceToAssessmentControl
internal virtual BatchImportEvidenceToAssessmentControlResponse BatchImportEvidenceToAssessmentControl(BatchImportEvidenceToAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance;
return Invoke<BatchImportEvidenceToAssessmentControlResponse>(request, options);
}
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
public virtual Task<BatchImportEvidenceToAssessmentControlResponse> BatchImportEvidenceToAssessmentControlAsync(BatchImportEvidenceToAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchImportEvidenceToAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchImportEvidenceToAssessmentControlResponseUnmarshaller.Instance;
return InvokeAsync<BatchImportEvidenceToAssessmentControlResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAssessment
internal virtual CreateAssessmentResponse CreateAssessment(CreateAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentResponse>(request, options);
}
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
public virtual Task<CreateAssessmentResponse> CreateAssessmentAsync(CreateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<CreateAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAssessmentFramework
internal virtual CreateAssessmentFrameworkResponse CreateAssessmentFramework(CreateAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
public virtual Task<CreateAssessmentFrameworkResponse> CreateAssessmentFrameworkAsync(CreateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<CreateAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region CreateAssessmentReport
internal virtual CreateAssessmentReportResponse CreateAssessmentReport(CreateAssessmentReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance;
return Invoke<CreateAssessmentReportResponse>(request, options);
}
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
public virtual Task<CreateAssessmentReportResponse> CreateAssessmentReportAsync(CreateAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateAssessmentReportResponseUnmarshaller.Instance;
return InvokeAsync<CreateAssessmentReportResponse>(request, options, cancellationToken);
}
#endregion
#region CreateControl
internal virtual CreateControlResponse CreateControl(CreateControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance;
return Invoke<CreateControlResponse>(request, options);
}
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
public virtual Task<CreateControlResponse> CreateControlAsync(CreateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateControlResponseUnmarshaller.Instance;
return InvokeAsync<CreateControlResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessment
internal virtual DeleteAssessmentResponse DeleteAssessment(DeleteAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentResponse>(request, options);
}
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
public virtual Task<DeleteAssessmentResponse> DeleteAssessmentAsync(DeleteAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessmentFramework
internal virtual DeleteAssessmentFrameworkResponse DeleteAssessmentFramework(DeleteAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
public virtual Task<DeleteAssessmentFrameworkResponse> DeleteAssessmentFrameworkAsync(DeleteAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessmentFrameworkShare
internal virtual DeleteAssessmentFrameworkShareResponse DeleteAssessmentFrameworkShare(DeleteAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
public virtual Task<DeleteAssessmentFrameworkShareResponse> DeleteAssessmentFrameworkShareAsync(DeleteAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentFrameworkShareResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentFrameworkShareResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteAssessmentReport
internal virtual DeleteAssessmentReportResponse DeleteAssessmentReport(DeleteAssessmentReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance;
return Invoke<DeleteAssessmentReportResponse>(request, options);
}
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
public virtual Task<DeleteAssessmentReportResponse> DeleteAssessmentReportAsync(DeleteAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteAssessmentReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteAssessmentReportResponseUnmarshaller.Instance;
return InvokeAsync<DeleteAssessmentReportResponse>(request, options, cancellationToken);
}
#endregion
#region DeleteControl
internal virtual DeleteControlResponse DeleteControl(DeleteControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance;
return Invoke<DeleteControlResponse>(request, options);
}
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
public virtual Task<DeleteControlResponse> DeleteControlAsync(DeleteControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteControlResponseUnmarshaller.Instance;
return InvokeAsync<DeleteControlResponse>(request, options, cancellationToken);
}
#endregion
#region DeregisterAccount
internal virtual DeregisterAccountResponse DeregisterAccount(DeregisterAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance;
return Invoke<DeregisterAccountResponse>(request, options);
}
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
public virtual Task<DeregisterAccountResponse> DeregisterAccountAsync(DeregisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterAccountResponseUnmarshaller.Instance;
return InvokeAsync<DeregisterAccountResponse>(request, options, cancellationToken);
}
#endregion
#region DeregisterOrganizationAdminAccount
internal virtual DeregisterOrganizationAdminAccountResponse DeregisterOrganizationAdminAccount(DeregisterOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<DeregisterOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
public virtual Task<DeregisterOrganizationAdminAccountResponse> DeregisterOrganizationAdminAccountAsync(DeregisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeregisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeregisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync<DeregisterOrganizationAdminAccountResponse>(request, options, cancellationToken);
}
#endregion
#region DisassociateAssessmentReportEvidenceFolder
internal virtual DisassociateAssessmentReportEvidenceFolderResponse DisassociateAssessmentReportEvidenceFolder(DisassociateAssessmentReportEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<DisassociateAssessmentReportEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
public virtual Task<DisassociateAssessmentReportEvidenceFolderResponse> DisassociateAssessmentReportEvidenceFolderAsync(DisassociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateAssessmentReportEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateAssessmentReportEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<DisassociateAssessmentReportEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region GetAccountStatus
internal virtual GetAccountStatusResponse GetAccountStatus(GetAccountStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance;
return Invoke<GetAccountStatusResponse>(request, options);
}
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
public virtual Task<GetAccountStatusResponse> GetAccountStatusAsync(GetAccountStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAccountStatusResponseUnmarshaller.Instance;
return InvokeAsync<GetAccountStatusResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssessment
internal virtual GetAssessmentResponse GetAssessment(GetAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance;
return Invoke<GetAssessmentResponse>(request, options);
}
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
public virtual Task<GetAssessmentResponse> GetAssessmentAsync(GetAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<GetAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssessmentFramework
internal virtual GetAssessmentFrameworkResponse GetAssessmentFramework(GetAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<GetAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
public virtual Task<GetAssessmentFrameworkResponse> GetAssessmentFrameworkAsync(GetAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<GetAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region GetAssessmentReportUrl
internal virtual GetAssessmentReportUrlResponse GetAssessmentReportUrl(GetAssessmentReportUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance;
return Invoke<GetAssessmentReportUrlResponse>(request, options);
}
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
public virtual Task<GetAssessmentReportUrlResponse> GetAssessmentReportUrlAsync(GetAssessmentReportUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetAssessmentReportUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetAssessmentReportUrlResponseUnmarshaller.Instance;
return InvokeAsync<GetAssessmentReportUrlResponse>(request, options, cancellationToken);
}
#endregion
#region GetChangeLogs
internal virtual GetChangeLogsResponse GetChangeLogs(GetChangeLogsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance;
return Invoke<GetChangeLogsResponse>(request, options);
}
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
public virtual Task<GetChangeLogsResponse> GetChangeLogsAsync(GetChangeLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetChangeLogsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetChangeLogsResponseUnmarshaller.Instance;
return InvokeAsync<GetChangeLogsResponse>(request, options, cancellationToken);
}
#endregion
#region GetControl
internal virtual GetControlResponse GetControl(GetControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance;
return Invoke<GetControlResponse>(request, options);
}
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
public virtual Task<GetControlResponse> GetControlAsync(GetControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetControlResponseUnmarshaller.Instance;
return InvokeAsync<GetControlResponse>(request, options, cancellationToken);
}
#endregion
#region GetDelegations
internal virtual GetDelegationsResponse GetDelegations(GetDelegationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance;
return Invoke<GetDelegationsResponse>(request, options);
}
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
public virtual Task<GetDelegationsResponse> GetDelegationsAsync(GetDelegationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegationsResponseUnmarshaller.Instance;
return InvokeAsync<GetDelegationsResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidence
internal virtual GetEvidenceResponse GetEvidence(GetEvidenceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance;
return Invoke<GetEvidenceResponse>(request, options);
}
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
public virtual Task<GetEvidenceResponse> GetEvidenceAsync(GetEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceByEvidenceFolder
internal virtual GetEvidenceByEvidenceFolderResponse GetEvidenceByEvidenceFolder(GetEvidenceByEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<GetEvidenceByEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
public virtual Task<GetEvidenceByEvidenceFolderResponse> GetEvidenceByEvidenceFolderAsync(GetEvidenceByEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceByEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceByEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceByEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFileUploadUrl
internal virtual GetEvidenceFileUploadUrlResponse GetEvidenceFileUploadUrl(GetEvidenceFileUploadUrlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFileUploadUrlResponse>(request, options);
}
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
public virtual Task<GetEvidenceFileUploadUrlResponse> GetEvidenceFileUploadUrlAsync(GetEvidenceFileUploadUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFileUploadUrlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFileUploadUrlResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFileUploadUrlResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFolder
internal virtual GetEvidenceFolderResponse GetEvidenceFolder(GetEvidenceFolderRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFolderResponse>(request, options);
}
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
public virtual Task<GetEvidenceFolderResponse> GetEvidenceFolderAsync(GetEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFolderRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFolderResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFolderResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFoldersByAssessment
internal virtual GetEvidenceFoldersByAssessmentResponse GetEvidenceFoldersByAssessment(GetEvidenceFoldersByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFoldersByAssessmentResponse>(request, options);
}
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
public virtual Task<GetEvidenceFoldersByAssessmentResponse> GetEvidenceFoldersByAssessmentAsync(GetEvidenceFoldersByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFoldersByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetEvidenceFoldersByAssessmentControl
internal virtual GetEvidenceFoldersByAssessmentControlResponse GetEvidenceFoldersByAssessmentControl(GetEvidenceFoldersByAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance;
return Invoke<GetEvidenceFoldersByAssessmentControlResponse>(request, options);
}
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
public virtual Task<GetEvidenceFoldersByAssessmentControlResponse> GetEvidenceFoldersByAssessmentControlAsync(GetEvidenceFoldersByAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEvidenceFoldersByAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEvidenceFoldersByAssessmentControlResponseUnmarshaller.Instance;
return InvokeAsync<GetEvidenceFoldersByAssessmentControlResponse>(request, options, cancellationToken);
}
#endregion
#region GetInsights
internal virtual GetInsightsResponse GetInsights(GetInsightsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance;
return Invoke<GetInsightsResponse>(request, options);
}
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
public virtual Task<GetInsightsResponse> GetInsightsAsync(GetInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsResponseUnmarshaller.Instance;
return InvokeAsync<GetInsightsResponse>(request, options, cancellationToken);
}
#endregion
#region GetInsightsByAssessment
internal virtual GetInsightsByAssessmentResponse GetInsightsByAssessment(GetInsightsByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance;
return Invoke<GetInsightsByAssessmentResponse>(request, options);
}
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
public virtual Task<GetInsightsByAssessmentResponse> GetInsightsByAssessmentAsync(GetInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetInsightsByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<GetInsightsByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region GetOrganizationAdminAccount
internal virtual GetOrganizationAdminAccountResponse GetOrganizationAdminAccount(GetOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<GetOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
public virtual Task<GetOrganizationAdminAccountResponse> GetOrganizationAdminAccountAsync(GetOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetOrganizationAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync<GetOrganizationAdminAccountResponse>(request, options, cancellationToken);
}
#endregion
#region GetServicesInScope
internal virtual GetServicesInScopeResponse GetServicesInScope(GetServicesInScopeRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance;
return Invoke<GetServicesInScopeResponse>(request, options);
}
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
public virtual Task<GetServicesInScopeResponse> GetServicesInScopeAsync(GetServicesInScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetServicesInScopeRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetServicesInScopeResponseUnmarshaller.Instance;
return InvokeAsync<GetServicesInScopeResponse>(request, options, cancellationToken);
}
#endregion
#region GetSettings
internal virtual GetSettingsResponse GetSettings(GetSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance;
return Invoke<GetSettingsResponse>(request, options);
}
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
public virtual Task<GetSettingsResponse> GetSettingsAsync(GetSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSettingsResponseUnmarshaller.Instance;
return InvokeAsync<GetSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentControlInsightsByControlDomain
internal virtual ListAssessmentControlInsightsByControlDomainResponse ListAssessmentControlInsightsByControlDomain(ListAssessmentControlInsightsByControlDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance;
return Invoke<ListAssessmentControlInsightsByControlDomainResponse>(request, options);
}
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
public virtual Task<ListAssessmentControlInsightsByControlDomainResponse> ListAssessmentControlInsightsByControlDomainAsync(ListAssessmentControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentControlInsightsByControlDomainResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentControlInsightsByControlDomainResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentFrameworks
internal virtual ListAssessmentFrameworksResponse ListAssessmentFrameworks(ListAssessmentFrameworksRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance;
return Invoke<ListAssessmentFrameworksResponse>(request, options);
}
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
public virtual Task<ListAssessmentFrameworksResponse> ListAssessmentFrameworksAsync(ListAssessmentFrameworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworksRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworksResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentFrameworksResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentFrameworkShareRequests
internal virtual ListAssessmentFrameworkShareRequestsResponse ListAssessmentFrameworkShareRequests(ListAssessmentFrameworkShareRequestsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentFrameworkShareRequestsResponse>(request, options);
}
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
public virtual Task<ListAssessmentFrameworkShareRequestsResponse> ListAssessmentFrameworkShareRequestsAsync(ListAssessmentFrameworkShareRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentFrameworkShareRequestsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentFrameworkShareRequestsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentFrameworkShareRequestsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessmentReports
internal virtual ListAssessmentReportsResponse ListAssessmentReports(ListAssessmentReportsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentReportsResponse>(request, options);
}
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
public virtual Task<ListAssessmentReportsResponse> ListAssessmentReportsAsync(ListAssessmentReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentReportsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentReportsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentReportsResponse>(request, options, cancellationToken);
}
#endregion
#region ListAssessments
internal virtual ListAssessmentsResponse ListAssessments(ListAssessmentsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance;
return Invoke<ListAssessmentsResponse>(request, options);
}
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
public virtual Task<ListAssessmentsResponse> ListAssessmentsAsync(ListAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAssessmentsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAssessmentsResponseUnmarshaller.Instance;
return InvokeAsync<ListAssessmentsResponse>(request, options, cancellationToken);
}
#endregion
#region ListControlDomainInsights
internal virtual ListControlDomainInsightsResponse ListControlDomainInsights(ListControlDomainInsightsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance;
return Invoke<ListControlDomainInsightsResponse>(request, options);
}
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
public virtual Task<ListControlDomainInsightsResponse> ListControlDomainInsightsAsync(ListControlDomainInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsResponseUnmarshaller.Instance;
return InvokeAsync<ListControlDomainInsightsResponse>(request, options, cancellationToken);
}
#endregion
#region ListControlDomainInsightsByAssessment
internal virtual ListControlDomainInsightsByAssessmentResponse ListControlDomainInsightsByAssessment(ListControlDomainInsightsByAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance;
return Invoke<ListControlDomainInsightsByAssessmentResponse>(request, options);
}
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
public virtual Task<ListControlDomainInsightsByAssessmentResponse> ListControlDomainInsightsByAssessmentAsync(ListControlDomainInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlDomainInsightsByAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlDomainInsightsByAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<ListControlDomainInsightsByAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region ListControlInsightsByControlDomain
internal virtual ListControlInsightsByControlDomainResponse ListControlInsightsByControlDomain(ListControlInsightsByControlDomainRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance;
return Invoke<ListControlInsightsByControlDomainResponse>(request, options);
}
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
public virtual Task<ListControlInsightsByControlDomainResponse> ListControlInsightsByControlDomainAsync(ListControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlInsightsByControlDomainRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlInsightsByControlDomainResponseUnmarshaller.Instance;
return InvokeAsync<ListControlInsightsByControlDomainResponse>(request, options, cancellationToken);
}
#endregion
#region ListControls
internal virtual ListControlsResponse ListControls(ListControlsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance;
return Invoke<ListControlsResponse>(request, options);
}
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
public virtual Task<ListControlsResponse> ListControlsAsync(ListControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListControlsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListControlsResponseUnmarshaller.Instance;
return InvokeAsync<ListControlsResponse>(request, options, cancellationToken);
}
#endregion
#region ListKeywordsForDataSource
internal virtual ListKeywordsForDataSourceResponse ListKeywordsForDataSource(ListKeywordsForDataSourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance;
return Invoke<ListKeywordsForDataSourceResponse>(request, options);
}
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
public virtual Task<ListKeywordsForDataSourceResponse> ListKeywordsForDataSourceAsync(ListKeywordsForDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListKeywordsForDataSourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListKeywordsForDataSourceResponseUnmarshaller.Instance;
return InvokeAsync<ListKeywordsForDataSourceResponse>(request, options, cancellationToken);
}
#endregion
#region ListNotifications
internal virtual ListNotificationsResponse ListNotifications(ListNotificationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance;
return Invoke<ListNotificationsResponse>(request, options);
}
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
public virtual Task<ListNotificationsResponse> ListNotificationsAsync(ListNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListNotificationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListNotificationsResponseUnmarshaller.Instance;
return InvokeAsync<ListNotificationsResponse>(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke<ListTagsForResourceResponse>(request, options);
}
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
public virtual Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync<ListTagsForResourceResponse>(request, options, cancellationToken);
}
#endregion
#region RegisterAccount
internal virtual RegisterAccountResponse RegisterAccount(RegisterAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance;
return Invoke<RegisterAccountResponse>(request, options);
}
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
public virtual Task<RegisterAccountResponse> RegisterAccountAsync(RegisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterAccountResponseUnmarshaller.Instance;
return InvokeAsync<RegisterAccountResponse>(request, options, cancellationToken);
}
#endregion
#region RegisterOrganizationAdminAccount
internal virtual RegisterOrganizationAdminAccountResponse RegisterOrganizationAdminAccount(RegisterOrganizationAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return Invoke<RegisterOrganizationAdminAccountResponse>(request, options);
}
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
public virtual Task<RegisterOrganizationAdminAccountResponse> RegisterOrganizationAdminAccountAsync(RegisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = RegisterOrganizationAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = RegisterOrganizationAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync<RegisterOrganizationAdminAccountResponse>(request, options, cancellationToken);
}
#endregion
#region StartAssessmentFrameworkShare
internal virtual StartAssessmentFrameworkShareResponse StartAssessmentFrameworkShare(StartAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<StartAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
public virtual Task<StartAssessmentFrameworkShareResponse> StartAssessmentFrameworkShareAsync(StartAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = StartAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = StartAssessmentFrameworkShareResponseUnmarshaller.Instance;
return InvokeAsync<StartAssessmentFrameworkShareResponse>(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>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
public virtual Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync<TagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke<UntagResourceResponse>(request, options);
}
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
public virtual Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync<UntagResourceResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessment
internal virtual UpdateAssessmentResponse UpdateAssessment(UpdateAssessmentRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentResponse>(request, options);
}
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
public virtual Task<UpdateAssessmentResponse> UpdateAssessmentAsync(UpdateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentControl
internal virtual UpdateAssessmentControlResponse UpdateAssessmentControl(UpdateAssessmentControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentControlResponse>(request, options);
}
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
public virtual Task<UpdateAssessmentControlResponse> UpdateAssessmentControlAsync(UpdateAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentControlResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentControlSetStatus
internal virtual UpdateAssessmentControlSetStatusResponse UpdateAssessmentControlSetStatus(UpdateAssessmentControlSetStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentControlSetStatusResponse>(request, options);
}
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
public virtual Task<UpdateAssessmentControlSetStatusResponse> UpdateAssessmentControlSetStatusAsync(UpdateAssessmentControlSetStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentControlSetStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentControlSetStatusResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentControlSetStatusResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentFramework
internal virtual UpdateAssessmentFrameworkResponse UpdateAssessmentFramework(UpdateAssessmentFrameworkRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentFrameworkResponse>(request, options);
}
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
public virtual Task<UpdateAssessmentFrameworkResponse> UpdateAssessmentFrameworkAsync(UpdateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentFrameworkResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentFrameworkShare
internal virtual UpdateAssessmentFrameworkShareResponse UpdateAssessmentFrameworkShare(UpdateAssessmentFrameworkShareRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentFrameworkShareResponse>(request, options);
}
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
public virtual Task<UpdateAssessmentFrameworkShareResponse> UpdateAssessmentFrameworkShareAsync(UpdateAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentFrameworkShareRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentFrameworkShareResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentFrameworkShareResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateAssessmentStatus
internal virtual UpdateAssessmentStatusResponse UpdateAssessmentStatus(UpdateAssessmentStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance;
return Invoke<UpdateAssessmentStatusResponse>(request, options);
}
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
public virtual Task<UpdateAssessmentStatusResponse> UpdateAssessmentStatusAsync(UpdateAssessmentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateAssessmentStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateAssessmentStatusResponseUnmarshaller.Instance;
return InvokeAsync<UpdateAssessmentStatusResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateControl
internal virtual UpdateControlResponse UpdateControl(UpdateControlRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance;
return Invoke<UpdateControlResponse>(request, options);
}
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
public virtual Task<UpdateControlResponse> UpdateControlAsync(UpdateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateControlRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateControlResponseUnmarshaller.Instance;
return InvokeAsync<UpdateControlResponse>(request, options, cancellationToken);
}
#endregion
#region UpdateSettings
internal virtual UpdateSettingsResponse UpdateSettings(UpdateSettingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance;
return Invoke<UpdateSettingsResponse>(request, options);
}
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
public virtual Task<UpdateSettingsResponse> UpdateSettingsAsync(UpdateSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateSettingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateSettingsResponseUnmarshaller.Instance;
return InvokeAsync<UpdateSettingsResponse>(request, options, cancellationToken);
}
#endregion
#region ValidateAssessmentReportIntegrity
internal virtual ValidateAssessmentReportIntegrityResponse ValidateAssessmentReportIntegrity(ValidateAssessmentReportIntegrityRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance;
return Invoke<ValidateAssessmentReportIntegrityResponse>(request, options);
}
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
public virtual Task<ValidateAssessmentReportIntegrityResponse> ValidateAssessmentReportIntegrityAsync(ValidateAssessmentReportIntegrityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ValidateAssessmentReportIntegrityRequestMarshaller.Instance;
options.ResponseUnmarshaller = ValidateAssessmentReportIntegrityResponseUnmarshaller.Instance;
return InvokeAsync<ValidateAssessmentReportIntegrityResponse>(request, options, cancellationToken);
}
#endregion
}
}
| 3,569 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the auditmanager-2017-07-25.normal.json service model.
*/
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using Amazon.Runtime;
using Amazon.AuditManager.Model;
namespace Amazon.AuditManager
{
/// <summary>
/// Interface for accessing AuditManager
///
/// Welcome to the Audit Manager API reference. This guide is for developers who need
/// detailed information about the Audit Manager API operations, data types, and errors.
///
///
///
/// <para>
/// Audit Manager is a service that provides automated evidence collection so that you
/// can continually audit your Amazon Web Services usage. You can use it to assess the
/// effectiveness of your controls, manage risk, and simplify compliance.
/// </para>
///
/// <para>
/// Audit Manager provides prebuilt frameworks that structure and automate assessments
/// for a given compliance standard. Frameworks include a prebuilt collection of controls
/// with descriptions and testing procedures. These controls are grouped according to
/// the requirements of the specified compliance standard or regulation. You can also
/// customize frameworks and controls to support internal audits with specific requirements.
///
/// </para>
///
/// <para>
/// Use the following links to get started with the Audit Manager API:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Operations.html">Actions</a>:
/// An alphabetical list of all Audit Manager API operations.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Types.html">Data
/// types</a>: An alphabetical list of all Audit Manager data types.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonParameters.html">Common
/// parameters</a>: Parameters that all operations can use.
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/CommonErrors.html">Common
/// errors</a>: Client and server errors that all operations can return.
/// </para>
/// </li> </ul>
/// <para>
/// If you're new to Audit Manager, we recommend that you review the <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/what-is.html">
/// Audit Manager User Guide</a>.
/// </para>
/// </summary>
public partial interface IAmazonAuditManager : IAmazonService, IDisposable
{
#if AWS_ASYNC_ENUMERABLES_API
/// <summary>
/// Paginators for the service
/// </summary>
IAuditManagerPaginatorFactory Paginators { get; }
#endif
#region AssociateAssessmentReportEvidenceFolder
/// <summary>
/// Associates an evidence folder to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the AssociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the AssociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/AssociateAssessmentReportEvidenceFolder">REST API Reference for AssociateAssessmentReportEvidenceFolder Operation</seealso>
Task<AssociateAssessmentReportEvidenceFolderResponse> AssociateAssessmentReportEvidenceFolderAsync(AssociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchAssociateAssessmentReportEvidence
/// <summary>
/// Associates a list of evidence to an assessment report in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchAssociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchAssociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchAssociateAssessmentReportEvidence">REST API Reference for BatchAssociateAssessmentReportEvidence Operation</seealso>
Task<BatchAssociateAssessmentReportEvidenceResponse> BatchAssociateAssessmentReportEvidenceAsync(BatchAssociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchCreateDelegationByAssessment
/// <summary>
/// Creates a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchCreateDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchCreateDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchCreateDelegationByAssessment">REST API Reference for BatchCreateDelegationByAssessment Operation</seealso>
Task<BatchCreateDelegationByAssessmentResponse> BatchCreateDelegationByAssessmentAsync(BatchCreateDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchDeleteDelegationByAssessment
/// <summary>
/// Deletes a batch of delegations for an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDeleteDelegationByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDeleteDelegationByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDeleteDelegationByAssessment">REST API Reference for BatchDeleteDelegationByAssessment Operation</seealso>
Task<BatchDeleteDelegationByAssessmentResponse> BatchDeleteDelegationByAssessmentAsync(BatchDeleteDelegationByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchDisassociateAssessmentReportEvidence
/// <summary>
/// Disassociates a list of evidence from an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchDisassociateAssessmentReportEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchDisassociateAssessmentReportEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchDisassociateAssessmentReportEvidence">REST API Reference for BatchDisassociateAssessmentReportEvidence Operation</seealso>
Task<BatchDisassociateAssessmentReportEvidenceResponse> BatchDisassociateAssessmentReportEvidenceAsync(BatchDisassociateAssessmentReportEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region BatchImportEvidenceToAssessmentControl
/// <summary>
/// Adds one or more pieces of evidence to a control in an Audit Manager assessment.
///
///
/// <para>
/// You can import manual evidence from any S3 bucket by specifying the S3 URI of the
/// object. You can also upload a file from your browser, or enter plain text in response
/// to a risk assessment question.
/// </para>
///
/// <para>
/// The following restrictions apply to this action:
/// </para>
/// <ul> <li>
/// <para>
/// <code>manualEvidence</code> can be only one of the following: <code>evidenceFileName</code>,
/// <code>s3ResourcePath</code>, or <code>textResponse</code>
/// </para>
/// </li> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the BatchImportEvidenceToAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the BatchImportEvidenceToAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/BatchImportEvidenceToAssessmentControl">REST API Reference for BatchImportEvidenceToAssessmentControl Operation</seealso>
Task<BatchImportEvidenceToAssessmentControlResponse> BatchImportEvidenceToAssessmentControlAsync(BatchImportEvidenceToAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAssessment
/// <summary>
/// Creates an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessment">REST API Reference for CreateAssessment Operation</seealso>
Task<CreateAssessmentResponse> CreateAssessmentAsync(CreateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAssessmentFramework
/// <summary>
/// Creates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentFramework">REST API Reference for CreateAssessmentFramework Operation</seealso>
Task<CreateAssessmentFrameworkResponse> CreateAssessmentFrameworkAsync(CreateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateAssessmentReport
/// <summary>
/// Creates an assessment report for the specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateAssessmentReport">REST API Reference for CreateAssessmentReport Operation</seealso>
Task<CreateAssessmentReportResponse> CreateAssessmentReportAsync(CreateAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region CreateControl
/// <summary>
/// Creates a new custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the CreateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the CreateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/CreateControl">REST API Reference for CreateControl Operation</seealso>
Task<CreateControlResponse> CreateControlAsync(CreateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessment
/// <summary>
/// Deletes an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessment">REST API Reference for DeleteAssessment Operation</seealso>
Task<DeleteAssessmentResponse> DeleteAssessmentAsync(DeleteAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessmentFramework
/// <summary>
/// Deletes a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFramework">REST API Reference for DeleteAssessmentFramework Operation</seealso>
Task<DeleteAssessmentFrameworkResponse> DeleteAssessmentFrameworkAsync(DeleteAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessmentFrameworkShare
/// <summary>
/// Deletes a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentFrameworkShare">REST API Reference for DeleteAssessmentFrameworkShare Operation</seealso>
Task<DeleteAssessmentFrameworkShareResponse> DeleteAssessmentFrameworkShareAsync(DeleteAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteAssessmentReport
/// <summary>
/// Deletes an assessment report in Audit Manager.
///
///
/// <para>
/// When you run the <code>DeleteAssessmentReport</code> operation, Audit Manager attempts
/// to delete the following data:
/// </para>
/// <ol> <li>
/// <para>
/// The specified assessment report that’s stored in your S3 bucket
/// </para>
/// </li> <li>
/// <para>
/// The associated metadata that’s stored in Audit Manager
/// </para>
/// </li> </ol>
/// <para>
/// If Audit Manager can’t access the assessment report in your S3 bucket, the report
/// isn’t deleted. In this event, the <code>DeleteAssessmentReport</code> operation doesn’t
/// fail. Instead, it proceeds to delete the associated metadata only. You must then delete
/// the assessment report from the S3 bucket yourself.
/// </para>
///
/// <para>
/// This scenario happens when Audit Manager receives a <code>403 (Forbidden)</code> or
/// <code>404 (Not Found)</code> error from Amazon S3. To avoid this, make sure that your
/// S3 bucket is available, and that you configured the correct permissions for Audit
/// Manager to delete resources in your S3 bucket. For an example permissions policy that
/// you can use, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/security_iam_id-based-policy-examples.html#full-administrator-access-assessment-report-destination">Assessment
/// report destination permissions</a> in the <i>Audit Manager User Guide</i>. For information
/// about the issues that could cause a <code>403 (Forbidden)</code> or <code>404 (Not
/// Found</code>) error from Amazon S3, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#ErrorCodeList">List
/// of Error Codes</a> in the <i>Amazon Simple Storage Service API Reference</i>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteAssessmentReport service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteAssessmentReport service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteAssessmentReport">REST API Reference for DeleteAssessmentReport Operation</seealso>
Task<DeleteAssessmentReportResponse> DeleteAssessmentReportAsync(DeleteAssessmentReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeleteControl
/// <summary>
/// Deletes a custom control in Audit Manager.
///
/// <important>
/// <para>
/// When you invoke this operation, the custom control is deleted from any frameworks
/// or assessments that it’s currently part of. As a result, Audit Manager will stop collecting
/// evidence for that custom control in all of your assessments. This includes assessments
/// that you previously created before you deleted the custom control.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeleteControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeleteControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeleteControl">REST API Reference for DeleteControl Operation</seealso>
Task<DeleteControlResponse> DeleteControlAsync(DeleteControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeregisterAccount
/// <summary>
/// Deregisters an account in Audit Manager.
///
/// <note>
/// <para>
/// Before you deregister, you can use the <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_UpdateSettings.html">UpdateSettings</a>
/// API operation to set your preferred data retention policy. By default, Audit Manager
/// retains your data. If you want to delete your data, you can use the <code>DeregistrationPolicy</code>
/// attribute to request the deletion of your data.
/// </para>
///
/// <para>
/// For more information about data retention, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/data-protection.html">Data
/// Protection</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterAccount">REST API Reference for DeregisterAccount Operation</seealso>
Task<DeregisterAccountResponse> DeregisterAccountAsync(DeregisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DeregisterOrganizationAdminAccount
/// <summary>
/// Removes the specified Amazon Web Services account as a delegated administrator for
/// Audit Manager.
///
///
/// <para>
/// When you remove a delegated administrator from your Audit Manager settings, you continue
/// to have access to the evidence that you previously collected under that account. This
/// is also the case when you deregister a delegated administrator from Organizations.
/// However, Audit Manager stops collecting and attaching evidence to that delegated administrator
/// account moving forward.
/// </para>
/// <important>
/// <para>
/// Keep in mind the following cleanup task if you use evidence finder:
/// </para>
///
/// <para>
/// Before you use your management account to remove a delegated administrator, make sure
/// that the current delegated administrator account signs in to Audit Manager and disables
/// evidence finder first. Disabling evidence finder automatically deletes the event data
/// store that was created in their account when they enabled evidence finder. If this
/// task isn’t completed, the event data store remains in their account. In this case,
/// we recommend that the original delegated administrator goes to CloudTrail Lake and
/// manually <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/query-eds-disable-termination.html">deletes
/// the event data store</a>.
/// </para>
///
/// <para>
/// This cleanup task is necessary to ensure that you don't end up with multiple event
/// data stores. Audit Manager ignores an unused event data store after you remove or
/// change a delegated administrator account. However, the unused event data store continues
/// to incur storage costs from CloudTrail Lake if you don't delete it.
/// </para>
/// </important>
/// <para>
/// When you deregister a delegated administrator account for Audit Manager, the data
/// for that account isn’t deleted. If you want to delete resource data for a delegated
/// administrator account, you must perform that task separately before you deregister
/// the account. Either, you can do this in the Audit Manager console. Or, you can use
/// one of the delete API operations that are provided by Audit Manager.
/// </para>
///
/// <para>
/// To delete your Audit Manager resource data, see the following instructions:
/// </para>
/// <ul> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessment.html">DeleteAssessment</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-assessment.html">Deleting
/// an assessment</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFramework.html">DeleteAssessmentFramework</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-custom-framework.html">Deleting
/// a custom framework</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentFrameworkShare.html">DeleteAssessmentFrameworkShare</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/deleting-shared-framework-requests.html">Deleting
/// a share request</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteAssessmentReport.html">DeleteAssessmentReport</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/generate-assessment-report.html#delete-assessment-report-steps">Deleting
/// an assessment report</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> <li>
/// <para>
/// <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_DeleteControl.html">DeleteControl</a>
/// (see also: <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/delete-controls.html">Deleting
/// a custom control</a> in the <i>Audit Manager User Guide</i>)
/// </para>
/// </li> </ul>
/// <para>
/// At this time, Audit Manager doesn't provide an option to delete evidence for a specific
/// delegated administrator. Instead, when your management account deregisters Audit Manager,
/// we perform a cleanup for the current delegated administrator account at the time of
/// deregistration.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DeregisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DeregisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DeregisterOrganizationAdminAccount">REST API Reference for DeregisterOrganizationAdminAccount Operation</seealso>
Task<DeregisterOrganizationAdminAccountResponse> DeregisterOrganizationAdminAccountAsync(DeregisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region DisassociateAssessmentReportEvidenceFolder
/// <summary>
/// Disassociates an evidence folder from the specified assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the DisassociateAssessmentReportEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the DisassociateAssessmentReportEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/DisassociateAssessmentReportEvidenceFolder">REST API Reference for DisassociateAssessmentReportEvidenceFolder Operation</seealso>
Task<DisassociateAssessmentReportEvidenceFolderResponse> DisassociateAssessmentReportEvidenceFolderAsync(DisassociateAssessmentReportEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAccountStatus
/// <summary>
/// Gets the registration status of an account in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAccountStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAccountStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAccountStatus">REST API Reference for GetAccountStatus Operation</seealso>
Task<GetAccountStatusResponse> GetAccountStatusAsync(GetAccountStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssessment
/// <summary>
/// Gets information about a specified assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessment">REST API Reference for GetAssessment Operation</seealso>
Task<GetAssessmentResponse> GetAssessmentAsync(GetAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssessmentFramework
/// <summary>
/// Gets information about a specified framework.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentFramework">REST API Reference for GetAssessmentFramework Operation</seealso>
Task<GetAssessmentFrameworkResponse> GetAssessmentFrameworkAsync(GetAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetAssessmentReportUrl
/// <summary>
/// Gets the URL of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetAssessmentReportUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetAssessmentReportUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetAssessmentReportUrl">REST API Reference for GetAssessmentReportUrl Operation</seealso>
Task<GetAssessmentReportUrlResponse> GetAssessmentReportUrlAsync(GetAssessmentReportUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetChangeLogs
/// <summary>
/// Gets a list of changelogs from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetChangeLogs service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetChangeLogs service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetChangeLogs">REST API Reference for GetChangeLogs Operation</seealso>
Task<GetChangeLogsResponse> GetChangeLogsAsync(GetChangeLogsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetControl
/// <summary>
/// Gets information about a specified control.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetControl">REST API Reference for GetControl Operation</seealso>
Task<GetControlResponse> GetControlAsync(GetControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetDelegations
/// <summary>
/// Gets a list of delegations from an audit owner to a delegate.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetDelegations service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetDelegations service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetDelegations">REST API Reference for GetDelegations Operation</seealso>
Task<GetDelegationsResponse> GetDelegationsAsync(GetDelegationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidence
/// <summary>
/// Gets information about a specified evidence item.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidence service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidence service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidence">REST API Reference for GetEvidence Operation</seealso>
Task<GetEvidenceResponse> GetEvidenceAsync(GetEvidenceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceByEvidenceFolder
/// <summary>
/// Gets all evidence from a specified evidence folder in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceByEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceByEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceByEvidenceFolder">REST API Reference for GetEvidenceByEvidenceFolder Operation</seealso>
Task<GetEvidenceByEvidenceFolderResponse> GetEvidenceByEvidenceFolderAsync(GetEvidenceByEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFileUploadUrl
/// <summary>
/// Creates a presigned Amazon S3 URL that can be used to upload a file as manual evidence.
/// For instructions on how to use this operation, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#how-to-upload-manual-evidence-files">Upload
/// a file from your browser </a> in the <i>Audit Manager User Guide</i>.
///
///
/// <para>
/// The following restrictions apply to this operation:
/// </para>
/// <ul> <li>
/// <para>
/// Maximum size of an individual evidence file: 100 MB
/// </para>
/// </li> <li>
/// <para>
/// Number of daily manual evidence uploads per control: 100
/// </para>
/// </li> <li>
/// <para>
/// Supported file formats: See <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/upload-evidence.html#supported-manual-evidence-files">Supported
/// file types for manual evidence</a> in the <i>Audit Manager User Guide</i>
/// </para>
/// </li> </ul>
/// <para>
/// For more information about Audit Manager service restrictions, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </para>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFileUploadUrl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFileUploadUrl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFileUploadUrl">REST API Reference for GetEvidenceFileUploadUrl Operation</seealso>
Task<GetEvidenceFileUploadUrlResponse> GetEvidenceFileUploadUrlAsync(GetEvidenceFileUploadUrlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFolder
/// <summary>
/// Gets an evidence folder from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFolder service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFolder service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFolder">REST API Reference for GetEvidenceFolder Operation</seealso>
Task<GetEvidenceFolderResponse> GetEvidenceFolderAsync(GetEvidenceFolderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFoldersByAssessment
/// <summary>
/// Gets the evidence folders from a specified assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessment">REST API Reference for GetEvidenceFoldersByAssessment Operation</seealso>
Task<GetEvidenceFoldersByAssessmentResponse> GetEvidenceFoldersByAssessmentAsync(GetEvidenceFoldersByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetEvidenceFoldersByAssessmentControl
/// <summary>
/// Gets a list of evidence folders that are associated with a specified control in an
/// Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetEvidenceFoldersByAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetEvidenceFoldersByAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetEvidenceFoldersByAssessmentControl">REST API Reference for GetEvidenceFoldersByAssessmentControl Operation</seealso>
Task<GetEvidenceFoldersByAssessmentControlResponse> GetEvidenceFoldersByAssessmentControlAsync(GetEvidenceFoldersByAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInsights
/// <summary>
/// Gets the latest analytics data for all your current active assessments.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsights">REST API Reference for GetInsights Operation</seealso>
Task<GetInsightsResponse> GetInsightsAsync(GetInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetInsightsByAssessment
/// <summary>
/// Gets the latest analytics data for a specific active assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetInsightsByAssessment">REST API Reference for GetInsightsByAssessment Operation</seealso>
Task<GetInsightsByAssessmentResponse> GetInsightsByAssessmentAsync(GetInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetOrganizationAdminAccount
/// <summary>
/// Gets the name of the delegated Amazon Web Services administrator account for a specified
/// organization.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetOrganizationAdminAccount">REST API Reference for GetOrganizationAdminAccount Operation</seealso>
Task<GetOrganizationAdminAccountResponse> GetOrganizationAdminAccountAsync(GetOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetServicesInScope
/// <summary>
/// Gets a list of all of the Amazon Web Services that you can choose to include in your
/// assessment. When you <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_CreateAssessment.html">create
/// an assessment</a>, specify which of these services you want to include to narrow the
/// assessment's <a href="https://docs.aws.amazon.com/audit-manager/latest/APIReference/API_Scope.html">scope</a>.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetServicesInScope service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetServicesInScope service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetServicesInScope">REST API Reference for GetServicesInScope Operation</seealso>
Task<GetServicesInScopeResponse> GetServicesInScopeAsync(GetServicesInScopeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region GetSettings
/// <summary>
/// Gets the settings for a specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the GetSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the GetSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/GetSettings">REST API Reference for GetSettings Operation</seealso>
Task<GetSettingsResponse> GetSettingsAsync(GetSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain and
/// a specific active assessment.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain and
/// assessment that was specified. Moreover, the control must have collected evidence
/// on the <code>lastUpdated</code> date of <code>controlInsightsByAssessment</code>.
/// If neither of these conditions are met, no data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentControlInsightsByControlDomain">REST API Reference for ListAssessmentControlInsightsByControlDomain Operation</seealso>
Task<ListAssessmentControlInsightsByControlDomainResponse> ListAssessmentControlInsightsByControlDomainAsync(ListAssessmentControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentFrameworks
/// <summary>
/// Returns a list of the frameworks that are available in the Audit Manager framework
/// library.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworks service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworks service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworks">REST API Reference for ListAssessmentFrameworks Operation</seealso>
Task<ListAssessmentFrameworksResponse> ListAssessmentFrameworksAsync(ListAssessmentFrameworksRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentFrameworkShareRequests
/// <summary>
/// Returns a list of sent or received share requests for custom frameworks in Audit
/// Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentFrameworkShareRequests service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentFrameworkShareRequests service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentFrameworkShareRequests">REST API Reference for ListAssessmentFrameworkShareRequests Operation</seealso>
Task<ListAssessmentFrameworkShareRequestsResponse> ListAssessmentFrameworkShareRequestsAsync(ListAssessmentFrameworkShareRequestsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessmentReports
/// <summary>
/// Returns a list of assessment reports created in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessmentReports service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessmentReports service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessmentReports">REST API Reference for ListAssessmentReports Operation</seealso>
Task<ListAssessmentReportsResponse> ListAssessmentReportsAsync(ListAssessmentReportsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListAssessments
/// <summary>
/// Returns a list of current and past assessments from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListAssessments service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListAssessments service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListAssessments">REST API Reference for ListAssessments Operation</seealso>
Task<ListAssessmentsResponse> ListAssessmentsAsync(ListAssessmentsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControlDomainInsights
/// <summary>
/// Lists the latest analytics data for control domains across all of your active assessments.
///
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that control domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsights service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsights service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsights">REST API Reference for ListControlDomainInsights Operation</seealso>
Task<ListControlDomainInsightsResponse> ListControlDomainInsightsAsync(ListControlDomainInsightsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControlDomainInsightsByAssessment
/// <summary>
/// Lists analytics data for control domains within a specified active assessment.
///
/// <note>
/// <para>
/// A control domain is listed only if at least one of the controls within that domain
/// collected evidence on the <code>lastUpdated</code> date of <code>controlDomainInsights</code>.
/// If this condition isn’t met, no data is listed for that domain.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlDomainInsightsByAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlDomainInsightsByAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlDomainInsightsByAssessment">REST API Reference for ListControlDomainInsightsByAssessment Operation</seealso>
Task<ListControlDomainInsightsByAssessmentResponse> ListControlDomainInsightsByAssessmentAsync(ListControlDomainInsightsByAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControlInsightsByControlDomain
/// <summary>
/// Lists the latest analytics data for controls within a specific control domain across
/// all active assessments.
///
/// <note>
/// <para>
/// Control insights are listed only if the control belongs to the control domain that
/// was specified and the control collected evidence on the <code>lastUpdated</code> date
/// of <code>controlInsightsMetadata</code>. If neither of these conditions are met, no
/// data is listed for that control.
/// </para>
/// </note>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControlInsightsByControlDomain service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControlInsightsByControlDomain service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControlInsightsByControlDomain">REST API Reference for ListControlInsightsByControlDomain Operation</seealso>
Task<ListControlInsightsByControlDomainResponse> ListControlInsightsByControlDomainAsync(ListControlInsightsByControlDomainRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListControls
/// <summary>
/// Returns a list of controls from Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListControls service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListControls service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListControls">REST API Reference for ListControls Operation</seealso>
Task<ListControlsResponse> ListControlsAsync(ListControlsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListKeywordsForDataSource
/// <summary>
/// Returns a list of keywords that are pre-mapped to the specified control data source.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListKeywordsForDataSource service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListKeywordsForDataSource service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListKeywordsForDataSource">REST API Reference for ListKeywordsForDataSource Operation</seealso>
Task<ListKeywordsForDataSourceResponse> ListKeywordsForDataSourceAsync(ListKeywordsForDataSourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListNotifications
/// <summary>
/// Returns a list of all Audit Manager notifications.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ListNotifications service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ListNotifications service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListNotifications">REST API Reference for ListNotifications Operation</seealso>
Task<ListNotificationsResponse> ListNotificationsAsync(ListNotificationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ListTagsForResource
/// <summary>
/// Returns a list of tags for the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso>
Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterAccount
/// <summary>
/// Enables Audit Manager for the specified Amazon Web Services account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ThrottlingException">
/// The request was denied due to request throttling.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterAccount">REST API Reference for RegisterAccount Operation</seealso>
Task<RegisterAccountResponse> RegisterAccountAsync(RegisterAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region RegisterOrganizationAdminAccount
/// <summary>
/// Enables an Amazon Web Services account within the organization as the delegated administrator
/// for Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the RegisterOrganizationAdminAccount service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the RegisterOrganizationAdminAccount service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/RegisterOrganizationAdminAccount">REST API Reference for RegisterOrganizationAdminAccount Operation</seealso>
Task<RegisterOrganizationAdminAccountResponse> RegisterOrganizationAdminAccountAsync(RegisterOrganizationAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region StartAssessmentFrameworkShare
/// <summary>
/// Creates a share request for a custom framework in Audit Manager.
///
///
/// <para>
/// The share request specifies a recipient and notifies them that a custom framework
/// is available. Recipients have 120 days to accept or decline the request. If no action
/// is taken, the share request expires.
/// </para>
///
/// <para>
/// When you create a share request, Audit Manager stores a snapshot of your custom framework
/// in the US East (N. Virginia) Amazon Web Services Region. Audit Manager also stores
/// a backup of the same snapshot in the US West (Oregon) Amazon Web Services Region.
/// </para>
///
/// <para>
/// Audit Manager deletes the snapshot and the backup snapshot when one of the following
/// events occurs:
/// </para>
/// <ul> <li>
/// <para>
/// The sender revokes the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient declines the share request.
/// </para>
/// </li> <li>
/// <para>
/// The recipient encounters an error and doesn't successfully accept the share request.
/// </para>
/// </li> <li>
/// <para>
/// The share request expires before the recipient responds to the request.
/// </para>
/// </li> </ul>
/// <para>
/// When a sender <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/framework-sharing.html#framework-sharing-resend">resends
/// a share request</a>, the snapshot is replaced with an updated version that corresponds
/// with the latest version of the custom framework.
/// </para>
///
/// <para>
/// When a recipient accepts a share request, the snapshot is replicated into their Amazon
/// Web Services account under the Amazon Web Services Region that was specified in the
/// share request.
/// </para>
/// <important>
/// <para>
/// When you invoke the <code>StartAssessmentFrameworkShare</code> API, you are about
/// to share a custom framework with another Amazon Web Services account. You may not
/// share a custom framework that is derived from a standard framework if the standard
/// framework is designated as not eligible for sharing by Amazon Web Services, unless
/// you have obtained permission to do so from the owner of the standard framework. To
/// learn more about which standard frameworks are eligible for sharing, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/share-custom-framework-concepts-and-terminology.html#eligibility">Framework
/// sharing eligibility</a> in the <i>Audit Manager User Guide</i>.
/// </para>
/// </important>
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the StartAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the StartAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/StartAssessmentFrameworkShare">REST API Reference for StartAssessmentFrameworkShare Operation</seealso>
Task<StartAssessmentFrameworkShareResponse> StartAssessmentFrameworkShareAsync(StartAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region TagResource
/// <summary>
/// Tags the specified resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/TagResource">REST API Reference for TagResource Operation</seealso>
Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UntagResource
/// <summary>
/// Removes a tag from a resource in Audit Manager.
/// </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 AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UntagResource">REST API Reference for UntagResource Operation</seealso>
Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessment
/// <summary>
/// Edits an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessment service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessment service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessment">REST API Reference for UpdateAssessment Operation</seealso>
Task<UpdateAssessmentResponse> UpdateAssessmentAsync(UpdateAssessmentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentControl
/// <summary>
/// Updates a control within an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControl">REST API Reference for UpdateAssessmentControl Operation</seealso>
Task<UpdateAssessmentControlResponse> UpdateAssessmentControlAsync(UpdateAssessmentControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentControlSetStatus
/// <summary>
/// Updates the status of a control set in an Audit Manager assessment.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentControlSetStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentControlSetStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentControlSetStatus">REST API Reference for UpdateAssessmentControlSetStatus Operation</seealso>
Task<UpdateAssessmentControlSetStatusResponse> UpdateAssessmentControlSetStatusAsync(UpdateAssessmentControlSetStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentFramework
/// <summary>
/// Updates a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFramework service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFramework service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFramework">REST API Reference for UpdateAssessmentFramework Operation</seealso>
Task<UpdateAssessmentFrameworkResponse> UpdateAssessmentFrameworkAsync(UpdateAssessmentFrameworkRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentFrameworkShare
/// <summary>
/// Updates a share request for a custom framework in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentFrameworkShare service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentFrameworkShare service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentFrameworkShare">REST API Reference for UpdateAssessmentFrameworkShare Operation</seealso>
Task<UpdateAssessmentFrameworkShareResponse> UpdateAssessmentFrameworkShareAsync(UpdateAssessmentFrameworkShareRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateAssessmentStatus
/// <summary>
/// Updates the status of an assessment in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateAssessmentStatus service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateAssessmentStatus service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ServiceQuotaExceededException">
/// You've reached your account quota for this resource type. To perform the requested
/// action, delete some existing resources or <a href="https://docs.aws.amazon.com/general/latest/gr/aws_service_limits.html">request
/// a quota increase</a> from the Service Quotas console. For a list of Audit Manager
/// service quotas, see <a href="https://docs.aws.amazon.com/audit-manager/latest/userguide/service-quotas.html">Quotas
/// and restrictions for Audit Manager</a>.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateAssessmentStatus">REST API Reference for UpdateAssessmentStatus Operation</seealso>
Task<UpdateAssessmentStatusResponse> UpdateAssessmentStatusAsync(UpdateAssessmentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateControl
/// <summary>
/// Updates a custom control in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateControl service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateControl service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateControl">REST API Reference for UpdateControl Operation</seealso>
Task<UpdateControlResponse> UpdateControlAsync(UpdateControlRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region UpdateSettings
/// <summary>
/// Updates Audit Manager settings for the current account.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the UpdateSettings service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the UpdateSettings service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/UpdateSettings">REST API Reference for UpdateSettings Operation</seealso>
Task<UpdateSettingsResponse> UpdateSettingsAsync(UpdateSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
#region ValidateAssessmentReportIntegrity
/// <summary>
/// Validates the integrity of an assessment report in Audit Manager.
/// </summary>
/// <param name="request">Container for the necessary parameters to execute the ValidateAssessmentReportIntegrity service method.</param>
/// <param name="cancellationToken">
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
/// </param>
///
/// <returns>The response from the ValidateAssessmentReportIntegrity service method, as returned by AuditManager.</returns>
/// <exception cref="Amazon.AuditManager.Model.AccessDeniedException">
/// Your account isn't registered with Audit Manager. Check the delegated administrator
/// setup on the Audit Manager settings page, and try again.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.InternalServerException">
/// An internal service error occurred during the processing of your request. Try again
/// later.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ResourceNotFoundException">
/// The resource that's specified in the request can't be found.
/// </exception>
/// <exception cref="Amazon.AuditManager.Model.ValidationException">
/// The request has invalid or missing parameters.
/// </exception>
/// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/auditmanager-2017-07-25/ValidateAssessmentReportIntegrity">REST API Reference for ValidateAssessmentReportIntegrity Operation</seealso>
Task<ValidateAssessmentReportIntegrityResponse> ValidateAssessmentReportIntegrityAsync(ValidateAssessmentReportIntegrityRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken));
#endregion
}
}
| 2,352 |
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.AuditManager")]
#if BCL35
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (3.5) - AWS Audit Manager. AWS Audit Manager helps you continuously audit your AWS usage to simplify how you manage risk and compliance. This update releases the first version of the AWS Audit Manager APIs and SDK.")]
#elif BCL45
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (4.5) - AWS Audit Manager. AWS Audit Manager helps you continuously audit your AWS usage to simplify how you manage risk and compliance. This update releases the first version of the AWS Audit Manager APIs and SDK.")]
#elif NETSTANDARD20
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (NetStandard 2.0) - AWS Audit Manager. AWS Audit Manager helps you continuously audit your AWS usage to simplify how you manage risk and compliance. This update releases the first version of the AWS Audit Manager APIs and SDK.")]
#elif NETCOREAPP3_1
[assembly: AssemblyDescription("The Amazon Web Services SDK for .NET (.NET Core 3.1) - AWS Audit Manager. AWS Audit Manager helps you continuously audit your AWS usage to simplify how you manage risk and compliance. This update releases the first version of the AWS Audit Manager APIs and SDK.")]
#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.104.1")]
[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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using System;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Util.Internal;
using Amazon.AugmentedAIRuntime.Internal;
namespace Amazon.AugmentedAIRuntime
{
/// <summary>
/// Configuration for accessing Amazon AugmentedAIRuntime service
/// </summary>
[AWSSignerType("v4")]
public partial class AmazonAugmentedAIRuntimeConfig : ClientConfig
{
private static readonly string UserAgentString =
InternalSDKUtils.BuildUserAgentString("3.7.100.147");
private string _userAgent = UserAgentString;
/// <summary>
/// Default constructor
/// </summary>
public AmazonAugmentedAIRuntimeConfig()
: base(new Amazon.Runtime.Internal.DefaultConfigurationProvider(AmazonAugmentedAIRuntimeDefaultConfiguration.GetAllConfigurations()))
{
this.AuthenticationServiceName = "sagemaker";
this.EndpointProvider = new AmazonAugmentedAIRuntimeEndpointProvider();
}
/// <summary>
/// The constant used to lookup in the region hash the endpoint.
/// </summary>
public override string RegionEndpointServiceName
{
get
{
return "a2i-runtime.sagemaker";
}
}
/// <summary>
/// Gets the ServiceVersion property.
/// </summary>
public override string ServiceVersion
{
get
{
return "2019-11-07";
}
}
/// <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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Amazon.Runtime;
namespace Amazon.AugmentedAIRuntime
{
/// <summary>
/// Configuration for accessing Amazon AugmentedAIRuntime service
/// </summary>
public static class AmazonAugmentedAIRuntimeDefaultConfiguration
{
/// <summary>
/// Collection of all <see cref="DefaultConfiguration"/>s supported by
/// AugmentedAIRuntime
/// </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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using Amazon.Runtime;
using Amazon.Runtime.Endpoints;
namespace Amazon.AugmentedAIRuntime.Endpoints
{
/// <summary>
/// Contains parameters used for resolving AugmentedAIRuntime endpoints
/// Parameters can be sourced from client config and service operations
/// Used by internal AugmentedAIRuntimeEndpointProvider and AugmentedAIRuntimeEndpointResolver
/// Can be used by custom EndpointProvider, see ClientConfig.EndpointProvider
/// </summary>
public class AugmentedAIRuntimeEndpointParameters : EndpointParameters
{
/// <summary>
/// AugmentedAIRuntimeEndpointParameters constructor
/// </summary>
public AugmentedAIRuntimeEndpointParameters()
{
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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using System.Text;
using Amazon.Runtime;
namespace Amazon.AugmentedAIRuntime
{
///<summary>
/// Common exception for the AugmentedAIRuntime service.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class AmazonAugmentedAIRuntimeException : AmazonServiceException
{
/// <summary>
/// Construct instance of AmazonAugmentedAIRuntimeException
/// </summary>
/// <param name="message"></param>
public AmazonAugmentedAIRuntimeException(string message)
: base(message)
{
}
/// <summary>
/// Construct instance of AmazonAugmentedAIRuntimeException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public AmazonAugmentedAIRuntimeException(string message, Exception innerException)
: base(message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAugmentedAIRuntimeException
/// </summary>
/// <param name="innerException"></param>
public AmazonAugmentedAIRuntimeException(Exception innerException)
: base(innerException.Message, innerException)
{
}
/// <summary>
/// Construct instance of AmazonAugmentedAIRuntimeException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public AmazonAugmentedAIRuntimeException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode)
{
}
/// <summary>
/// Construct instance of AmazonAugmentedAIRuntimeException
/// </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 AmazonAugmentedAIRuntimeException(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 AmazonAugmentedAIRuntimeException 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 AmazonAugmentedAIRuntimeException(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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using System;
using Amazon.Runtime;
namespace Amazon.AugmentedAIRuntime
{
/// <summary>
/// Constants used for properties of type ContentClassifier.
/// </summary>
public class ContentClassifier : ConstantClass
{
/// <summary>
/// Constant FreeOfAdultContent for ContentClassifier
/// </summary>
public static readonly ContentClassifier FreeOfAdultContent = new ContentClassifier("FreeOfAdultContent");
/// <summary>
/// Constant FreeOfPersonallyIdentifiableInformation for ContentClassifier
/// </summary>
public static readonly ContentClassifier FreeOfPersonallyIdentifiableInformation = new ContentClassifier("FreeOfPersonallyIdentifiableInformation");
/// <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 ContentClassifier(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 ContentClassifier FindValue(string value)
{
return FindValue<ContentClassifier>(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 ContentClassifier(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type HumanLoopStatus.
/// </summary>
public class HumanLoopStatus : ConstantClass
{
/// <summary>
/// Constant Completed for HumanLoopStatus
/// </summary>
public static readonly HumanLoopStatus Completed = new HumanLoopStatus("Completed");
/// <summary>
/// Constant Failed for HumanLoopStatus
/// </summary>
public static readonly HumanLoopStatus Failed = new HumanLoopStatus("Failed");
/// <summary>
/// Constant InProgress for HumanLoopStatus
/// </summary>
public static readonly HumanLoopStatus InProgress = new HumanLoopStatus("InProgress");
/// <summary>
/// Constant Stopped for HumanLoopStatus
/// </summary>
public static readonly HumanLoopStatus Stopped = new HumanLoopStatus("Stopped");
/// <summary>
/// Constant Stopping for HumanLoopStatus
/// </summary>
public static readonly HumanLoopStatus Stopping = new HumanLoopStatus("Stopping");
/// <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 HumanLoopStatus(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 HumanLoopStatus FindValue(string value)
{
return FindValue<HumanLoopStatus>(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 HumanLoopStatus(string value)
{
return FindValue(value);
}
}
/// <summary>
/// Constants used for properties of type SortOrder.
/// </summary>
public class SortOrder : ConstantClass
{
/// <summary>
/// Constant Ascending for SortOrder
/// </summary>
public static readonly SortOrder Ascending = new SortOrder("Ascending");
/// <summary>
/// Constant Descending for SortOrder
/// </summary>
public static readonly SortOrder Descending = new SortOrder("Descending");
/// <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 SortOrder(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 SortOrder FindValue(string value)
{
return FindValue<SortOrder>(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 SortOrder(string value)
{
return FindValue(value);
}
}
}
| 188 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-a2i-runtime-2019-11-07.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.AugmentedAIRuntime.Internal
{
/// <summary>
/// Amazon AugmentedAIRuntime endpoint provider.
/// Resolves endpoint for given set of AugmentedAIRuntimeEndpointParameters.
/// Can throw AmazonClientException if endpoint resolution is unsuccessful.
/// </summary>
public class AmazonAugmentedAIRuntimeEndpointProvider : IEndpointProvider
{
/// <summary>
/// Resolve endpoint for AugmentedAIRuntimeEndpointParameters
/// </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 ((refs["PartitionResult"] = Partition((string)refs["Region"])) != null)
{
if (IsSet(refs["Endpoint"]) && (refs["url"] = ParseURL((string)refs["Endpoint"])) != null)
{
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 (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://a2i-runtime.sagemaker-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://a2i-runtime.sagemaker-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://a2i-runtime.sagemaker.{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://a2i-runtime.sagemaker.{Region}.{PartitionResult#dnsSuffix}", refs), InterpolateJson(@"", refs), InterpolateJson(@"", refs));
}
throw new AmazonClientException("Cannot resolve endpoint");
}
}
}
| 99 |
aws-sdk-net
|
aws
|
C#
|
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using System;
using Amazon.AugmentedAIRuntime.Model;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Endpoints;
using Amazon.Util;
using Amazon.AugmentedAIRuntime.Endpoints;
#pragma warning disable 1591
namespace Amazon.AugmentedAIRuntime.Internal
{
/// <summary>
/// Amazon AugmentedAIRuntime endpoint resolver.
/// Custom PipelineHandler responsible for resolving endpoint and setting authentication parameters for AugmentedAIRuntime service requests.
/// Collects values for AugmentedAIRuntimeEndpointParameters and then tries to resolve endpoint by calling
/// ResolveEndpoint method on GlobalEndpoints.Provider if present, otherwise uses AugmentedAIRuntimeEndpointProvider.
/// Responsible for setting authentication and http headers provided by resolved endpoint.
/// </summary>
public class AmazonAugmentedAIRuntimeEndpointResolver : BaseEndpointResolver
{
protected override void ServiceSpecificHandler(IExecutionContext executionContext, EndpointParameters parameters)
{
InjectHostPrefix(executionContext.RequestContext);
}
protected override EndpointParameters MapEndpointsParameters(IRequestContext requestContext)
{
var config = (AmazonAugmentedAIRuntimeConfig)requestContext.ClientConfig;
var result = new AugmentedAIRuntimeEndpointParameters();
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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using Amazon.Runtime.Internal;
namespace Amazon.AugmentedAIRuntime.Internal
{
/// <summary>
/// Service metadata for Amazon AugmentedAIRuntime service
/// </summary>
public partial class AmazonAugmentedAIRuntimeMetadata : IServiceMetadata
{
/// <summary>
/// Gets the value of the Service Id.
/// </summary>
public string ServiceId
{
get
{
return "SageMaker A2I Runtime";
}
}
/// <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 sagemaker-a2i-runtime-2019-11-07.normal.json service model.
*/
using Amazon.Runtime;
namespace Amazon.AugmentedAIRuntime
{
/// <summary>
/// Base class for AugmentedAIRuntime operation requests.
/// </summary>
public partial class AmazonAugmentedAIRuntimeRequest : 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 sagemaker-a2i-runtime-2019-11-07.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.AugmentedAIRuntime.Model
{
/// <summary>
/// Your request has the same name as another active human loop but has different input
/// data. You cannot start two human loops with the same name and different input data.
/// </summary>
#if !NETSTANDARD
[Serializable]
#endif
public partial class ConflictException : AmazonAugmentedAIRuntimeException
{
/// <summary>
/// Constructs a new ConflictException with the specified error
/// message.
/// </summary>
/// <param name="message">
/// Describes the error encountered.
/// </param>
public ConflictException(string message)
: base(message) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
public ConflictException(string message, Exception innerException)
: base(message, innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="innerException"></param>
public ConflictException(Exception innerException)
: base(innerException) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="innerException"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(string message, Exception innerException, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, innerException, errorType, errorCode, requestId, statusCode) {}
/// <summary>
/// Construct instance of ConflictException
/// </summary>
/// <param name="message"></param>
/// <param name="errorType"></param>
/// <param name="errorCode"></param>
/// <param name="requestId"></param>
/// <param name="statusCode"></param>
public ConflictException(string message, ErrorType errorType, string errorCode, string requestId, HttpStatusCode statusCode)
: base(message, errorType, errorCode, requestId, statusCode) {}
#if !NETSTANDARD
/// <summary>
/// Constructs a new instance of the ConflictException class with serialized data.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is null. </exception>
/// <exception cref="T:System.Runtime.Serialization.SerializationException">The class name is null or <see cref="P:System.Exception.HResult" /> is zero (0). </exception>
protected ConflictException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
: base(info, context)
{
}
/// <summary>
/// Sets the <see cref="T:System.Runtime.Serialization.SerializationInfo" /> with information about the exception.
/// </summary>
/// <param name="info">The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.</param>
/// <param name="context">The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.</param>
/// <exception cref="T:System.ArgumentNullException">The <paramref name="info" /> parameter is a null reference (Nothing in Visual Basic). </exception>
#if BCL35
[System.Security.Permissions.SecurityPermission(
System.Security.Permissions.SecurityAction.LinkDemand,
Flags = System.Security.Permissions.SecurityPermissionFlag.SerializationFormatter)]
#endif
[System.Security.SecurityCritical]
// These FxCop rules are giving false-positives for this method
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2123:OverrideLinkDemandsShouldBeIdenticalToBase")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Security", "CA2134:MethodsMustOverrideWithConsistentTransparencyFxCopRule")]
public override void GetObjectData(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)
{
base.GetObjectData(info, context);
}
#endif
}
}
| 125 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.