/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
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();
#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
#if 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 Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
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
internal virtual AssociateMemberResponse AssociateMember(AssociateMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMemberResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task AssociateMemberAsync(AssociateMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateMemberResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchGetAccountStatus
internal virtual BatchGetAccountStatusResponse BatchGetAccountStatus(BatchGetAccountStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetAccountStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchGetAccountStatusAsync(BatchGetAccountStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetAccountStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetAccountStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchGetCodeSnippet
internal virtual BatchGetCodeSnippetResponse BatchGetCodeSnippet(BatchGetCodeSnippetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetCodeSnippetRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetCodeSnippetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves code snippets from findings that Amazon Inspector detected code vulnerabilities
/// in.
///
/// Container for the necessary parameters to execute the BatchGetCodeSnippet service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchGetCodeSnippetAsync(BatchGetCodeSnippetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetCodeSnippetRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetCodeSnippetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchGetFreeTrialInfo
internal virtual BatchGetFreeTrialInfoResponse BatchGetFreeTrialInfo(BatchGetFreeTrialInfoRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetFreeTrialInfoRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetFreeTrialInfoResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets free trial status for multiple Amazon Web Services accounts.
///
/// Container for the necessary parameters to execute the BatchGetFreeTrialInfo service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchGetFreeTrialInfoAsync(BatchGetFreeTrialInfoRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetFreeTrialInfoRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetFreeTrialInfoResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchGetMemberEc2DeepInspectionStatus
internal virtual BatchGetMemberEc2DeepInspectionStatusResponse BatchGetMemberEc2DeepInspectionStatus(BatchGetMemberEc2DeepInspectionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchGetMemberEc2DeepInspectionStatusAsync(BatchGetMemberEc2DeepInspectionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchGetMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchGetMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region BatchUpdateMemberEc2DeepInspectionStatus
internal virtual BatchUpdateMemberEc2DeepInspectionStatusResponse BatchUpdateMemberEc2DeepInspectionStatus(BatchUpdateMemberEc2DeepInspectionStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task BatchUpdateMemberEc2DeepInspectionStatusAsync(BatchUpdateMemberEc2DeepInspectionStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = BatchUpdateMemberEc2DeepInspectionStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = BatchUpdateMemberEc2DeepInspectionStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CancelFindingsReport
internal virtual CancelFindingsReportResponse CancelFindingsReport(CancelFindingsReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelFindingsReportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Cancels the given findings report.
///
/// Container for the necessary parameters to execute the CancelFindingsReport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CancelFindingsReportAsync(CancelFindingsReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelFindingsReportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CancelSbomExport
internal virtual CancelSbomExportResponse CancelSbomExport(CancelSbomExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelSbomExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Cancels a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the CancelSbomExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CancelSbomExportAsync(CancelSbomExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelSbomExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFilter
internal virtual CreateFilterResponse CreateFilter(CreateFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a filter resource using specified filter criteria.
///
/// Container for the necessary parameters to execute the CreateFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateFilterAsync(CreateFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateFindingsReport
internal virtual CreateFindingsReportResponse CreateFindingsReport(CreateFindingsReportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFindingsReportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateFindingsReportAsync(CreateFindingsReportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateFindingsReportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateFindingsReportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateSbomExport
internal virtual CreateSbomExportResponse CreateSbomExport(CreateSbomExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSbomExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Creates a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the CreateSbomExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task CreateSbomExportAsync(CreateSbomExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateSbomExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteFilter
internal virtual DeleteFilterResponse DeleteFilter(DeleteFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Deletes a filter resource.
///
/// Container for the necessary parameters to execute the DeleteFilter service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DeleteFilterAsync(DeleteFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeOrganizationConfiguration
internal virtual DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Describe Amazon Inspector configuration settings for an Amazon Web Services organization.
///
/// Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DescribeOrganizationConfigurationAsync(DescribeOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeOrganizationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region Disable
internal virtual DisableResponse Disable(DisableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DisableAsync(DisableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisableDelegatedAdminAccount
internal virtual DisableDelegatedAdminAccountResponse DisableDelegatedAdminAccount(DisableDelegatedAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableDelegatedAdminAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disables the Amazon Inspector delegated administrator for your organization.
///
/// Container for the necessary parameters to execute the DisableDelegatedAdminAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DisableDelegatedAdminAccountAsync(DisableDelegatedAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisableDelegatedAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateMember
internal virtual DisassociateMemberResponse DisassociateMember(DisassociateMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Disassociates a member account from an Amazon Inspector delegated administrator.
///
/// Container for the necessary parameters to execute the DisassociateMember service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task DisassociateMemberAsync(DisassociateMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateMemberResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region Enable
internal virtual EnableResponse Enable(EnableRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Enables Amazon Inspector scans for one or more Amazon Web Services accounts.
///
/// Container for the necessary parameters to execute the Enable service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task EnableAsync(EnableRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region EnableDelegatedAdminAccount
internal virtual EnableDelegatedAdminAccountResponse EnableDelegatedAdminAccount(EnableDelegatedAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableDelegatedAdminAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Enables the Amazon Inspector delegated administrator for your Organizations organization.
///
/// Container for the necessary parameters to execute the EnableDelegatedAdminAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task EnableDelegatedAdminAccountAsync(EnableDelegatedAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = EnableDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = EnableDelegatedAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetConfiguration
internal virtual GetConfigurationResponse GetConfiguration(GetConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves setting configurations for Inspector scans.
///
/// Container for the necessary parameters to execute the GetConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetConfigurationAsync(GetConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetDelegatedAdminAccount
internal virtual GetDelegatedAdminAccountResponse GetDelegatedAdminAccount(GetDelegatedAdminAccountRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegatedAdminAccountResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieves information about the Amazon Inspector delegated administrator for your
/// organization.
///
/// Container for the necessary parameters to execute the GetDelegatedAdminAccount service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetDelegatedAdminAccountAsync(GetDelegatedAdminAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetDelegatedAdminAccountRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetDelegatedAdminAccountResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetEc2DeepInspectionConfiguration
internal virtual GetEc2DeepInspectionConfigurationResponse GetEc2DeepInspectionConfiguration(GetEc2DeepInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetEc2DeepInspectionConfigurationAsync(GetEc2DeepInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetEncryptionKey
internal virtual GetEncryptionKeyResponse GetEncryptionKey(GetEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets an encryption key.
///
/// Container for the necessary parameters to execute the GetEncryptionKey service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetEncryptionKeyAsync(GetEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetEncryptionKeyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetFindingsReportStatus
internal virtual GetFindingsReportStatusResponse GetFindingsReportStatus(GetFindingsReportStatusRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFindingsReportStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFindingsReportStatusResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets the status of a findings report.
///
/// Container for the necessary parameters to execute the GetFindingsReportStatus service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetFindingsReportStatusAsync(GetFindingsReportStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetFindingsReportStatusRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetFindingsReportStatusResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetMember
internal virtual GetMemberResponse GetMember(GetMemberRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets member information for your organization.
///
/// Container for the necessary parameters to execute the GetMember service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetMemberAsync(GetMemberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetMemberRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetMemberResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetSbomExport
internal virtual GetSbomExportResponse GetSbomExport(GetSbomExportRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSbomExportResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Gets details of a software bill of materials (SBOM) report.
///
/// Container for the necessary parameters to execute the GetSbomExport service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task GetSbomExportAsync(GetSbomExportRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetSbomExportRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetSbomExportResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListAccountPermissions
internal virtual ListAccountPermissionsResponse ListAccountPermissions(ListAccountPermissionsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountPermissionsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the permissions an account has to configure Amazon Inspector.
///
/// Container for the necessary parameters to execute the ListAccountPermissions service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListAccountPermissionsAsync(ListAccountPermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListAccountPermissionsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListAccountPermissionsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCoverage
internal virtual ListCoverageResponse ListCoverage(ListCoverageRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists coverage details for you environment.
///
/// Container for the necessary parameters to execute the ListCoverage service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListCoverageAsync(ListCoverageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListCoverageStatistics
internal virtual ListCoverageStatisticsResponse ListCoverageStatistics(ListCoverageStatisticsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageStatisticsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageStatisticsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists Amazon Inspector coverage statistics for your environment.
///
/// Container for the necessary parameters to execute the ListCoverageStatistics service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListCoverageStatisticsAsync(ListCoverageStatisticsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListCoverageStatisticsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListCoverageStatisticsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListDelegatedAdminAccounts
internal virtual ListDelegatedAdminAccountsResponse ListDelegatedAdminAccounts(ListDelegatedAdminAccountsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDelegatedAdminAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDelegatedAdminAccountsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists information about the Amazon Inspector delegated administrator of your organization.
///
/// Container for the necessary parameters to execute the ListDelegatedAdminAccounts service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListDelegatedAdminAccountsAsync(ListDelegatedAdminAccountsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListDelegatedAdminAccountsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListDelegatedAdminAccountsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFilters
internal virtual ListFiltersResponse ListFilters(ListFiltersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFiltersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the filters associated with your account.
///
/// Container for the necessary parameters to execute the ListFilters service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFiltersAsync(ListFiltersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFiltersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFindingAggregations
internal virtual ListFindingAggregationsResponse ListFindingAggregations(ListFindingAggregationsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingAggregationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingAggregationsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists aggregated finding data for your environment based on specific criteria.
///
/// Container for the necessary parameters to execute the ListFindingAggregations service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFindingAggregationsAsync(ListFindingAggregationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingAggregationsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingAggregationsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListFindings
internal virtual ListFindingsResponse ListFindings(ListFindingsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists findings for your environment.
///
/// Container for the necessary parameters to execute the ListFindings service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListFindingsAsync(ListFindingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListFindingsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListFindingsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListMembers
internal virtual ListMembersResponse ListMembers(ListMembersRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// List members associated with the Amazon Inspector delegated administrator for your
/// organization.
///
/// Container for the necessary parameters to execute the ListMembers service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListMembersAsync(ListMembersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListMembersRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListMembersResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists all tags attached to a given resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListUsageTotals
internal virtual ListUsageTotalsResponse ListUsageTotals(ListUsageTotalsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsageTotalsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsageTotalsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists the Amazon Inspector usage totals over the last 30 days.
///
/// Container for the necessary parameters to execute the ListUsageTotals service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ListUsageTotalsAsync(ListUsageTotalsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListUsageTotalsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListUsageTotalsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ResetEncryptionKey
internal virtual ResetEncryptionKeyResponse ResetEncryptionKey(ResetEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task ResetEncryptionKeyAsync(ResetEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ResetEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = ResetEncryptionKeyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region SearchVulnerabilities
internal virtual SearchVulnerabilitiesResponse SearchVulnerabilities(SearchVulnerabilitiesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchVulnerabilitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchVulnerabilitiesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Lists Amazon Inspector coverage details for a specific vulnerability.
///
/// Container for the necessary parameters to execute the SearchVulnerabilities service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task SearchVulnerabilitiesAsync(SearchVulnerabilitiesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = SearchVulnerabilitiesRequestMarshaller.Instance;
options.ResponseUnmarshaller = SearchVulnerabilitiesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Adds tags to a resource.
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes tags from a resource.
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateConfiguration
internal virtual UpdateConfigurationResponse UpdateConfiguration(UpdateConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateConfigurationAsync(UpdateConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateEc2DeepInspectionConfiguration
internal virtual UpdateEc2DeepInspectionConfigurationResponse UpdateEc2DeepInspectionConfiguration(UpdateEc2DeepInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Activates, deactivates Amazon Inspector deep inspection, or updates custom paths for
/// your account.
///
/// Container for the necessary parameters to execute the UpdateEc2DeepInspectionConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateEc2DeepInspectionConfigurationAsync(UpdateEc2DeepInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateEncryptionKey
internal virtual UpdateEncryptionKeyResponse UpdateEncryptionKey(UpdateEncryptionKeyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEncryptionKeyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateEncryptionKeyAsync(UpdateEncryptionKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateEncryptionKeyRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateEncryptionKeyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateFilter
internal virtual UpdateFilterResponse UpdateFilter(UpdateFilterRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFilterResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateFilterAsync(UpdateFilterRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateFilterRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateFilterResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateOrganizationConfiguration
internal virtual UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Updates the configurations for your Amazon Inspector organization.
///
/// Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateOrganizationConfigurationAsync(UpdateOrganizationConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrganizationConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrganizationConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateOrgEc2DeepInspectionConfiguration
internal virtual UpdateOrgEc2DeepInspectionConfigurationResponse UpdateOrgEc2DeepInspectionConfiguration(UpdateOrgEc2DeepInspectionConfigurationRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrgEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrgEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// 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.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// 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 Task UpdateOrgEc2DeepInspectionConfigurationAsync(UpdateOrgEc2DeepInspectionConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateOrgEc2DeepInspectionConfigurationRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateOrgEc2DeepInspectionConfigurationResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}