/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the inspector2-2020-06-08.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Net;
using Amazon.Inspector2.Model;
using Amazon.Inspector2.Model.Internal.MarshallTransformations;
using Amazon.Inspector2.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Inspector2
{
///
/// Implementation for accessing Inspector2
///
/// Amazon Inspector is a vulnerability discovery service that automates continuous scanning
/// for security vulnerabilities within your Amazon EC2 and Amazon ECR environments.
///
public partial class AmazonInspector2Client : AmazonServiceClient, IAmazonInspector2
{
private static IServiceMetadata serviceMetadata = new AmazonInspector2Metadata();
#if BCL45 || AWS_ASYNC_ENUMERABLES_API
private IInspector2PaginatorFactory _paginators;
///
/// Paginators for the service
///
public IInspector2PaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new Inspector2PaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Constructors
///
/// Constructs AmazonInspector2Client 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.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonInspector2Client()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonInspector2Config()) { }
///
/// Constructs AmazonInspector2Client 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.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonInspector2Client(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonInspector2Config{RegionEndpoint = region}) { }
///
/// Constructs AmazonInspector2Client 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.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonInspector2Client Configuration Object
public AmazonInspector2Client(AmazonInspector2Config config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonInspector2Client with AWS Credentials
///
/// AWS Credentials
public AmazonInspector2Client(AWSCredentials credentials)
: this(credentials, new AmazonInspector2Config())
{
}
///
/// Constructs AmazonInspector2Client with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonInspector2Client(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonInspector2Config{RegionEndpoint = region})
{
}
///
/// Constructs AmazonInspector2Client with AWS Credentials and an
/// AmazonInspector2Client Configuration object.
///
/// AWS Credentials
/// The AmazonInspector2Client Configuration Object
public AmazonInspector2Client(AWSCredentials credentials, AmazonInspector2Config clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonInspector2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonInspector2Client(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonInspector2Config())
{
}
///
/// Constructs AmazonInspector2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonInspector2Client(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonInspector2Config() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonInspector2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonInspector2Client Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonInspector2Client Configuration Object
public AmazonInspector2Client(string awsAccessKeyId, string awsSecretAccessKey, AmazonInspector2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonInspector2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonInspector2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonInspector2Config())
{
}
///
/// Constructs AmazonInspector2Client with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonInspector2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonInspector2Config{RegionEndpoint = region})
{
}
///
/// Constructs AmazonInspector2Client with AWS Access Key ID, AWS Secret Key and an
/// AmazonInspector2Client Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonInspector2Client Configuration Object
public AmazonInspector2Client(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonInspector2Config clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customize the pipeline
///
///
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonInspector2EndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssociateMember
///
/// Associates an Amazon Web Services account with an Amazon Inspector delegated administrator.
/// An HTTP 200 response indicates the association was successfully started, but doesn’t
/// indicate whether it was completed. You can check if the association completed by using
/// ListMembers
/// for multiple accounts or GetMembers
/// for a single account.
///
/// Container for the necessary parameters to execute the AssociateMember service method.
///
/// The response from the AssociateMember service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for AssociateMember Operation
public virtual AssociateMemberResponse AssociateMember(AssociateMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMemberResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the AssociateMember operation.
///
///
/// Container for the necessary parameters to execute the AssociateMember operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndAssociateMember
/// operation.
/// REST API Reference for AssociateMember Operation
public virtual IAsyncResult BeginAssociateMember(AssociateMemberRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMemberResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the AssociateMember operation.
///
///
/// The IAsyncResult returned by the call to BeginAssociateMember.
///
/// Returns a AssociateMemberResult from Inspector2.
/// REST API Reference for AssociateMember Operation
public virtual AssociateMemberResponse EndAssociateMember(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchGetAccountStatus
///
/// Retrieves the Amazon Inspector status of multiple Amazon Web Services accounts within
/// your environment.
///
/// Container for the necessary parameters to execute the BatchGetAccountStatus service method.
///
/// The response from the BatchGetAccountStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetAccountStatus Operation
public virtual BatchGetAccountStatusResponse BatchGetAccountStatus(BatchGetAccountStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetAccountStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchGetAccountStatus operation.
///
///
/// Container for the necessary parameters to execute the BatchGetAccountStatus operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetAccountStatus
/// operation.
/// REST API Reference for BatchGetAccountStatus Operation
public virtual IAsyncResult BeginBatchGetAccountStatus(BatchGetAccountStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetAccountStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchGetAccountStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetAccountStatus.
///
/// Returns a BatchGetAccountStatusResult from Inspector2.
/// REST API Reference for BatchGetAccountStatus Operation
public virtual BatchGetAccountStatusResponse EndBatchGetAccountStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchGetCodeSnippet
///
/// Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities
/// in.
///
/// Container for the necessary parameters to execute the BatchGetCodeSnippet service method.
///
/// The response from the BatchGetCodeSnippet service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetCodeSnippet Operation
public virtual BatchGetCodeSnippetResponse BatchGetCodeSnippet(BatchGetCodeSnippetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetCodeSnippetRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetCodeSnippetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchGetCodeSnippet operation.
///
///
/// Container for the necessary parameters to execute the BatchGetCodeSnippet operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetCodeSnippet
/// operation.
/// REST API Reference for BatchGetCodeSnippet Operation
public virtual IAsyncResult BeginBatchGetCodeSnippet(BatchGetCodeSnippetRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetCodeSnippetRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetCodeSnippetResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchGetCodeSnippet operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetCodeSnippet.
///
/// Returns a BatchGetCodeSnippetResult from Inspector2.
/// REST API Reference for BatchGetCodeSnippet Operation
public virtual BatchGetCodeSnippetResponse EndBatchGetCodeSnippet(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchGetFreeTrialInfo
///
/// Gets free trial status for multiple Amazon Web Services accounts.
///
/// Container for the necessary parameters to execute the BatchGetFreeTrialInfo service method.
///
/// The response from the BatchGetFreeTrialInfo service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetFreeTrialInfo Operation
public virtual BatchGetFreeTrialInfoResponse BatchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetFreeTrialInfoRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetFreeTrialInfoResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchGetFreeTrialInfo operation.
///
///
/// Container for the necessary parameters to execute the BatchGetFreeTrialInfo operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetFreeTrialInfo
/// operation.
/// REST API Reference for BatchGetFreeTrialInfo Operation
public virtual IAsyncResult BeginBatchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetFreeTrialInfoRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetFreeTrialInfoResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchGetFreeTrialInfo operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetFreeTrialInfo.
///
/// Returns a BatchGetFreeTrialInfoResult from Inspector2.
/// REST API Reference for BatchGetFreeTrialInfo Operation
public virtual BatchGetFreeTrialInfoResponse EndBatchGetFreeTrialInfo(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchGetMemberEc2DeepInspectionStatus
///
/// Retrieves Amazon Inspector deep inspection activation status of multiple member accounts
/// within your organization. You must be the delegated administrator of an organization
/// in Amazon Inspector to use this API.
///
/// Container for the necessary parameters to execute the BatchGetMemberEc2DeepInspectionStatus service method.
///
/// The response from the BatchGetMemberEc2DeepInspectionStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchGetMemberEc2DeepInspectionStatus Operation
public virtual BatchGetMemberEc2DeepInspectionStatusResponse BatchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchGetMemberEc2DeepInspectionStatus operation.
///
///
/// Container for the necessary parameters to execute the BatchGetMemberEc2DeepInspectionStatus operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetMemberEc2DeepInspectionStatus
/// operation.
/// REST API Reference for BatchGetMemberEc2DeepInspectionStatus Operation
public virtual IAsyncResult BeginBatchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchGetMemberEc2DeepInspectionStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchGetMemberEc2DeepInspectionStatus.
///
/// Returns a BatchGetMemberEc2DeepInspectionStatusResult from Inspector2.
/// REST API Reference for BatchGetMemberEc2DeepInspectionStatus Operation
public virtual BatchGetMemberEc2DeepInspectionStatusResponse EndBatchGetMemberEc2DeepInspectionStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region BatchUpdateMemberEc2DeepInspectionStatus
///
/// Activates or deactivates Amazon Inspector deep inspection for the provided member
/// accounts in your organization. You must be the delegated administrator of an organization
/// in Amazon Inspector to use this API.
///
/// Container for the necessary parameters to execute the BatchUpdateMemberEc2DeepInspectionStatus service method.
///
/// The response from the BatchUpdateMemberEc2DeepInspectionStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for BatchUpdateMemberEc2DeepInspectionStatus Operation
public virtual BatchUpdateMemberEc2DeepInspectionStatusResponse BatchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the BatchUpdateMemberEc2DeepInspectionStatus operation.
///
///
/// Container for the necessary parameters to execute the BatchUpdateMemberEc2DeepInspectionStatus operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchUpdateMemberEc2DeepInspectionStatus
/// operation.
/// REST API Reference for BatchUpdateMemberEc2DeepInspectionStatus Operation
public virtual IAsyncResult BeginBatchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the BatchUpdateMemberEc2DeepInspectionStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginBatchUpdateMemberEc2DeepInspectionStatus.
///
/// Returns a BatchUpdateMemberEc2DeepInspectionStatusResult from Inspector2.
/// REST API Reference for BatchUpdateMemberEc2DeepInspectionStatus Operation
public virtual BatchUpdateMemberEc2DeepInspectionStatusResponse EndBatchUpdateMemberEc2DeepInspectionStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelFindingsReport
///
/// Cancels the given findings report.
///
/// Container for the necessary parameters to execute the CancelFindingsReport service method.
///
/// The response from the CancelFindingsReport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CancelFindingsReport Operation
public virtual CancelFindingsReportResponse CancelFindingsReport(CancelFindingsReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelFindingsReportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelFindingsReport operation.
///
///
/// Container for the necessary parameters to execute the CancelFindingsReport operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelFindingsReport
/// operation.
/// REST API Reference for CancelFindingsReport Operation
public virtual IAsyncResult BeginCancelFindingsReport(CancelFindingsReportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelFindingsReportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelFindingsReport operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelFindingsReport.
///
/// Returns a CancelFindingsReportResult from Inspector2.
/// REST API Reference for CancelFindingsReport Operation
public virtual CancelFindingsReportResponse EndCancelFindingsReport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CancelSbomExport
///
/// Cancels a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the CancelSbomExport service method.
///
/// The response from the CancelSbomExport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CancelSbomExport Operation
public virtual CancelSbomExportResponse CancelSbomExport(CancelSbomExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelSbomExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CancelSbomExport operation.
///
///
/// Container for the necessary parameters to execute the CancelSbomExport operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCancelSbomExport
/// operation.
/// REST API Reference for CancelSbomExport Operation
public virtual IAsyncResult BeginCancelSbomExport(CancelSbomExportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelSbomExportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CancelSbomExport operation.
///
///
/// The IAsyncResult returned by the call to BeginCancelSbomExport.
///
/// Returns a CancelSbomExportResult from Inspector2.
/// REST API Reference for CancelSbomExport Operation
public virtual CancelSbomExportResponse EndCancelSbomExport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateFilter
///
/// Creates a filter resource using specified filter criteria.
///
/// Container for the necessary parameters to execute the CreateFilter service method.
///
/// The response from the CreateFilter service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// One or more tags submitted as part of the request is not valid.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// You have exceeded your service quota. To perform the requested action, remove some
/// of the relevant resources, or use Service Quotas to request a service quota increase.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CreateFilter Operation
public virtual CreateFilterResponse CreateFilter(CreateFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFilter operation.
///
///
/// Container for the necessary parameters to execute the CreateFilter operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFilter
/// operation.
/// REST API Reference for CreateFilter Operation
public virtual IAsyncResult BeginCreateFilter(CreateFilterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFilter operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFilter.
///
/// Returns a CreateFilterResult from Inspector2.
/// REST API Reference for CreateFilter Operation
public virtual CreateFilterResponse EndCreateFilter(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateFindingsReport
///
/// Creates a finding report. By default only ACTIVE
findings are returned
/// in the report. To see SUPRESSED
or CLOSED
findings you must
/// specify a value for the findingStatus
filter criteria.
///
/// Container for the necessary parameters to execute the CreateFindingsReport service method.
///
/// The response from the CreateFindingsReport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CreateFindingsReport Operation
public virtual CreateFindingsReportResponse CreateFindingsReport(CreateFindingsReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFindingsReportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateFindingsReport operation.
///
///
/// Container for the necessary parameters to execute the CreateFindingsReport operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateFindingsReport
/// operation.
/// REST API Reference for CreateFindingsReport Operation
public virtual IAsyncResult BeginCreateFindingsReport(CreateFindingsReportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFindingsReportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateFindingsReport operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateFindingsReport.
///
/// Returns a CreateFindingsReportResult from Inspector2.
/// REST API Reference for CreateFindingsReport Operation
public virtual CreateFindingsReportResponse EndCreateFindingsReport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region CreateSbomExport
///
/// Creates a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the CreateSbomExport service method.
///
/// The response from the CreateSbomExport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for CreateSbomExport Operation
public virtual CreateSbomExportResponse CreateSbomExport(CreateSbomExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSbomExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the CreateSbomExport operation.
///
///
/// Container for the necessary parameters to execute the CreateSbomExport operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSbomExport
/// operation.
/// REST API Reference for CreateSbomExport Operation
public virtual IAsyncResult BeginCreateSbomExport(CreateSbomExportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSbomExportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the CreateSbomExport operation.
///
///
/// The IAsyncResult returned by the call to BeginCreateSbomExport.
///
/// Returns a CreateSbomExportResult from Inspector2.
/// REST API Reference for CreateSbomExport Operation
public virtual CreateSbomExportResponse EndCreateSbomExport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DeleteFilter
///
/// Deletes a filter resource.
///
/// Container for the necessary parameters to execute the DeleteFilter service method.
///
/// The response from the DeleteFilter service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DeleteFilter Operation
public virtual DeleteFilterResponse DeleteFilter(DeleteFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DeleteFilter operation.
///
///
/// Container for the necessary parameters to execute the DeleteFilter operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteFilter
/// operation.
/// REST API Reference for DeleteFilter Operation
public virtual IAsyncResult BeginDeleteFilter(DeleteFilterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DeleteFilter operation.
///
///
/// The IAsyncResult returned by the call to BeginDeleteFilter.
///
/// Returns a DeleteFilterResult from Inspector2.
/// REST API Reference for DeleteFilter Operation
public virtual DeleteFilterResponse EndDeleteFilter(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DescribeOrganizationConfiguration
///
/// Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
///
/// Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.
///
/// The response from the DescribeOrganizationConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DescribeOrganizationConfiguration Operation
public virtual DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DescribeOrganizationConfiguration operation.
///
///
/// Container for the necessary parameters to execute the DescribeOrganizationConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeOrganizationConfiguration
/// operation.
/// REST API Reference for DescribeOrganizationConfiguration Operation
public virtual IAsyncResult BeginDescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DescribeOrganizationConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginDescribeOrganizationConfiguration.
///
/// Returns a DescribeOrganizationConfigurationResult from Inspector2.
/// REST API Reference for DescribeOrganizationConfiguration Operation
public virtual DescribeOrganizationConfigurationResponse EndDescribeOrganizationConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region Disable
///
/// Disables Amazon Inspector scans for one or more Amazon Web Services accounts. Disabling
/// all scan types in an account disables the Amazon Inspector service.
///
/// Container for the necessary parameters to execute the Disable service method.
///
/// The response from the Disable service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for Disable Operation
public virtual DisableResponse Disable(DisableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the Disable operation.
///
///
/// Container for the necessary parameters to execute the Disable operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisable
/// operation.
/// REST API Reference for Disable Operation
public virtual IAsyncResult BeginDisable(DisableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the Disable operation.
///
///
/// The IAsyncResult returned by the call to BeginDisable.
///
/// Returns a DisableResult from Inspector2.
/// REST API Reference for Disable Operation
public virtual DisableResponse EndDisable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisableDelegatedAdminAccount
///
/// Disables the Amazon Inspector delegated administrator for your organization.
///
/// Container for the necessary parameters to execute the DisableDelegatedAdminAccount service method.
///
/// The response from the DisableDelegatedAdminAccount service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict occurred.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DisableDelegatedAdminAccount Operation
public virtual DisableDelegatedAdminAccountResponse DisableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableDelegatedAdminAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisableDelegatedAdminAccount operation.
///
///
/// Container for the necessary parameters to execute the DisableDelegatedAdminAccount operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisableDelegatedAdminAccount
/// operation.
/// REST API Reference for DisableDelegatedAdminAccount Operation
public virtual IAsyncResult BeginDisableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableDelegatedAdminAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisableDelegatedAdminAccount operation.
///
///
/// The IAsyncResult returned by the call to BeginDisableDelegatedAdminAccount.
///
/// Returns a DisableDelegatedAdminAccountResult from Inspector2.
/// REST API Reference for DisableDelegatedAdminAccount Operation
public virtual DisableDelegatedAdminAccountResponse EndDisableDelegatedAdminAccount(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region DisassociateMember
///
/// Disassociates a member account from an Amazon Inspector delegated administrator.
///
/// Container for the necessary parameters to execute the DisassociateMember service method.
///
/// The response from the DisassociateMember service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for DisassociateMember Operation
public virtual DisassociateMemberResponse DisassociateMember(DisassociateMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the DisassociateMember operation.
///
///
/// Container for the necessary parameters to execute the DisassociateMember operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDisassociateMember
/// operation.
/// REST API Reference for DisassociateMember Operation
public virtual IAsyncResult BeginDisassociateMember(DisassociateMemberRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the DisassociateMember operation.
///
///
/// The IAsyncResult returned by the call to BeginDisassociateMember.
///
/// Returns a DisassociateMemberResult from Inspector2.
/// REST API Reference for DisassociateMember Operation
public virtual DisassociateMemberResponse EndDisassociateMember(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region Enable
///
/// Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
///
/// Container for the necessary parameters to execute the Enable service method.
///
/// The response from the Enable service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for Enable Operation
public virtual EnableResponse Enable(EnableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the Enable operation.
///
///
/// Container for the necessary parameters to execute the Enable operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnable
/// operation.
/// REST API Reference for Enable Operation
public virtual IAsyncResult BeginEnable(EnableRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the Enable operation.
///
///
/// The IAsyncResult returned by the call to BeginEnable.
///
/// Returns a EnableResult from Inspector2.
/// REST API Reference for Enable Operation
public virtual EnableResponse EndEnable(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region EnableDelegatedAdminAccount
///
/// Enables the Amazon Inspector delegated administrator for your Organizations organization.
///
/// Container for the necessary parameters to execute the EnableDelegatedAdminAccount service method.
///
/// The response from the EnableDelegatedAdminAccount service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// A conflict occurred.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for EnableDelegatedAdminAccount Operation
public virtual EnableDelegatedAdminAccountResponse EnableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableDelegatedAdminAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the EnableDelegatedAdminAccount operation.
///
///
/// Container for the necessary parameters to execute the EnableDelegatedAdminAccount operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndEnableDelegatedAdminAccount
/// operation.
/// REST API Reference for EnableDelegatedAdminAccount Operation
public virtual IAsyncResult BeginEnableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableDelegatedAdminAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the EnableDelegatedAdminAccount operation.
///
///
/// The IAsyncResult returned by the call to BeginEnableDelegatedAdminAccount.
///
/// Returns a EnableDelegatedAdminAccountResult from Inspector2.
/// REST API Reference for EnableDelegatedAdminAccount Operation
public virtual EnableDelegatedAdminAccountResponse EndEnableDelegatedAdminAccount(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetConfiguration
///
/// Retrieves setting configurations for Inspector scans.
///
/// Container for the necessary parameters to execute the GetConfiguration service method.
///
/// The response from the GetConfiguration service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
/// REST API Reference for GetConfiguration Operation
public virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetConfiguration operation.
///
///
/// Container for the necessary parameters to execute the GetConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetConfiguration
/// operation.
/// REST API Reference for GetConfiguration Operation
public virtual IAsyncResult BeginGetConfiguration(GetConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetConfiguration.
///
/// Returns a GetConfigurationResult from Inspector2.
/// REST API Reference for GetConfiguration Operation
public virtual GetConfigurationResponse EndGetConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetDelegatedAdminAccount
///
/// Retrieves information about the Amazon Inspector delegated administrator for your
/// organization.
///
/// Container for the necessary parameters to execute the GetDelegatedAdminAccount service method.
///
/// The response from the GetDelegatedAdminAccount service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetDelegatedAdminAccount Operation
public virtual GetDelegatedAdminAccountResponse GetDelegatedAdminAccount(GetDelegatedAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegatedAdminAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetDelegatedAdminAccount operation.
///
///
/// Container for the necessary parameters to execute the GetDelegatedAdminAccount operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDelegatedAdminAccount
/// operation.
/// REST API Reference for GetDelegatedAdminAccount Operation
public virtual IAsyncResult BeginGetDelegatedAdminAccount(GetDelegatedAdminAccountRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegatedAdminAccountResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetDelegatedAdminAccount operation.
///
///
/// The IAsyncResult returned by the call to BeginGetDelegatedAdminAccount.
///
/// Returns a GetDelegatedAdminAccountResult from Inspector2.
/// REST API Reference for GetDelegatedAdminAccount Operation
public virtual GetDelegatedAdminAccountResponse EndGetDelegatedAdminAccount(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEc2DeepInspectionConfiguration
///
/// Retrieves the activation status of Amazon Inspector deep inspection and custom paths
/// associated with your account.
///
/// Container for the necessary parameters to execute the GetEc2DeepInspectionConfiguration service method.
///
/// The response from the GetEc2DeepInspectionConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
/// REST API Reference for GetEc2DeepInspectionConfiguration Operation
public virtual GetEc2DeepInspectionConfigurationResponse GetEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEc2DeepInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the GetEc2DeepInspectionConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEc2DeepInspectionConfiguration
/// operation.
/// REST API Reference for GetEc2DeepInspectionConfiguration Operation
public virtual IAsyncResult BeginGetEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEc2DeepInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEc2DeepInspectionConfiguration.
///
/// Returns a GetEc2DeepInspectionConfigurationResult from Inspector2.
/// REST API Reference for GetEc2DeepInspectionConfiguration Operation
public virtual GetEc2DeepInspectionConfigurationResponse EndGetEc2DeepInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetEncryptionKey
///
/// Gets an encryption key.
///
/// Container for the necessary parameters to execute the GetEncryptionKey service method.
///
/// The response from the GetEncryptionKey service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetEncryptionKey Operation
public virtual GetEncryptionKeyResponse GetEncryptionKey(GetEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetEncryptionKey operation.
///
///
/// Container for the necessary parameters to execute the GetEncryptionKey operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetEncryptionKey
/// operation.
/// REST API Reference for GetEncryptionKey Operation
public virtual IAsyncResult BeginGetEncryptionKey(GetEncryptionKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEncryptionKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetEncryptionKey operation.
///
///
/// The IAsyncResult returned by the call to BeginGetEncryptionKey.
///
/// Returns a GetEncryptionKeyResult from Inspector2.
/// REST API Reference for GetEncryptionKey Operation
public virtual GetEncryptionKeyResponse EndGetEncryptionKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetFindingsReportStatus
///
/// Gets the status of a findings report.
///
/// Container for the necessary parameters to execute the GetFindingsReportStatus service method.
///
/// The response from the GetFindingsReportStatus service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetFindingsReportStatus Operation
public virtual GetFindingsReportStatusResponse GetFindingsReportStatus(GetFindingsReportStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFindingsReportStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFindingsReportStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetFindingsReportStatus operation.
///
///
/// Container for the necessary parameters to execute the GetFindingsReportStatus operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetFindingsReportStatus
/// operation.
/// REST API Reference for GetFindingsReportStatus Operation
public virtual IAsyncResult BeginGetFindingsReportStatus(GetFindingsReportStatusRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFindingsReportStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFindingsReportStatusResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetFindingsReportStatus operation.
///
///
/// The IAsyncResult returned by the call to BeginGetFindingsReportStatus.
///
/// Returns a GetFindingsReportStatusResult from Inspector2.
/// REST API Reference for GetFindingsReportStatus Operation
public virtual GetFindingsReportStatusResponse EndGetFindingsReportStatus(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetMember
///
/// Gets member information for your organization.
///
/// Container for the necessary parameters to execute the GetMember service method.
///
/// The response from the GetMember service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetMember Operation
public virtual GetMemberResponse GetMember(GetMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetMember operation.
///
///
/// Container for the necessary parameters to execute the GetMember operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetMember
/// operation.
/// REST API Reference for GetMember Operation
public virtual IAsyncResult BeginGetMember(GetMemberRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetMember operation.
///
///
/// The IAsyncResult returned by the call to BeginGetMember.
///
/// Returns a GetMemberResult from Inspector2.
/// REST API Reference for GetMember Operation
public virtual GetMemberResponse EndGetMember(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region GetSbomExport
///
/// Gets details of a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the GetSbomExport service method.
///
/// The response from the GetSbomExport service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for GetSbomExport Operation
public virtual GetSbomExportResponse GetSbomExport(GetSbomExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSbomExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the GetSbomExport operation.
///
///
/// Container for the necessary parameters to execute the GetSbomExport operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetSbomExport
/// operation.
/// REST API Reference for GetSbomExport Operation
public virtual IAsyncResult BeginGetSbomExport(GetSbomExportRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSbomExportResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the GetSbomExport operation.
///
///
/// The IAsyncResult returned by the call to BeginGetSbomExport.
///
/// Returns a GetSbomExportResult from Inspector2.
/// REST API Reference for GetSbomExport Operation
public virtual GetSbomExportResponse EndGetSbomExport(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListAccountPermissions
///
/// Lists the permissions an account has to configure Amazon Inspector.
///
/// Container for the necessary parameters to execute the ListAccountPermissions service method.
///
/// The response from the ListAccountPermissions service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListAccountPermissions Operation
public virtual ListAccountPermissionsResponse ListAccountPermissions(ListAccountPermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountPermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListAccountPermissions operation.
///
///
/// Container for the necessary parameters to execute the ListAccountPermissions operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAccountPermissions
/// operation.
/// REST API Reference for ListAccountPermissions Operation
public virtual IAsyncResult BeginListAccountPermissions(ListAccountPermissionsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountPermissionsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListAccountPermissions operation.
///
///
/// The IAsyncResult returned by the call to BeginListAccountPermissions.
///
/// Returns a ListAccountPermissionsResult from Inspector2.
/// REST API Reference for ListAccountPermissions Operation
public virtual ListAccountPermissionsResponse EndListAccountPermissions(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCoverage
///
/// Lists coverage details for you environment.
///
/// Container for the necessary parameters to execute the ListCoverage service method.
///
/// The response from the ListCoverage service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListCoverage Operation
public virtual ListCoverageResponse ListCoverage(ListCoverageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCoverage operation.
///
///
/// Container for the necessary parameters to execute the ListCoverage operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCoverage
/// operation.
/// REST API Reference for ListCoverage Operation
public virtual IAsyncResult BeginListCoverage(ListCoverageRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCoverage operation.
///
///
/// The IAsyncResult returned by the call to BeginListCoverage.
///
/// Returns a ListCoverageResult from Inspector2.
/// REST API Reference for ListCoverage Operation
public virtual ListCoverageResponse EndListCoverage(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListCoverageStatistics
///
/// Lists Amazon Inspector coverage statistics for your environment.
///
/// Container for the necessary parameters to execute the ListCoverageStatistics service method.
///
/// The response from the ListCoverageStatistics service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListCoverageStatistics Operation
public virtual ListCoverageStatisticsResponse ListCoverageStatistics(ListCoverageStatisticsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageStatisticsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageStatisticsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListCoverageStatistics operation.
///
///
/// Container for the necessary parameters to execute the ListCoverageStatistics operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCoverageStatistics
/// operation.
/// REST API Reference for ListCoverageStatistics Operation
public virtual IAsyncResult BeginListCoverageStatistics(ListCoverageStatisticsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageStatisticsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageStatisticsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListCoverageStatistics operation.
///
///
/// The IAsyncResult returned by the call to BeginListCoverageStatistics.
///
/// Returns a ListCoverageStatisticsResult from Inspector2.
/// REST API Reference for ListCoverageStatistics Operation
public virtual ListCoverageStatisticsResponse EndListCoverageStatistics(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListDelegatedAdminAccounts
///
/// Lists information about the Amazon Inspector delegated administrator of your organization.
///
/// Container for the necessary parameters to execute the ListDelegatedAdminAccounts service method.
///
/// The response from the ListDelegatedAdminAccounts service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListDelegatedAdminAccounts Operation
public virtual ListDelegatedAdminAccountsResponse ListDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDelegatedAdminAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDelegatedAdminAccountsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListDelegatedAdminAccounts operation.
///
///
/// Container for the necessary parameters to execute the ListDelegatedAdminAccounts operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDelegatedAdminAccounts
/// operation.
/// REST API Reference for ListDelegatedAdminAccounts Operation
public virtual IAsyncResult BeginListDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDelegatedAdminAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDelegatedAdminAccountsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListDelegatedAdminAccounts operation.
///
///
/// The IAsyncResult returned by the call to BeginListDelegatedAdminAccounts.
///
/// Returns a ListDelegatedAdminAccountsResult from Inspector2.
/// REST API Reference for ListDelegatedAdminAccounts Operation
public virtual ListDelegatedAdminAccountsResponse EndListDelegatedAdminAccounts(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFilters
///
/// Lists the filters associated with your account.
///
/// Container for the necessary parameters to execute the ListFilters service method.
///
/// The response from the ListFilters service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListFilters Operation
public virtual ListFiltersResponse ListFilters(ListFiltersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFiltersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFilters operation.
///
///
/// Container for the necessary parameters to execute the ListFilters operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFilters
/// operation.
/// REST API Reference for ListFilters Operation
public virtual IAsyncResult BeginListFilters(ListFiltersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFiltersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFilters operation.
///
///
/// The IAsyncResult returned by the call to BeginListFilters.
///
/// Returns a ListFiltersResult from Inspector2.
/// REST API Reference for ListFilters Operation
public virtual ListFiltersResponse EndListFilters(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFindingAggregations
///
/// Lists aggregated finding data for your environment based on specific criteria.
///
/// Container for the necessary parameters to execute the ListFindingAggregations service method.
///
/// The response from the ListFindingAggregations service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListFindingAggregations Operation
public virtual ListFindingAggregationsResponse ListFindingAggregations(ListFindingAggregationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingAggregationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingAggregationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFindingAggregations operation.
///
///
/// Container for the necessary parameters to execute the ListFindingAggregations operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFindingAggregations
/// operation.
/// REST API Reference for ListFindingAggregations Operation
public virtual IAsyncResult BeginListFindingAggregations(ListFindingAggregationsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingAggregationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingAggregationsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFindingAggregations operation.
///
///
/// The IAsyncResult returned by the call to BeginListFindingAggregations.
///
/// Returns a ListFindingAggregationsResult from Inspector2.
/// REST API Reference for ListFindingAggregations Operation
public virtual ListFindingAggregationsResponse EndListFindingAggregations(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListFindings
///
/// Lists findings for your environment.
///
/// Container for the necessary parameters to execute the ListFindings service method.
///
/// The response from the ListFindings service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListFindings Operation
public virtual ListFindingsResponse ListFindings(ListFindingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListFindings operation.
///
///
/// Container for the necessary parameters to execute the ListFindings operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFindings
/// operation.
/// REST API Reference for ListFindings Operation
public virtual IAsyncResult BeginListFindings(ListFindingsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListFindings operation.
///
///
/// The IAsyncResult returned by the call to BeginListFindings.
///
/// Returns a ListFindingsResult from Inspector2.
/// REST API Reference for ListFindings Operation
public virtual ListFindingsResponse EndListFindings(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListMembers
///
/// List members associated with the Amazon Inspector delegated administrator for your
/// organization.
///
/// Container for the necessary parameters to execute the ListMembers service method.
///
/// The response from the ListMembers service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListMembers Operation
public virtual ListMembersResponse ListMembers(ListMembersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListMembers operation.
///
///
/// Container for the necessary parameters to execute the ListMembers operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListMembers
/// operation.
/// REST API Reference for ListMembers Operation
public virtual IAsyncResult BeginListMembers(ListMembersRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListMembers operation.
///
///
/// The IAsyncResult returned by the call to BeginListMembers.
///
/// Returns a ListMembersResult from Inspector2.
/// REST API Reference for ListMembers Operation
public virtual ListMembersResponse EndListMembers(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListTagsForResource
///
/// Lists all tags attached to a given resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// The response from the ListTagsForResource service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListTagsForResource operation.
///
///
/// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource
/// operation.
/// REST API Reference for ListTagsForResource Operation
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);
}
///
/// Finishes the asynchronous execution of the ListTagsForResource operation.
///
///
/// The IAsyncResult returned by the call to BeginListTagsForResource.
///
/// Returns a ListTagsForResourceResult from Inspector2.
/// REST API Reference for ListTagsForResource Operation
public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ListUsageTotals
///
/// Lists the Amazon Inspector usage totals over the last 30 days.
///
/// Container for the necessary parameters to execute the ListUsageTotals service method.
///
/// The response from the ListUsageTotals service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ListUsageTotals Operation
public virtual ListUsageTotalsResponse ListUsageTotals(ListUsageTotalsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsageTotalsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsageTotalsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ListUsageTotals operation.
///
///
/// Container for the necessary parameters to execute the ListUsageTotals operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListUsageTotals
/// operation.
/// REST API Reference for ListUsageTotals Operation
public virtual IAsyncResult BeginListUsageTotals(ListUsageTotalsRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsageTotalsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsageTotalsResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ListUsageTotals operation.
///
///
/// The IAsyncResult returned by the call to BeginListUsageTotals.
///
/// Returns a ListUsageTotalsResult from Inspector2.
/// REST API Reference for ListUsageTotals Operation
public virtual ListUsageTotalsResponse EndListUsageTotals(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region ResetEncryptionKey
///
/// Resets an encryption key. After the key is reset your resources will be encrypted
/// by an Amazon Web Services owned key.
///
/// Container for the necessary parameters to execute the ResetEncryptionKey service method.
///
/// The response from the ResetEncryptionKey service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for ResetEncryptionKey Operation
public virtual ResetEncryptionKeyResponse ResetEncryptionKey(ResetEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the ResetEncryptionKey operation.
///
///
/// Container for the necessary parameters to execute the ResetEncryptionKey operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndResetEncryptionKey
/// operation.
/// REST API Reference for ResetEncryptionKey Operation
public virtual IAsyncResult BeginResetEncryptionKey(ResetEncryptionKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetEncryptionKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the ResetEncryptionKey operation.
///
///
/// The IAsyncResult returned by the call to BeginResetEncryptionKey.
///
/// Returns a ResetEncryptionKeyResult from Inspector2.
/// REST API Reference for ResetEncryptionKey Operation
public virtual ResetEncryptionKeyResponse EndResetEncryptionKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region SearchVulnerabilities
///
/// Lists Amazon Inspector coverage details for a specific vulnerability.
///
/// Container for the necessary parameters to execute the SearchVulnerabilities service method.
///
/// The response from the SearchVulnerabilities service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for SearchVulnerabilities Operation
public virtual SearchVulnerabilitiesResponse SearchVulnerabilities(SearchVulnerabilitiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchVulnerabilitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchVulnerabilitiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the SearchVulnerabilities operation.
///
///
/// Container for the necessary parameters to execute the SearchVulnerabilities operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchVulnerabilities
/// operation.
/// REST API Reference for SearchVulnerabilities Operation
public virtual IAsyncResult BeginSearchVulnerabilities(SearchVulnerabilitiesRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchVulnerabilitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchVulnerabilitiesResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the SearchVulnerabilities operation.
///
///
/// The IAsyncResult returned by the call to BeginSearchVulnerabilities.
///
/// Returns a SearchVulnerabilitiesResult from Inspector2.
/// REST API Reference for SearchVulnerabilities Operation
public virtual SearchVulnerabilitiesResponse EndSearchVulnerabilities(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region TagResource
///
/// Adds tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// The response from the TagResource service method, as returned by Inspector2.
///
/// One or more tags submitted as part of the request is not valid.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the TagResource operation.
///
///
/// Container for the necessary parameters to execute the TagResource operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource
/// operation.
/// REST API Reference for TagResource Operation
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);
}
///
/// Finishes the asynchronous execution of the TagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginTagResource.
///
/// Returns a TagResourceResult from Inspector2.
/// REST API Reference for TagResource Operation
public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UntagResource
///
/// Removes tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// The response from the UntagResource service method, as returned by Inspector2.
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UntagResource operation.
///
///
/// Container for the necessary parameters to execute the UntagResource operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource
/// operation.
/// REST API Reference for UntagResource Operation
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);
}
///
/// Finishes the asynchronous execution of the UntagResource operation.
///
///
/// The IAsyncResult returned by the call to BeginUntagResource.
///
/// Returns a UntagResourceResult from Inspector2.
/// REST API Reference for UntagResource Operation
public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateConfiguration
///
/// Updates setting configurations for your Amazon Inspector account. When you use this
/// API as an Amazon Inspector delegated administrator this updates the setting for all
/// accounts you manage. Member accounts in an organization cannot update this setting.
///
/// Container for the necessary parameters to execute the UpdateConfiguration service method.
///
/// The response from the UpdateConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateConfiguration Operation
public virtual UpdateConfigurationResponse UpdateConfiguration(UpdateConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateConfiguration
/// operation.
/// REST API Reference for UpdateConfiguration Operation
public virtual IAsyncResult BeginUpdateConfiguration(UpdateConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateConfiguration.
///
/// Returns a UpdateConfigurationResult from Inspector2.
/// REST API Reference for UpdateConfiguration Operation
public virtual UpdateConfigurationResponse EndUpdateConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateEc2DeepInspectionConfiguration
///
/// Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for
/// your account.
///
/// Container for the necessary parameters to execute the UpdateEc2DeepInspectionConfiguration service method.
///
/// The response from the UpdateEc2DeepInspectionConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateEc2DeepInspectionConfiguration Operation
public virtual UpdateEc2DeepInspectionConfigurationResponse UpdateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateEc2DeepInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateEc2DeepInspectionConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEc2DeepInspectionConfiguration
/// operation.
/// REST API Reference for UpdateEc2DeepInspectionConfiguration Operation
public virtual IAsyncResult BeginUpdateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateEc2DeepInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateEc2DeepInspectionConfiguration.
///
/// Returns a UpdateEc2DeepInspectionConfigurationResult from Inspector2.
/// REST API Reference for UpdateEc2DeepInspectionConfiguration Operation
public virtual UpdateEc2DeepInspectionConfigurationResponse EndUpdateEc2DeepInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateEncryptionKey
///
/// Updates an encryption key. A ResourceNotFoundException
means that an
/// AWS owned key is being used for encryption.
///
/// Container for the necessary parameters to execute the UpdateEncryptionKey service method.
///
/// The response from the UpdateEncryptionKey service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateEncryptionKey Operation
public virtual UpdateEncryptionKeyResponse UpdateEncryptionKey(UpdateEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateEncryptionKey operation.
///
///
/// Container for the necessary parameters to execute the UpdateEncryptionKey operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateEncryptionKey
/// operation.
/// REST API Reference for UpdateEncryptionKey Operation
public virtual IAsyncResult BeginUpdateEncryptionKey(UpdateEncryptionKeyRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEncryptionKeyResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateEncryptionKey operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateEncryptionKey.
///
/// Returns a UpdateEncryptionKeyResult from Inspector2.
/// REST API Reference for UpdateEncryptionKey Operation
public virtual UpdateEncryptionKeyResponse EndUpdateEncryptionKey(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateFilter
///
/// Specifies the action that is to be applied to the findings that match the filter.
///
/// Container for the necessary parameters to execute the UpdateFilter service method.
///
/// The response from the UpdateFilter service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The operation tried to access an invalid resource. Make sure the resource is specified
/// correctly.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateFilter Operation
public virtual UpdateFilterResponse UpdateFilter(UpdateFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateFilter operation.
///
///
/// Container for the necessary parameters to execute the UpdateFilter operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateFilter
/// operation.
/// REST API Reference for UpdateFilter Operation
public virtual IAsyncResult BeginUpdateFilter(UpdateFilterRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFilterResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateFilter operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateFilter.
///
/// Returns a UpdateFilterResult from Inspector2.
/// REST API Reference for UpdateFilter Operation
public virtual UpdateFilterResponse EndUpdateFilter(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateOrganizationConfiguration
///
/// Updates the configurations for your Amazon Inspector organization.
///
/// Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.
///
/// The response from the UpdateOrganizationConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateOrganizationConfiguration Operation
public virtual UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateOrganizationConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateOrganizationConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOrganizationConfiguration
/// operation.
/// REST API Reference for UpdateOrganizationConfiguration Operation
public virtual IAsyncResult BeginUpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateOrganizationConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateOrganizationConfiguration.
///
/// Returns a UpdateOrganizationConfigurationResult from Inspector2.
/// REST API Reference for UpdateOrganizationConfiguration Operation
public virtual UpdateOrganizationConfigurationResponse EndUpdateOrganizationConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
#region UpdateOrgEc2DeepInspectionConfiguration
///
/// Updates the Amazon Inspector deep inspection custom paths for your organization. You
/// must be an Amazon Inspector delegated administrator to use this API.
///
/// Container for the necessary parameters to execute the UpdateOrgEc2DeepInspectionConfiguration service method.
///
/// The response from the UpdateOrgEc2DeepInspectionConfiguration service method, as returned by Inspector2.
///
/// You do not have sufficient access to perform this action.
///
///
/// The request has failed due to an internal failure of the Amazon Inspector service.
///
///
/// The limit on the number of requests per second was exceeded.
///
///
/// The request has failed validation due to missing required fields or having invalid
/// inputs.
///
/// REST API Reference for UpdateOrgEc2DeepInspectionConfiguration Operation
public virtual UpdateOrgEc2DeepInspectionConfigurationResponse UpdateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrgEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrgEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Initiates the asynchronous execution of the UpdateOrgEc2DeepInspectionConfiguration operation.
///
///
/// Container for the necessary parameters to execute the UpdateOrgEc2DeepInspectionConfiguration operation on AmazonInspector2Client.
/// An AsyncCallback delegate that is invoked when the operation completes.
/// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback
/// procedure using the AsyncState property.
///
/// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateOrgEc2DeepInspectionConfiguration
/// operation.
/// REST API Reference for UpdateOrgEc2DeepInspectionConfiguration Operation
public virtual IAsyncResult BeginUpdateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest request, AsyncCallback callback, object state)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrgEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrgEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return BeginInvoke(request, options, callback, state);
}
///
/// Finishes the asynchronous execution of the UpdateOrgEc2DeepInspectionConfiguration operation.
///
///
/// The IAsyncResult returned by the call to BeginUpdateOrgEc2DeepInspectionConfiguration.
///
/// Returns a UpdateOrgEc2DeepInspectionConfigurationResult from Inspector2.
/// REST API Reference for UpdateOrgEc2DeepInspectionConfiguration Operation
public virtual UpdateOrgEc2DeepInspectionConfigurationResponse EndUpdateOrgEc2DeepInspectionConfiguration(IAsyncResult asyncResult)
{
return EndInvoke(asyncResult);
}
#endregion
}
}