/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the securityhub-2018-10-26.normal.json service model. */ using System; using System.Threading; using System.Threading.Tasks; using System.Collections.Generic; using Amazon.Runtime; using Amazon.SecurityHub.Model; namespace Amazon.SecurityHub { /// <summary> /// Interface for accessing SecurityHub /// /// Security Hub provides you with a comprehensive view of the security state of your /// Amazon Web Services environment and resources. It also provides you with the readiness /// status of your environment based on controls from supported security standards. Security /// Hub collects security data from Amazon Web Services accounts, services, and integrated /// third-party products and helps you analyze security trends in your environment to /// identify the highest priority security issues. For more information about Security /// Hub, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/what-is-securityhub.html">Security /// HubUser Guide</a>. /// /// /// <para> /// When you use operations in the Security Hub API, the requests are executed only in /// the Amazon Web Services Region that is currently active or in the specific Amazon /// Web Services Region that you specify in your request. Any configuration or settings /// change that results from the operation is applied only to that Region. To make the /// same change in other Regions, run the same command for each Region in which you want /// to apply the change. /// </para> /// /// <para> /// For example, if your Region is set to <code>us-west-2</code>, when you use <code>CreateMembers</code> /// to add a member account to Security Hub, the association of the member account with /// the administrator account is created only in the <code>us-west-2</code> Region. Security /// Hub must be enabled for the member account in the same Region that the invitation /// was sent from. /// </para> /// /// <para> /// The following throttling limits apply to using Security Hub API operations. /// </para> /// <ul> <li> /// <para> /// <code>BatchEnableStandards</code> - <code>RateLimit</code> of 1 request per second. /// <code>BurstLimit</code> of 1 request per second. /// </para> /// </li> <li> /// <para> /// <code>GetFindings</code> - <code>RateLimit</code> of 3 requests per second. <code>BurstLimit</code> /// of 6 requests per second. /// </para> /// </li> <li> /// <para> /// <code>BatchImportFindings</code> - <code>RateLimit</code> of 10 requests per second. /// <code>BurstLimit</code> of 30 requests per second. /// </para> /// </li> <li> /// <para> /// <code>BatchUpdateFindings</code> - <code>RateLimit</code> of 10 requests per second. /// <code>BurstLimit</code> of 30 requests per second. /// </para> /// </li> <li> /// <para> /// <code>UpdateStandardsControl</code> - <code>RateLimit</code> of 1 request per second. /// <code>BurstLimit</code> of 5 requests per second. /// </para> /// </li> <li> /// <para> /// All other operations - <code>RateLimit</code> of 10 requests per second. <code>BurstLimit</code> /// of 30 requests per second. /// </para> /// </li> </ul> /// </summary> public partial interface IAmazonSecurityHub : IAmazonService, IDisposable { /// <summary> /// Paginators for the service /// </summary> ISecurityHubPaginatorFactory Paginators { get; } #region AcceptAdministratorInvitation /// <summary> /// Accepts the invitation to be a member account and be monitored by the Security Hub /// administrator account that the invitation was sent from. /// /// /// <para> /// This operation is only used by member accounts that are not added through Organizations. /// </para> /// /// <para> /// When the member account accepts the invitation, permission is granted to the administrator /// account to view findings generated in the member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AcceptAdministratorInvitation service method.</param> /// /// <returns>The response from the AcceptAdministratorInvitation service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptAdministratorInvitation">REST API Reference for AcceptAdministratorInvitation Operation</seealso> AcceptAdministratorInvitationResponse AcceptAdministratorInvitation(AcceptAdministratorInvitationRequest request); /// <summary> /// Accepts the invitation to be a member account and be monitored by the Security Hub /// administrator account that the invitation was sent from. /// /// /// <para> /// This operation is only used by member accounts that are not added through Organizations. /// </para> /// /// <para> /// When the member account accepts the invitation, permission is granted to the administrator /// account to view findings generated in the member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AcceptAdministratorInvitation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AcceptAdministratorInvitation service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptAdministratorInvitation">REST API Reference for AcceptAdministratorInvitation Operation</seealso> Task<AcceptAdministratorInvitationResponse> AcceptAdministratorInvitationAsync(AcceptAdministratorInvitationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region AcceptInvitation /// <summary> /// This method is deprecated. Instead, use <code>AcceptAdministratorInvitation</code>. /// /// /// <para> /// The Security Hub console continues to use <code>AcceptInvitation</code>. It will eventually /// change to use <code>AcceptAdministratorInvitation</code>. Any IAM policies that specifically /// control access to this function must continue to use <code>AcceptInvitation</code>. /// You should also add <code>AcceptAdministratorInvitation</code> to your policies to /// ensure that the correct permissions are in place after the console begins to use <code>AcceptAdministratorInvitation</code>. /// </para> /// /// <para> /// Accepts the invitation to be a member account and be monitored by the Security Hub /// administrator account that the invitation was sent from. /// </para> /// /// <para> /// This operation is only used by member accounts that are not added through Organizations. /// </para> /// /// <para> /// When the member account accepts the invitation, permission is granted to the administrator /// account to view findings generated in the member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AcceptInvitation service method.</param> /// /// <returns>The response from the AcceptInvitation service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation">REST API Reference for AcceptInvitation Operation</seealso> [Obsolete("This API has been deprecated, use AcceptAdministratorInvitation API instead.")] AcceptInvitationResponse AcceptInvitation(AcceptInvitationRequest request); /// <summary> /// This method is deprecated. Instead, use <code>AcceptAdministratorInvitation</code>. /// /// /// <para> /// The Security Hub console continues to use <code>AcceptInvitation</code>. It will eventually /// change to use <code>AcceptAdministratorInvitation</code>. Any IAM policies that specifically /// control access to this function must continue to use <code>AcceptInvitation</code>. /// You should also add <code>AcceptAdministratorInvitation</code> to your policies to /// ensure that the correct permissions are in place after the console begins to use <code>AcceptAdministratorInvitation</code>. /// </para> /// /// <para> /// Accepts the invitation to be a member account and be monitored by the Security Hub /// administrator account that the invitation was sent from. /// </para> /// /// <para> /// This operation is only used by member accounts that are not added through Organizations. /// </para> /// /// <para> /// When the member account accepts the invitation, permission is granted to the administrator /// account to view findings generated in the member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the AcceptInvitation service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the AcceptInvitation service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/AcceptInvitation">REST API Reference for AcceptInvitation Operation</seealso> [Obsolete("This API has been deprecated, use AcceptAdministratorInvitation API instead.")] Task<AcceptInvitationResponse> AcceptInvitationAsync(AcceptInvitationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDeleteAutomationRules /// <summary> /// Deletes one or more automation rules. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDeleteAutomationRules service method.</param> /// /// <returns>The response from the BatchDeleteAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDeleteAutomationRules">REST API Reference for BatchDeleteAutomationRules Operation</seealso> BatchDeleteAutomationRulesResponse BatchDeleteAutomationRules(BatchDeleteAutomationRulesRequest request); /// <summary> /// Deletes one or more automation rules. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDeleteAutomationRules service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchDeleteAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDeleteAutomationRules">REST API Reference for BatchDeleteAutomationRules Operation</seealso> Task<BatchDeleteAutomationRulesResponse> BatchDeleteAutomationRulesAsync(BatchDeleteAutomationRulesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchDisableStandards /// <summary> /// Disables the standards specified by the provided <code>StandardsSubscriptionArns</code>. /// /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security /// Standards</a> section of the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisableStandards service method.</param> /// /// <returns>The response from the BatchDisableStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards">REST API Reference for BatchDisableStandards Operation</seealso> BatchDisableStandardsResponse BatchDisableStandards(BatchDisableStandardsRequest request); /// <summary> /// Disables the standards specified by the provided <code>StandardsSubscriptionArns</code>. /// /// /// <para> /// For more information, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security /// Standards</a> section of the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchDisableStandards service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchDisableStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchDisableStandards">REST API Reference for BatchDisableStandards Operation</seealso> Task<BatchDisableStandardsResponse> BatchDisableStandardsAsync(BatchDisableStandardsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchEnableStandards /// <summary> /// Enables the standards specified by the provided <code>StandardsArn</code>. To obtain /// the ARN for a standard, use the <code>DescribeStandards</code> operation. /// /// /// <para> /// For more information, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security /// Standards</a> section of the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchEnableStandards service method.</param> /// /// <returns>The response from the BatchEnableStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards">REST API Reference for BatchEnableStandards Operation</seealso> BatchEnableStandardsResponse BatchEnableStandards(BatchEnableStandardsRequest request); /// <summary> /// Enables the standards specified by the provided <code>StandardsArn</code>. To obtain /// the ARN for a standard, use the <code>DescribeStandards</code> operation. /// /// /// <para> /// For more information, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards.html">Security /// Standards</a> section of the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchEnableStandards service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchEnableStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchEnableStandards">REST API Reference for BatchEnableStandards Operation</seealso> Task<BatchEnableStandardsResponse> BatchEnableStandardsAsync(BatchEnableStandardsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetAutomationRules /// <summary> /// Retrieves a list of details for automation rules based on rule Amazon Resource Names /// (ARNs). /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetAutomationRules service method.</param> /// /// <returns>The response from the BatchGetAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchGetAutomationRules">REST API Reference for BatchGetAutomationRules Operation</seealso> BatchGetAutomationRulesResponse BatchGetAutomationRules(BatchGetAutomationRulesRequest request); /// <summary> /// Retrieves a list of details for automation rules based on rule Amazon Resource Names /// (ARNs). /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetAutomationRules service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchGetAutomationRules">REST API Reference for BatchGetAutomationRules Operation</seealso> Task<BatchGetAutomationRulesResponse> BatchGetAutomationRulesAsync(BatchGetAutomationRulesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetSecurityControls /// <summary> /// Provides details about a batch of security controls for the current Amazon Web Services /// account and Amazon Web Services Region. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetSecurityControls service method.</param> /// /// <returns>The response from the BatchGetSecurityControls service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchGetSecurityControls">REST API Reference for BatchGetSecurityControls Operation</seealso> BatchGetSecurityControlsResponse BatchGetSecurityControls(BatchGetSecurityControlsRequest request); /// <summary> /// Provides details about a batch of security controls for the current Amazon Web Services /// account and Amazon Web Services Region. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetSecurityControls service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetSecurityControls service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchGetSecurityControls">REST API Reference for BatchGetSecurityControls Operation</seealso> Task<BatchGetSecurityControlsResponse> BatchGetSecurityControlsAsync(BatchGetSecurityControlsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchGetStandardsControlAssociations /// <summary> /// For a batch of security controls and standards, identifies whether each control is /// currently enabled or disabled in a standard. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetStandardsControlAssociations service method.</param> /// /// <returns>The response from the BatchGetStandardsControlAssociations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchGetStandardsControlAssociations">REST API Reference for BatchGetStandardsControlAssociations Operation</seealso> BatchGetStandardsControlAssociationsResponse BatchGetStandardsControlAssociations(BatchGetStandardsControlAssociationsRequest request); /// <summary> /// For a batch of security controls and standards, identifies whether each control is /// currently enabled or disabled in a standard. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchGetStandardsControlAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchGetStandardsControlAssociations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchGetStandardsControlAssociations">REST API Reference for BatchGetStandardsControlAssociations Operation</seealso> Task<BatchGetStandardsControlAssociationsResponse> BatchGetStandardsControlAssociationsAsync(BatchGetStandardsControlAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchImportFindings /// <summary> /// Imports security findings generated by a finding provider into Security Hub. This /// action is requested by the finding provider to import its findings into Security Hub. /// /// /// <para> /// <code>BatchImportFindings</code> must be called by one of the following: /// </para> /// <ul> <li> /// <para> /// The Amazon Web Services account that is associated with a finding if you are using /// the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs">default /// product ARN</a> or are a partner sending findings from within a customer's Amazon /// Web Services account. In these cases, the identifier of the account that you are calling /// <code>BatchImportFindings</code> from needs to be the same as the <code>AwsAccountId</code> /// attribute for the finding. /// </para> /// </li> <li> /// <para> /// An Amazon Web Services account that Security Hub has allow-listed for an official /// partner integration. In this case, you can call <code>BatchImportFindings</code> from /// the allow-listed account and send findings from different customer accounts in the /// same batch. /// </para> /// </li> </ul> /// <para> /// The maximum allowed size for a finding is 240 Kb. An error is returned for any finding /// larger than 240 Kb. /// </para> /// /// <para> /// After a finding is created, <code>BatchImportFindings</code> cannot be used to update /// the following finding fields and objects, which Security Hub customers use to manage /// their investigation workflow. /// </para> /// <ul> <li> /// <para> /// <code>Note</code> /// </para> /// </li> <li> /// <para> /// <code>UserDefinedFields</code> /// </para> /// </li> <li> /// <para> /// <code>VerificationState</code> /// </para> /// </li> <li> /// <para> /// <code>Workflow</code> /// </para> /// </li> </ul> /// <para> /// Finding providers also should not use <code>BatchImportFindings</code> to update the /// following attributes. /// </para> /// <ul> <li> /// <para> /// <code>Confidence</code> /// </para> /// </li> <li> /// <para> /// <code>Criticality</code> /// </para> /// </li> <li> /// <para> /// <code>RelatedFindings</code> /// </para> /// </li> <li> /// <para> /// <code>Severity</code> /// </para> /// </li> <li> /// <para> /// <code>Types</code> /// </para> /// </li> </ul> /// <para> /// Instead, finding providers use <code>FindingProviderFields</code> to provide values /// for these attributes. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchImportFindings service method.</param> /// /// <returns>The response from the BatchImportFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings">REST API Reference for BatchImportFindings Operation</seealso> BatchImportFindingsResponse BatchImportFindings(BatchImportFindingsRequest request); /// <summary> /// Imports security findings generated by a finding provider into Security Hub. This /// action is requested by the finding provider to import its findings into Security Hub. /// /// /// <para> /// <code>BatchImportFindings</code> must be called by one of the following: /// </para> /// <ul> <li> /// <para> /// The Amazon Web Services account that is associated with a finding if you are using /// the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-custom-providers.html#securityhub-custom-providers-bfi-reqs">default /// product ARN</a> or are a partner sending findings from within a customer's Amazon /// Web Services account. In these cases, the identifier of the account that you are calling /// <code>BatchImportFindings</code> from needs to be the same as the <code>AwsAccountId</code> /// attribute for the finding. /// </para> /// </li> <li> /// <para> /// An Amazon Web Services account that Security Hub has allow-listed for an official /// partner integration. In this case, you can call <code>BatchImportFindings</code> from /// the allow-listed account and send findings from different customer accounts in the /// same batch. /// </para> /// </li> </ul> /// <para> /// The maximum allowed size for a finding is 240 Kb. An error is returned for any finding /// larger than 240 Kb. /// </para> /// /// <para> /// After a finding is created, <code>BatchImportFindings</code> cannot be used to update /// the following finding fields and objects, which Security Hub customers use to manage /// their investigation workflow. /// </para> /// <ul> <li> /// <para> /// <code>Note</code> /// </para> /// </li> <li> /// <para> /// <code>UserDefinedFields</code> /// </para> /// </li> <li> /// <para> /// <code>VerificationState</code> /// </para> /// </li> <li> /// <para> /// <code>Workflow</code> /// </para> /// </li> </ul> /// <para> /// Finding providers also should not use <code>BatchImportFindings</code> to update the /// following attributes. /// </para> /// <ul> <li> /// <para> /// <code>Confidence</code> /// </para> /// </li> <li> /// <para> /// <code>Criticality</code> /// </para> /// </li> <li> /// <para> /// <code>RelatedFindings</code> /// </para> /// </li> <li> /// <para> /// <code>Severity</code> /// </para> /// </li> <li> /// <para> /// <code>Types</code> /// </para> /// </li> </ul> /// <para> /// Instead, finding providers use <code>FindingProviderFields</code> to provide values /// for these attributes. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchImportFindings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchImportFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchImportFindings">REST API Reference for BatchImportFindings Operation</seealso> Task<BatchImportFindingsResponse> BatchImportFindingsAsync(BatchImportFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateAutomationRules /// <summary> /// Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and /// input parameters. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateAutomationRules service method.</param> /// /// <returns>The response from the BatchUpdateAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateAutomationRules">REST API Reference for BatchUpdateAutomationRules Operation</seealso> BatchUpdateAutomationRulesResponse BatchUpdateAutomationRules(BatchUpdateAutomationRulesRequest request); /// <summary> /// Updates one or more automation rules based on rule Amazon Resource Names (ARNs) and /// input parameters. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateAutomationRules service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchUpdateAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateAutomationRules">REST API Reference for BatchUpdateAutomationRules Operation</seealso> Task<BatchUpdateAutomationRulesResponse> BatchUpdateAutomationRulesAsync(BatchUpdateAutomationRulesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateFindings /// <summary> /// Used by Security Hub customers to update information about their investigation into /// a finding. Requested by administrator accounts or member accounts. Administrator accounts /// can update findings for their account and their member accounts. Member accounts can /// update findings for their account. /// /// /// <para> /// Updates from <code>BatchUpdateFindings</code> do not affect the value of <code>UpdatedAt</code> /// for a finding. /// </para> /// /// <para> /// Administrator and member accounts can use <code>BatchUpdateFindings</code> to update /// the following finding fields and objects. /// </para> /// <ul> <li> /// <para> /// <code>Confidence</code> /// </para> /// </li> <li> /// <para> /// <code>Criticality</code> /// </para> /// </li> <li> /// <para> /// <code>Note</code> /// </para> /// </li> <li> /// <para> /// <code>RelatedFindings</code> /// </para> /// </li> <li> /// <para> /// <code>Severity</code> /// </para> /// </li> <li> /// <para> /// <code>Types</code> /// </para> /// </li> <li> /// <para> /// <code>UserDefinedFields</code> /// </para> /// </li> <li> /// <para> /// <code>VerificationState</code> /// </para> /// </li> <li> /// <para> /// <code>Workflow</code> /// </para> /// </li> </ul> /// <para> /// You can configure IAM policies to restrict access to fields and field values. For /// example, you might not want member accounts to be able to suppress findings or change /// the finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring /// access to BatchUpdateFindings</a> in the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateFindings service method.</param> /// /// <returns>The response from the BatchUpdateFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateFindings">REST API Reference for BatchUpdateFindings Operation</seealso> BatchUpdateFindingsResponse BatchUpdateFindings(BatchUpdateFindingsRequest request); /// <summary> /// Used by Security Hub customers to update information about their investigation into /// a finding. Requested by administrator accounts or member accounts. Administrator accounts /// can update findings for their account and their member accounts. Member accounts can /// update findings for their account. /// /// /// <para> /// Updates from <code>BatchUpdateFindings</code> do not affect the value of <code>UpdatedAt</code> /// for a finding. /// </para> /// /// <para> /// Administrator and member accounts can use <code>BatchUpdateFindings</code> to update /// the following finding fields and objects. /// </para> /// <ul> <li> /// <para> /// <code>Confidence</code> /// </para> /// </li> <li> /// <para> /// <code>Criticality</code> /// </para> /// </li> <li> /// <para> /// <code>Note</code> /// </para> /// </li> <li> /// <para> /// <code>RelatedFindings</code> /// </para> /// </li> <li> /// <para> /// <code>Severity</code> /// </para> /// </li> <li> /// <para> /// <code>Types</code> /// </para> /// </li> <li> /// <para> /// <code>UserDefinedFields</code> /// </para> /// </li> <li> /// <para> /// <code>VerificationState</code> /// </para> /// </li> <li> /// <para> /// <code>Workflow</code> /// </para> /// </li> </ul> /// <para> /// You can configure IAM policies to restrict access to fields and field values. For /// example, you might not want member accounts to be able to suppress findings or change /// the finding severity. See <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-update-batchupdatefindings.html#batchupdatefindings-configure-access">Configuring /// access to BatchUpdateFindings</a> in the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateFindings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchUpdateFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateFindings">REST API Reference for BatchUpdateFindings Operation</seealso> Task<BatchUpdateFindingsResponse> BatchUpdateFindingsAsync(BatchUpdateFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region BatchUpdateStandardsControlAssociations /// <summary> /// For a batch of security controls and standards, this operation updates the enablement /// status of a control in a standard. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateStandardsControlAssociations service method.</param> /// /// <returns>The response from the BatchUpdateStandardsControlAssociations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateStandardsControlAssociations">REST API Reference for BatchUpdateStandardsControlAssociations Operation</seealso> BatchUpdateStandardsControlAssociationsResponse BatchUpdateStandardsControlAssociations(BatchUpdateStandardsControlAssociationsRequest request); /// <summary> /// For a batch of security controls and standards, this operation updates the enablement /// status of a control in a standard. /// </summary> /// <param name="request">Container for the necessary parameters to execute the BatchUpdateStandardsControlAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the BatchUpdateStandardsControlAssociations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/BatchUpdateStandardsControlAssociations">REST API Reference for BatchUpdateStandardsControlAssociations Operation</seealso> Task<BatchUpdateStandardsControlAssociationsResponse> BatchUpdateStandardsControlAssociationsAsync(BatchUpdateStandardsControlAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateActionTarget /// <summary> /// Creates a custom action target in Security Hub. /// /// /// <para> /// You can use custom actions on findings and insights in Security Hub to trigger target /// actions in Amazon CloudWatch Events. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateActionTarget service method.</param> /// /// <returns>The response from the CreateActionTarget service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget">REST API Reference for CreateActionTarget Operation</seealso> CreateActionTargetResponse CreateActionTarget(CreateActionTargetRequest request); /// <summary> /// Creates a custom action target in Security Hub. /// /// /// <para> /// You can use custom actions on findings and insights in Security Hub to trigger target /// actions in Amazon CloudWatch Events. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateActionTarget service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateActionTarget service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateActionTarget">REST API Reference for CreateActionTarget Operation</seealso> Task<CreateActionTargetResponse> CreateActionTargetAsync(CreateActionTargetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateAutomationRule /// <summary> /// Creates an automation rule based on input parameters. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAutomationRule service method.</param> /// /// <returns>The response from the CreateAutomationRule service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateAutomationRule">REST API Reference for CreateAutomationRule Operation</seealso> CreateAutomationRuleResponse CreateAutomationRule(CreateAutomationRuleRequest request); /// <summary> /// Creates an automation rule based on input parameters. /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateAutomationRule service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateAutomationRule service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateAutomationRule">REST API Reference for CreateAutomationRule Operation</seealso> Task<CreateAutomationRuleResponse> CreateAutomationRuleAsync(CreateAutomationRuleRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateFindingAggregator /// <summary> /// Used to enable finding aggregation. Must be called from the aggregation Region. /// /// /// <para> /// For more details about cross-Region replication, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-aggregation.html">Configuring /// finding aggregation</a> in the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFindingAggregator service method.</param> /// /// <returns>The response from the CreateFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateFindingAggregator">REST API Reference for CreateFindingAggregator Operation</seealso> CreateFindingAggregatorResponse CreateFindingAggregator(CreateFindingAggregatorRequest request); /// <summary> /// Used to enable finding aggregation. Must be called from the aggregation Region. /// /// /// <para> /// For more details about cross-Region replication, see <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/finding-aggregation.html">Configuring /// finding aggregation</a> in the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateFindingAggregator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateFindingAggregator">REST API Reference for CreateFindingAggregator Operation</seealso> Task<CreateFindingAggregatorResponse> CreateFindingAggregatorAsync(CreateFindingAggregatorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateInsight /// <summary> /// Creates a custom insight in Security Hub. An insight is a consolidation of findings /// that relate to a security issue that requires attention or remediation. /// /// /// <para> /// To group the related findings in the insight, use the <code>GroupByAttribute</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateInsight service method.</param> /// /// <returns>The response from the CreateInsight service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight">REST API Reference for CreateInsight Operation</seealso> CreateInsightResponse CreateInsight(CreateInsightRequest request); /// <summary> /// Creates a custom insight in Security Hub. An insight is a consolidation of findings /// that relate to a security issue that requires attention or remediation. /// /// /// <para> /// To group the related findings in the insight, use the <code>GroupByAttribute</code>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateInsight service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateInsight service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateInsight">REST API Reference for CreateInsight Operation</seealso> Task<CreateInsightResponse> CreateInsightAsync(CreateInsightRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region CreateMembers /// <summary> /// Creates a member association in Security Hub between the specified accounts and the /// account used to make the request, which is the administrator account. If you are integrated /// with Organizations, then the administrator account is designated by the organization /// management account. /// /// /// <para> /// <code>CreateMembers</code> is always used to add accounts that are not organization /// members. /// </para> /// /// <para> /// For accounts that are managed using Organizations, <code>CreateMembers</code> is only /// used in the following cases: /// </para> /// <ul> <li> /// <para> /// Security Hub is not configured to automatically add new organization accounts. /// </para> /// </li> <li> /// <para> /// The account was disassociated or deleted in Security Hub. /// </para> /// </li> </ul> /// <para> /// This action can only be used by an account that has Security Hub enabled. To enable /// Security Hub, you can use the <code>EnableSecurityHub</code> operation. /// </para> /// /// <para> /// For accounts that are not organization members, you create the account association /// and then send an invitation to the member account. To send the invitation, you use /// the <code>InviteMembers</code> operation. If the account owner accepts the invitation, /// the account becomes a member account in Security Hub. /// </para> /// /// <para> /// Accounts that are managed using Organizations do not receive an invitation. They automatically /// become a member account in Security Hub. /// </para> /// <ul> <li> /// <para> /// If the organization account does not have Security Hub enabled, then Security Hub /// and the default standards are automatically enabled. Note that Security Hub cannot /// be enabled automatically for the organization management account. The organization /// management account must enable Security Hub before the administrator account enables /// it as a member account. /// </para> /// </li> <li> /// <para> /// For organization accounts that already have Security Hub enabled, Security Hub does /// not make any other changes to those accounts. It does not change their enabled standards /// or controls. /// </para> /// </li> </ul> /// <para> /// A permissions policy is added that permits the administrator account to view the findings /// generated in the member account. /// </para> /// /// <para> /// To remove the association between the administrator and member accounts, use the <code>DisassociateFromMasterAccount</code> /// or <code>DisassociateMembers</code> operation. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMembers service method.</param> /// /// <returns>The response from the CreateMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers">REST API Reference for CreateMembers Operation</seealso> CreateMembersResponse CreateMembers(CreateMembersRequest request); /// <summary> /// Creates a member association in Security Hub between the specified accounts and the /// account used to make the request, which is the administrator account. If you are integrated /// with Organizations, then the administrator account is designated by the organization /// management account. /// /// /// <para> /// <code>CreateMembers</code> is always used to add accounts that are not organization /// members. /// </para> /// /// <para> /// For accounts that are managed using Organizations, <code>CreateMembers</code> is only /// used in the following cases: /// </para> /// <ul> <li> /// <para> /// Security Hub is not configured to automatically add new organization accounts. /// </para> /// </li> <li> /// <para> /// The account was disassociated or deleted in Security Hub. /// </para> /// </li> </ul> /// <para> /// This action can only be used by an account that has Security Hub enabled. To enable /// Security Hub, you can use the <code>EnableSecurityHub</code> operation. /// </para> /// /// <para> /// For accounts that are not organization members, you create the account association /// and then send an invitation to the member account. To send the invitation, you use /// the <code>InviteMembers</code> operation. If the account owner accepts the invitation, /// the account becomes a member account in Security Hub. /// </para> /// /// <para> /// Accounts that are managed using Organizations do not receive an invitation. They automatically /// become a member account in Security Hub. /// </para> /// <ul> <li> /// <para> /// If the organization account does not have Security Hub enabled, then Security Hub /// and the default standards are automatically enabled. Note that Security Hub cannot /// be enabled automatically for the organization management account. The organization /// management account must enable Security Hub before the administrator account enables /// it as a member account. /// </para> /// </li> <li> /// <para> /// For organization accounts that already have Security Hub enabled, Security Hub does /// not make any other changes to those accounts. It does not change their enabled standards /// or controls. /// </para> /// </li> </ul> /// <para> /// A permissions policy is added that permits the administrator account to view the findings /// generated in the member account. /// </para> /// /// <para> /// To remove the association between the administrator and member accounts, use the <code>DisassociateFromMasterAccount</code> /// or <code>DisassociateMembers</code> operation. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the CreateMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the CreateMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/CreateMembers">REST API Reference for CreateMembers Operation</seealso> Task<CreateMembersResponse> CreateMembersAsync(CreateMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeclineInvitations /// <summary> /// Declines invitations to become a member account. /// /// /// <para> /// A prospective member account uses this operation to decline an invitation to become /// a member. /// </para> /// /// <para> /// This operation is only called by member accounts that aren't part of an organization. /// Organization accounts don't receive invitations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeclineInvitations service method.</param> /// /// <returns>The response from the DeclineInvitations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations">REST API Reference for DeclineInvitations Operation</seealso> DeclineInvitationsResponse DeclineInvitations(DeclineInvitationsRequest request); /// <summary> /// Declines invitations to become a member account. /// /// /// <para> /// A prospective member account uses this operation to decline an invitation to become /// a member. /// </para> /// /// <para> /// This operation is only called by member accounts that aren't part of an organization. /// Organization accounts don't receive invitations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeclineInvitations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeclineInvitations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeclineInvitations">REST API Reference for DeclineInvitations Operation</seealso> Task<DeclineInvitationsResponse> DeclineInvitationsAsync(DeclineInvitationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteActionTarget /// <summary> /// Deletes a custom action target from Security Hub. /// /// /// <para> /// Deleting a custom action target does not affect any findings or insights that were /// already sent to Amazon CloudWatch Events using the custom action. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteActionTarget service method.</param> /// /// <returns>The response from the DeleteActionTarget service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget">REST API Reference for DeleteActionTarget Operation</seealso> DeleteActionTargetResponse DeleteActionTarget(DeleteActionTargetRequest request); /// <summary> /// Deletes a custom action target from Security Hub. /// /// /// <para> /// Deleting a custom action target does not affect any findings or insights that were /// already sent to Amazon CloudWatch Events using the custom action. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteActionTarget service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteActionTarget service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteActionTarget">REST API Reference for DeleteActionTarget Operation</seealso> Task<DeleteActionTargetResponse> DeleteActionTargetAsync(DeleteActionTargetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteFindingAggregator /// <summary> /// Deletes a finding aggregator. When you delete the finding aggregator, you stop finding /// aggregation. /// /// /// <para> /// When you stop finding aggregation, findings that were already aggregated to the aggregation /// Region are still visible from the aggregation Region. New findings and finding updates /// are not aggregated. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFindingAggregator service method.</param> /// /// <returns>The response from the DeleteFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteFindingAggregator">REST API Reference for DeleteFindingAggregator Operation</seealso> DeleteFindingAggregatorResponse DeleteFindingAggregator(DeleteFindingAggregatorRequest request); /// <summary> /// Deletes a finding aggregator. When you delete the finding aggregator, you stop finding /// aggregation. /// /// /// <para> /// When you stop finding aggregation, findings that were already aggregated to the aggregation /// Region are still visible from the aggregation Region. New findings and finding updates /// are not aggregated. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteFindingAggregator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteFindingAggregator">REST API Reference for DeleteFindingAggregator Operation</seealso> Task<DeleteFindingAggregatorResponse> DeleteFindingAggregatorAsync(DeleteFindingAggregatorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteInsight /// <summary> /// Deletes the insight specified by the <code>InsightArn</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInsight service method.</param> /// /// <returns>The response from the DeleteInsight service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight">REST API Reference for DeleteInsight Operation</seealso> DeleteInsightResponse DeleteInsight(DeleteInsightRequest request); /// <summary> /// Deletes the insight specified by the <code>InsightArn</code>. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInsight service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteInsight service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInsight">REST API Reference for DeleteInsight Operation</seealso> Task<DeleteInsightResponse> DeleteInsightAsync(DeleteInsightRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteInvitations /// <summary> /// Deletes invitations received by the Amazon Web Services account to become a member /// account. /// /// /// <para> /// A Security Hub administrator account can use this operation to delete invitations /// sent to one or more member accounts. /// </para> /// /// <para> /// This operation is only used to delete invitations that are sent to member accounts /// that aren't part of an organization. Organization accounts don't receive invitations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInvitations service method.</param> /// /// <returns>The response from the DeleteInvitations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations">REST API Reference for DeleteInvitations Operation</seealso> DeleteInvitationsResponse DeleteInvitations(DeleteInvitationsRequest request); /// <summary> /// Deletes invitations received by the Amazon Web Services account to become a member /// account. /// /// /// <para> /// A Security Hub administrator account can use this operation to delete invitations /// sent to one or more member accounts. /// </para> /// /// <para> /// This operation is only used to delete invitations that are sent to member accounts /// that aren't part of an organization. Organization accounts don't receive invitations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteInvitations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteInvitations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteInvitations">REST API Reference for DeleteInvitations Operation</seealso> Task<DeleteInvitationsResponse> DeleteInvitationsAsync(DeleteInvitationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DeleteMembers /// <summary> /// Deletes the specified member accounts from Security Hub. /// /// /// <para> /// Can be used to delete member accounts that belong to an organization as well as member /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMembers service method.</param> /// /// <returns>The response from the DeleteMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers">REST API Reference for DeleteMembers Operation</seealso> DeleteMembersResponse DeleteMembers(DeleteMembersRequest request); /// <summary> /// Deletes the specified member accounts from Security Hub. /// /// /// <para> /// Can be used to delete member accounts that belong to an organization as well as member /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeleteMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeleteMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DeleteMembers">REST API Reference for DeleteMembers Operation</seealso> Task<DeleteMembersResponse> DeleteMembersAsync(DeleteMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeActionTargets /// <summary> /// Returns a list of the custom action targets in Security Hub in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeActionTargets service method.</param> /// /// <returns>The response from the DescribeActionTargets service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets">REST API Reference for DescribeActionTargets Operation</seealso> DescribeActionTargetsResponse DescribeActionTargets(DescribeActionTargetsRequest request); /// <summary> /// Returns a list of the custom action targets in Security Hub in your account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeActionTargets service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeActionTargets service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeActionTargets">REST API Reference for DescribeActionTargets Operation</seealso> Task<DescribeActionTargetsResponse> DescribeActionTargetsAsync(DescribeActionTargetsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeHub /// <summary> /// Returns details about the Hub resource in your account, including the <code>HubArn</code> /// and the time when you enabled Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeHub service method.</param> /// /// <returns>The response from the DescribeHub service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub">REST API Reference for DescribeHub Operation</seealso> DescribeHubResponse DescribeHub(DescribeHubRequest request); /// <summary> /// Returns details about the Hub resource in your account, including the <code>HubArn</code> /// and the time when you enabled Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeHub service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeHub service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeHub">REST API Reference for DescribeHub Operation</seealso> Task<DescribeHubResponse> DescribeHubAsync(DescribeHubRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeOrganizationConfiguration /// <summary> /// Returns information about the Organizations configuration for Security Hub. Can only /// be called from a Security Hub administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.</param> /// /// <returns>The response from the DescribeOrganizationConfiguration service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> DescribeOrganizationConfigurationResponse DescribeOrganizationConfiguration(DescribeOrganizationConfigurationRequest request); /// <summary> /// Returns information about the Organizations configuration for Security Hub. Can only /// be called from a Security Hub administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeOrganizationConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeOrganizationConfiguration service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeOrganizationConfiguration">REST API Reference for DescribeOrganizationConfiguration Operation</seealso> Task<DescribeOrganizationConfigurationResponse> DescribeOrganizationConfigurationAsync(DescribeOrganizationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeProducts /// <summary> /// Returns information about product integrations in Security Hub. /// /// /// <para> /// You can optionally provide an integration ARN. If you provide an integration ARN, /// then the results only include that integration. /// </para> /// /// <para> /// If you do not provide an integration ARN, then the results include all of the available /// product integrations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeProducts service method.</param> /// /// <returns>The response from the DescribeProducts service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts">REST API Reference for DescribeProducts Operation</seealso> DescribeProductsResponse DescribeProducts(DescribeProductsRequest request); /// <summary> /// Returns information about product integrations in Security Hub. /// /// /// <para> /// You can optionally provide an integration ARN. If you provide an integration ARN, /// then the results only include that integration. /// </para> /// /// <para> /// If you do not provide an integration ARN, then the results include all of the available /// product integrations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeProducts service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeProducts service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeProducts">REST API Reference for DescribeProducts Operation</seealso> Task<DescribeProductsResponse> DescribeProductsAsync(DescribeProductsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStandards /// <summary> /// Returns a list of the available standards in Security Hub. /// /// /// <para> /// For each standard, the results include the standard ARN, the name, and a description. /// /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStandards service method.</param> /// /// <returns>The response from the DescribeStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards">REST API Reference for DescribeStandards Operation</seealso> DescribeStandardsResponse DescribeStandards(DescribeStandardsRequest request); /// <summary> /// Returns a list of the available standards in Security Hub. /// /// /// <para> /// For each standard, the results include the standard ARN, the name, and a description. /// /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStandards service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandards">REST API Reference for DescribeStandards Operation</seealso> Task<DescribeStandardsResponse> DescribeStandardsAsync(DescribeStandardsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DescribeStandardsControls /// <summary> /// Returns a list of security standards controls. /// /// /// <para> /// For each control, the results include information about whether it is currently enabled, /// the severity, and a link to remediation information. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStandardsControls service method.</param> /// /// <returns>The response from the DescribeStandardsControls service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandardsControls">REST API Reference for DescribeStandardsControls Operation</seealso> DescribeStandardsControlsResponse DescribeStandardsControls(DescribeStandardsControlsRequest request); /// <summary> /// Returns a list of security standards controls. /// /// /// <para> /// For each control, the results include information about whether it is currently enabled, /// the severity, and a link to remediation information. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DescribeStandardsControls service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DescribeStandardsControls service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DescribeStandardsControls">REST API Reference for DescribeStandardsControls Operation</seealso> Task<DescribeStandardsControlsResponse> DescribeStandardsControlsAsync(DescribeStandardsControlsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableImportFindingsForProduct /// <summary> /// Disables the integration of the specified product with Security Hub. After the integration /// is disabled, findings from that product are no longer sent to Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableImportFindingsForProduct service method.</param> /// /// <returns>The response from the DisableImportFindingsForProduct service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct">REST API Reference for DisableImportFindingsForProduct Operation</seealso> DisableImportFindingsForProductResponse DisableImportFindingsForProduct(DisableImportFindingsForProductRequest request); /// <summary> /// Disables the integration of the specified product with Security Hub. After the integration /// is disabled, findings from that product are no longer sent to Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableImportFindingsForProduct service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableImportFindingsForProduct service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableImportFindingsForProduct">REST API Reference for DisableImportFindingsForProduct Operation</seealso> Task<DisableImportFindingsForProductResponse> DisableImportFindingsForProductAsync(DisableImportFindingsForProductRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableOrganizationAdminAccount /// <summary> /// Disables a Security Hub administrator account. Can only be called by the organization /// management account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableOrganizationAdminAccount service method.</param> /// /// <returns>The response from the DisableOrganizationAdminAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableOrganizationAdminAccount">REST API Reference for DisableOrganizationAdminAccount Operation</seealso> DisableOrganizationAdminAccountResponse DisableOrganizationAdminAccount(DisableOrganizationAdminAccountRequest request); /// <summary> /// Disables a Security Hub administrator account. Can only be called by the organization /// management account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableOrganizationAdminAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableOrganizationAdminAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableOrganizationAdminAccount">REST API Reference for DisableOrganizationAdminAccount Operation</seealso> Task<DisableOrganizationAdminAccountResponse> DisableOrganizationAdminAccountAsync(DisableOrganizationAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisableSecurityHub /// <summary> /// Disables Security Hub in your account only in the current Region. To disable Security /// Hub in all Regions, you must submit one request per Region where you have enabled /// Security Hub. /// /// /// <para> /// When you disable Security Hub for an administrator account, it doesn't disable Security /// Hub for any associated member accounts. /// </para> /// /// <para> /// When you disable Security Hub, your existing findings and insights and any Security /// Hub configuration settings are deleted after 90 days and cannot be recovered. Any /// standards that were enabled are disabled, and your administrator and member account /// associations are removed. /// </para> /// /// <para> /// If you want to save your existing findings, you must export them before you disable /// Security Hub. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableSecurityHub service method.</param> /// /// <returns>The response from the DisableSecurityHub service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub">REST API Reference for DisableSecurityHub Operation</seealso> DisableSecurityHubResponse DisableSecurityHub(DisableSecurityHubRequest request); /// <summary> /// Disables Security Hub in your account only in the current Region. To disable Security /// Hub in all Regions, you must submit one request per Region where you have enabled /// Security Hub. /// /// /// <para> /// When you disable Security Hub for an administrator account, it doesn't disable Security /// Hub for any associated member accounts. /// </para> /// /// <para> /// When you disable Security Hub, your existing findings and insights and any Security /// Hub configuration settings are deleted after 90 days and cannot be recovered. Any /// standards that were enabled are disabled, and your administrator and member account /// associations are removed. /// </para> /// /// <para> /// If you want to save your existing findings, you must export them before you disable /// Security Hub. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisableSecurityHub service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisableSecurityHub service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisableSecurityHub">REST API Reference for DisableSecurityHub Operation</seealso> Task<DisableSecurityHubResponse> DisableSecurityHubAsync(DisableSecurityHubRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateFromAdministratorAccount /// <summary> /// Disassociates the current Security Hub member account from the associated administrator /// account. /// /// /// <para> /// This operation is only used by accounts that are not part of an organization. For /// organization accounts, only the administrator account can disassociate a member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFromAdministratorAccount service method.</param> /// /// <returns>The response from the DisassociateFromAdministratorAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromAdministratorAccount">REST API Reference for DisassociateFromAdministratorAccount Operation</seealso> DisassociateFromAdministratorAccountResponse DisassociateFromAdministratorAccount(DisassociateFromAdministratorAccountRequest request); /// <summary> /// Disassociates the current Security Hub member account from the associated administrator /// account. /// /// /// <para> /// This operation is only used by accounts that are not part of an organization. For /// organization accounts, only the administrator account can disassociate a member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFromAdministratorAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFromAdministratorAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromAdministratorAccount">REST API Reference for DisassociateFromAdministratorAccount Operation</seealso> Task<DisassociateFromAdministratorAccountResponse> DisassociateFromAdministratorAccountAsync(DisassociateFromAdministratorAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateFromMasterAccount /// <summary> /// This method is deprecated. Instead, use <code>DisassociateFromAdministratorAccount</code>. /// /// /// <para> /// The Security Hub console continues to use <code>DisassociateFromMasterAccount</code>. /// It will eventually change to use <code>DisassociateFromAdministratorAccount</code>. /// Any IAM policies that specifically control access to this function must continue to /// use <code>DisassociateFromMasterAccount</code>. You should also add <code>DisassociateFromAdministratorAccount</code> /// to your policies to ensure that the correct permissions are in place after the console /// begins to use <code>DisassociateFromAdministratorAccount</code>. /// </para> /// /// <para> /// Disassociates the current Security Hub member account from the associated administrator /// account. /// </para> /// /// <para> /// This operation is only used by accounts that are not part of an organization. For /// organization accounts, only the administrator account can disassociate a member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFromMasterAccount service method.</param> /// /// <returns>The response from the DisassociateFromMasterAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount">REST API Reference for DisassociateFromMasterAccount Operation</seealso> [Obsolete("This API has been deprecated, use DisassociateFromAdministratorAccount API instead.")] DisassociateFromMasterAccountResponse DisassociateFromMasterAccount(DisassociateFromMasterAccountRequest request); /// <summary> /// This method is deprecated. Instead, use <code>DisassociateFromAdministratorAccount</code>. /// /// /// <para> /// The Security Hub console continues to use <code>DisassociateFromMasterAccount</code>. /// It will eventually change to use <code>DisassociateFromAdministratorAccount</code>. /// Any IAM policies that specifically control access to this function must continue to /// use <code>DisassociateFromMasterAccount</code>. You should also add <code>DisassociateFromAdministratorAccount</code> /// to your policies to ensure that the correct permissions are in place after the console /// begins to use <code>DisassociateFromAdministratorAccount</code>. /// </para> /// /// <para> /// Disassociates the current Security Hub member account from the associated administrator /// account. /// </para> /// /// <para> /// This operation is only used by accounts that are not part of an organization. For /// organization accounts, only the administrator account can disassociate a member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateFromMasterAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateFromMasterAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateFromMasterAccount">REST API Reference for DisassociateFromMasterAccount Operation</seealso> [Obsolete("This API has been deprecated, use DisassociateFromAdministratorAccount API instead.")] Task<DisassociateFromMasterAccountResponse> DisassociateFromMasterAccountAsync(DisassociateFromMasterAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region DisassociateMembers /// <summary> /// Disassociates the specified member accounts from the associated administrator account. /// /// /// <para> /// Can be used to disassociate both accounts that are managed using Organizations and /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateMembers service method.</param> /// /// <returns>The response from the DisassociateMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers">REST API Reference for DisassociateMembers Operation</seealso> DisassociateMembersResponse DisassociateMembers(DisassociateMembersRequest request); /// <summary> /// Disassociates the specified member accounts from the associated administrator account. /// /// /// <para> /// Can be used to disassociate both accounts that are managed using Organizations and /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the DisassociateMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DisassociateMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/DisassociateMembers">REST API Reference for DisassociateMembers Operation</seealso> Task<DisassociateMembersResponse> DisassociateMembersAsync(DisassociateMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableImportFindingsForProduct /// <summary> /// Enables the integration of a partner product with Security Hub. Integrated products /// send findings to Security Hub. /// /// /// <para> /// When you enable a product integration, a permissions policy that grants permission /// for the product to send findings to Security Hub is applied. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableImportFindingsForProduct service method.</param> /// /// <returns>The response from the EnableImportFindingsForProduct service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct">REST API Reference for EnableImportFindingsForProduct Operation</seealso> EnableImportFindingsForProductResponse EnableImportFindingsForProduct(EnableImportFindingsForProductRequest request); /// <summary> /// Enables the integration of a partner product with Security Hub. Integrated products /// send findings to Security Hub. /// /// /// <para> /// When you enable a product integration, a permissions policy that grants permission /// for the product to send findings to Security Hub is applied. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableImportFindingsForProduct service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableImportFindingsForProduct service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableImportFindingsForProduct">REST API Reference for EnableImportFindingsForProduct Operation</seealso> Task<EnableImportFindingsForProductResponse> EnableImportFindingsForProductAsync(EnableImportFindingsForProductRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableOrganizationAdminAccount /// <summary> /// Designates the Security Hub administrator account for an organization. Can only be /// called by the organization management account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableOrganizationAdminAccount service method.</param> /// /// <returns>The response from the EnableOrganizationAdminAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableOrganizationAdminAccount">REST API Reference for EnableOrganizationAdminAccount Operation</seealso> EnableOrganizationAdminAccountResponse EnableOrganizationAdminAccount(EnableOrganizationAdminAccountRequest request); /// <summary> /// Designates the Security Hub administrator account for an organization. Can only be /// called by the organization management account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableOrganizationAdminAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableOrganizationAdminAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableOrganizationAdminAccount">REST API Reference for EnableOrganizationAdminAccount Operation</seealso> Task<EnableOrganizationAdminAccountResponse> EnableOrganizationAdminAccountAsync(EnableOrganizationAdminAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region EnableSecurityHub /// <summary> /// Enables Security Hub for your account in the current Region or the Region you specify /// in the request. /// /// /// <para> /// When you enable Security Hub, you grant to Security Hub the permissions necessary /// to gather findings from other services that are integrated with Security Hub. /// </para> /// /// <para> /// When you use the <code>EnableSecurityHub</code> operation to enable Security Hub, /// you also automatically enable the following standards: /// </para> /// <ul> <li> /// <para> /// Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark v1.2.0 /// </para> /// </li> <li> /// <para> /// Amazon Web Services Foundational Security Best Practices /// </para> /// </li> </ul> /// <para> /// Other standards are not automatically enabled. /// </para> /// /// <para> /// To opt out of automatically enabled standards, set <code>EnableDefaultStandards</code> /// to <code>false</code>. /// </para> /// /// <para> /// After you enable Security Hub, to enable a standard, use the <code>BatchEnableStandards</code> /// operation. To disable a standard, use the <code>BatchDisableStandards</code> operation. /// </para> /// /// <para> /// To learn more, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html">setup /// information</a> in the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableSecurityHub service method.</param> /// /// <returns>The response from the EnableSecurityHub service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub">REST API Reference for EnableSecurityHub Operation</seealso> EnableSecurityHubResponse EnableSecurityHub(EnableSecurityHubRequest request); /// <summary> /// Enables Security Hub for your account in the current Region or the Region you specify /// in the request. /// /// /// <para> /// When you enable Security Hub, you grant to Security Hub the permissions necessary /// to gather findings from other services that are integrated with Security Hub. /// </para> /// /// <para> /// When you use the <code>EnableSecurityHub</code> operation to enable Security Hub, /// you also automatically enable the following standards: /// </para> /// <ul> <li> /// <para> /// Center for Internet Security (CIS) Amazon Web Services Foundations Benchmark v1.2.0 /// </para> /// </li> <li> /// <para> /// Amazon Web Services Foundational Security Best Practices /// </para> /// </li> </ul> /// <para> /// Other standards are not automatically enabled. /// </para> /// /// <para> /// To opt out of automatically enabled standards, set <code>EnableDefaultStandards</code> /// to <code>false</code>. /// </para> /// /// <para> /// After you enable Security Hub, to enable a standard, use the <code>BatchEnableStandards</code> /// operation. To disable a standard, use the <code>BatchDisableStandards</code> operation. /// </para> /// /// <para> /// To learn more, see the <a href="https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-settingup.html">setup /// information</a> in the <i>Security Hub User Guide</i>. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the EnableSecurityHub service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the EnableSecurityHub service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceConflictException"> /// The resource specified in the request conflicts with an existing resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHub">REST API Reference for EnableSecurityHub Operation</seealso> Task<EnableSecurityHubResponse> EnableSecurityHubAsync(EnableSecurityHubRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetAdministratorAccount /// <summary> /// Provides the details for the Security Hub administrator account for the current member /// account. /// /// /// <para> /// Can be used by both member accounts that are managed using Organizations and accounts /// that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAdministratorAccount service method.</param> /// /// <returns>The response from the GetAdministratorAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetAdministratorAccount">REST API Reference for GetAdministratorAccount Operation</seealso> GetAdministratorAccountResponse GetAdministratorAccount(GetAdministratorAccountRequest request); /// <summary> /// Provides the details for the Security Hub administrator account for the current member /// account. /// /// /// <para> /// Can be used by both member accounts that are managed using Organizations and accounts /// that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetAdministratorAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetAdministratorAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetAdministratorAccount">REST API Reference for GetAdministratorAccount Operation</seealso> Task<GetAdministratorAccountResponse> GetAdministratorAccountAsync(GetAdministratorAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetEnabledStandards /// <summary> /// Returns a list of the standards that are currently enabled. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnabledStandards service method.</param> /// /// <returns>The response from the GetEnabledStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards">REST API Reference for GetEnabledStandards Operation</seealso> GetEnabledStandardsResponse GetEnabledStandards(GetEnabledStandardsRequest request); /// <summary> /// Returns a list of the standards that are currently enabled. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetEnabledStandards service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetEnabledStandards service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetEnabledStandards">REST API Reference for GetEnabledStandards Operation</seealso> Task<GetEnabledStandardsResponse> GetEnabledStandardsAsync(GetEnabledStandardsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindingAggregator /// <summary> /// Returns the current finding aggregation configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingAggregator service method.</param> /// /// <returns>The response from the GetFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingAggregator">REST API Reference for GetFindingAggregator Operation</seealso> GetFindingAggregatorResponse GetFindingAggregator(GetFindingAggregatorRequest request); /// <summary> /// Returns the current finding aggregation configuration. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingAggregator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingAggregator">REST API Reference for GetFindingAggregator Operation</seealso> Task<GetFindingAggregatorResponse> GetFindingAggregatorAsync(GetFindingAggregatorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindingHistory /// <summary> /// Returns history for a Security Hub finding in the last 90 days. The history includes /// changes made to any fields in the Amazon Web Services Security Finding Format (ASFF). /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingHistory service method.</param> /// /// <returns>The response from the GetFindingHistory service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingHistory">REST API Reference for GetFindingHistory Operation</seealso> GetFindingHistoryResponse GetFindingHistory(GetFindingHistoryRequest request); /// <summary> /// Returns history for a Security Hub finding in the last 90 days. The history includes /// changes made to any fields in the Amazon Web Services Security Finding Format (ASFF). /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindingHistory service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetFindingHistory service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindingHistory">REST API Reference for GetFindingHistory Operation</seealso> Task<GetFindingHistoryResponse> GetFindingHistoryAsync(GetFindingHistoryRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetFindings /// <summary> /// Returns a list of findings that match the specified criteria. /// /// /// <para> /// If finding aggregation is enabled, then when you call <code>GetFindings</code> from /// the aggregation Region, the results include all of the matching findings from both /// the aggregation Region and the linked Regions. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindings service method.</param> /// /// <returns>The response from the GetFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings">REST API Reference for GetFindings Operation</seealso> GetFindingsResponse GetFindings(GetFindingsRequest request); /// <summary> /// Returns a list of findings that match the specified criteria. /// /// /// <para> /// If finding aggregation is enabled, then when you call <code>GetFindings</code> from /// the aggregation Region, the results include all of the matching findings from both /// the aggregation Region and the linked Regions. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetFindings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetFindings">REST API Reference for GetFindings Operation</seealso> Task<GetFindingsResponse> GetFindingsAsync(GetFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInsightResults /// <summary> /// Lists the results of the Security Hub insight specified by the insight ARN. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInsightResults service method.</param> /// /// <returns>The response from the GetInsightResults service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults">REST API Reference for GetInsightResults Operation</seealso> GetInsightResultsResponse GetInsightResults(GetInsightResultsRequest request); /// <summary> /// Lists the results of the Security Hub insight specified by the insight ARN. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInsightResults service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetInsightResults service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsightResults">REST API Reference for GetInsightResults Operation</seealso> Task<GetInsightResultsResponse> GetInsightResultsAsync(GetInsightResultsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInsights /// <summary> /// Lists and describes insights for the specified insight ARNs. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param> /// /// <returns>The response from the GetInsights service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights">REST API Reference for GetInsights Operation</seealso> GetInsightsResponse GetInsights(GetInsightsRequest request); /// <summary> /// Lists and describes insights for the specified insight ARNs. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInsights service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetInsights service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInsights">REST API Reference for GetInsights Operation</seealso> Task<GetInsightsResponse> GetInsightsAsync(GetInsightsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetInvitationsCount /// <summary> /// Returns the count of all Security Hub membership invitations that were sent to the /// current member account, not including the currently accepted invitation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInvitationsCount service method.</param> /// /// <returns>The response from the GetInvitationsCount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount">REST API Reference for GetInvitationsCount Operation</seealso> GetInvitationsCountResponse GetInvitationsCount(GetInvitationsCountRequest request); /// <summary> /// Returns the count of all Security Hub membership invitations that were sent to the /// current member account, not including the currently accepted invitation. /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetInvitationsCount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetInvitationsCount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetInvitationsCount">REST API Reference for GetInvitationsCount Operation</seealso> Task<GetInvitationsCountResponse> GetInvitationsCountAsync(GetInvitationsCountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMasterAccount /// <summary> /// This method is deprecated. Instead, use <code>GetAdministratorAccount</code>. /// /// /// <para> /// The Security Hub console continues to use <code>GetMasterAccount</code>. It will eventually /// change to use <code>GetAdministratorAccount</code>. Any IAM policies that specifically /// control access to this function must continue to use <code>GetMasterAccount</code>. /// You should also add <code>GetAdministratorAccount</code> to your policies to ensure /// that the correct permissions are in place after the console begins to use <code>GetAdministratorAccount</code>. /// </para> /// /// <para> /// Provides the details for the Security Hub administrator account for the current member /// account. /// </para> /// /// <para> /// Can be used by both member accounts that are managed using Organizations and accounts /// that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMasterAccount service method.</param> /// /// <returns>The response from the GetMasterAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount">REST API Reference for GetMasterAccount Operation</seealso> [Obsolete("This API has been deprecated, use GetAdministratorAccount API instead.")] GetMasterAccountResponse GetMasterAccount(GetMasterAccountRequest request); /// <summary> /// This method is deprecated. Instead, use <code>GetAdministratorAccount</code>. /// /// /// <para> /// The Security Hub console continues to use <code>GetMasterAccount</code>. It will eventually /// change to use <code>GetAdministratorAccount</code>. Any IAM policies that specifically /// control access to this function must continue to use <code>GetMasterAccount</code>. /// You should also add <code>GetAdministratorAccount</code> to your policies to ensure /// that the correct permissions are in place after the console begins to use <code>GetAdministratorAccount</code>. /// </para> /// /// <para> /// Provides the details for the Security Hub administrator account for the current member /// account. /// </para> /// /// <para> /// Can be used by both member accounts that are managed using Organizations and accounts /// that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMasterAccount service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMasterAccount service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMasterAccount">REST API Reference for GetMasterAccount Operation</seealso> [Obsolete("This API has been deprecated, use GetAdministratorAccount API instead.")] Task<GetMasterAccountResponse> GetMasterAccountAsync(GetMasterAccountRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region GetMembers /// <summary> /// Returns the details for the Security Hub member accounts for the specified account /// IDs. /// /// /// <para> /// An administrator account can be either the delegated Security Hub administrator account /// for an organization or an administrator account that enabled Security Hub manually. /// </para> /// /// <para> /// The results include both member accounts that are managed using Organizations and /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMembers service method.</param> /// /// <returns>The response from the GetMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers">REST API Reference for GetMembers Operation</seealso> GetMembersResponse GetMembers(GetMembersRequest request); /// <summary> /// Returns the details for the Security Hub member accounts for the specified account /// IDs. /// /// /// <para> /// An administrator account can be either the delegated Security Hub administrator account /// for an organization or an administrator account that enabled Security Hub manually. /// </para> /// /// <para> /// The results include both member accounts that are managed using Organizations and /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the GetMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the GetMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/GetMembers">REST API Reference for GetMembers Operation</seealso> Task<GetMembersResponse> GetMembersAsync(GetMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region InviteMembers /// <summary> /// Invites other Amazon Web Services accounts to become member accounts for the Security /// Hub administrator account that the invitation is sent from. /// /// /// <para> /// This operation is only used to invite accounts that do not belong to an organization. /// Organization accounts do not receive invitations. /// </para> /// /// <para> /// Before you can use this action to invite a member, you must first use the <code>CreateMembers</code> /// action to create the member account in Security Hub. /// </para> /// /// <para> /// When the account owner enables Security Hub and accepts the invitation to become a /// member account, the administrator account can view the findings generated from the /// member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the InviteMembers service method.</param> /// /// <returns>The response from the InviteMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers">REST API Reference for InviteMembers Operation</seealso> InviteMembersResponse InviteMembers(InviteMembersRequest request); /// <summary> /// Invites other Amazon Web Services accounts to become member accounts for the Security /// Hub administrator account that the invitation is sent from. /// /// /// <para> /// This operation is only used to invite accounts that do not belong to an organization. /// Organization accounts do not receive invitations. /// </para> /// /// <para> /// Before you can use this action to invite a member, you must first use the <code>CreateMembers</code> /// action to create the member account in Security Hub. /// </para> /// /// <para> /// When the account owner enables Security Hub and accepts the invitation to become a /// member account, the administrator account can view the findings generated from the /// member account. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the InviteMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the InviteMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/InviteMembers">REST API Reference for InviteMembers Operation</seealso> Task<InviteMembersResponse> InviteMembersAsync(InviteMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListAutomationRules /// <summary> /// A list of automation rules and their metadata for the calling account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAutomationRules service method.</param> /// /// <returns>The response from the ListAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListAutomationRules">REST API Reference for ListAutomationRules Operation</seealso> ListAutomationRulesResponse ListAutomationRules(ListAutomationRulesRequest request); /// <summary> /// A list of automation rules and their metadata for the calling account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListAutomationRules service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListAutomationRules service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListAutomationRules">REST API Reference for ListAutomationRules Operation</seealso> Task<ListAutomationRulesResponse> ListAutomationRulesAsync(ListAutomationRulesRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListEnabledProductsForImport /// <summary> /// Lists all findings-generating solutions (products) that you are subscribed to receive /// findings from in Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnabledProductsForImport service method.</param> /// /// <returns>The response from the ListEnabledProductsForImport service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport">REST API Reference for ListEnabledProductsForImport Operation</seealso> ListEnabledProductsForImportResponse ListEnabledProductsForImport(ListEnabledProductsForImportRequest request); /// <summary> /// Lists all findings-generating solutions (products) that you are subscribed to receive /// findings from in Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListEnabledProductsForImport service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListEnabledProductsForImport service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListEnabledProductsForImport">REST API Reference for ListEnabledProductsForImport Operation</seealso> Task<ListEnabledProductsForImportResponse> ListEnabledProductsForImportAsync(ListEnabledProductsForImportRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListFindingAggregators /// <summary> /// If finding aggregation is enabled, then <code>ListFindingAggregators</code> returns /// the ARN of the finding aggregator. You can run this operation from any Region. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindingAggregators service method.</param> /// /// <returns>The response from the ListFindingAggregators service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFindingAggregators">REST API Reference for ListFindingAggregators Operation</seealso> ListFindingAggregatorsResponse ListFindingAggregators(ListFindingAggregatorsRequest request); /// <summary> /// If finding aggregation is enabled, then <code>ListFindingAggregators</code> returns /// the ARN of the finding aggregator. You can run this operation from any Region. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListFindingAggregators service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListFindingAggregators service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListFindingAggregators">REST API Reference for ListFindingAggregators Operation</seealso> Task<ListFindingAggregatorsResponse> ListFindingAggregatorsAsync(ListFindingAggregatorsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListInvitations /// <summary> /// Lists all Security Hub membership invitations that were sent to the current Amazon /// Web Services account. /// /// /// <para> /// This operation is only used by accounts that are managed by invitation. Accounts that /// are managed using the integration with Organizations do not receive invitations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListInvitations service method.</param> /// /// <returns>The response from the ListInvitations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations">REST API Reference for ListInvitations Operation</seealso> ListInvitationsResponse ListInvitations(ListInvitationsRequest request); /// <summary> /// Lists all Security Hub membership invitations that were sent to the current Amazon /// Web Services account. /// /// /// <para> /// This operation is only used by accounts that are managed by invitation. Accounts that /// are managed using the integration with Organizations do not receive invitations. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListInvitations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListInvitations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListInvitations">REST API Reference for ListInvitations Operation</seealso> Task<ListInvitationsResponse> ListInvitationsAsync(ListInvitationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListMembers /// <summary> /// Lists details about all member accounts for the current Security Hub administrator /// account. /// /// /// <para> /// The results include both member accounts that belong to an organization and member /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param> /// /// <returns>The response from the ListMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers">REST API Reference for ListMembers Operation</seealso> ListMembersResponse ListMembers(ListMembersRequest request); /// <summary> /// Lists details about all member accounts for the current Security Hub administrator /// account. /// /// /// <para> /// The results include both member accounts that belong to an organization and member /// accounts that were invited manually. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListMembers service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListMembers service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListMembers">REST API Reference for ListMembers Operation</seealso> Task<ListMembersResponse> ListMembersAsync(ListMembersRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListOrganizationAdminAccounts /// <summary> /// Lists the Security Hub administrator accounts. Can only be called by the organization /// management account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListOrganizationAdminAccounts service method.</param> /// /// <returns>The response from the ListOrganizationAdminAccounts service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListOrganizationAdminAccounts">REST API Reference for ListOrganizationAdminAccounts Operation</seealso> ListOrganizationAdminAccountsResponse ListOrganizationAdminAccounts(ListOrganizationAdminAccountsRequest request); /// <summary> /// Lists the Security Hub administrator accounts. Can only be called by the organization /// management account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListOrganizationAdminAccounts service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListOrganizationAdminAccounts service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListOrganizationAdminAccounts">REST API Reference for ListOrganizationAdminAccounts Operation</seealso> Task<ListOrganizationAdminAccountsResponse> ListOrganizationAdminAccountsAsync(ListOrganizationAdminAccountsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListSecurityControlDefinitions /// <summary> /// Lists all of the security controls that apply to a specified standard. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSecurityControlDefinitions service method.</param> /// /// <returns>The response from the ListSecurityControlDefinitions service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListSecurityControlDefinitions">REST API Reference for ListSecurityControlDefinitions Operation</seealso> ListSecurityControlDefinitionsResponse ListSecurityControlDefinitions(ListSecurityControlDefinitionsRequest request); /// <summary> /// Lists all of the security controls that apply to a specified standard. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListSecurityControlDefinitions service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListSecurityControlDefinitions service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListSecurityControlDefinitions">REST API Reference for ListSecurityControlDefinitions Operation</seealso> Task<ListSecurityControlDefinitionsResponse> ListSecurityControlDefinitionsAsync(ListSecurityControlDefinitionsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListStandardsControlAssociations /// <summary> /// Specifies whether a control is currently enabled or disabled in each enabled standard /// in the calling account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListStandardsControlAssociations service method.</param> /// /// <returns>The response from the ListStandardsControlAssociations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListStandardsControlAssociations">REST API Reference for ListStandardsControlAssociations Operation</seealso> ListStandardsControlAssociationsResponse ListStandardsControlAssociations(ListStandardsControlAssociationsRequest request); /// <summary> /// Specifies whether a control is currently enabled or disabled in each enabled standard /// in the calling account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListStandardsControlAssociations service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListStandardsControlAssociations service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListStandardsControlAssociations">REST API Reference for ListStandardsControlAssociations Operation</seealso> Task<ListStandardsControlAssociationsResponse> ListStandardsControlAssociationsAsync(ListStandardsControlAssociationsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region ListTagsForResource /// <summary> /// Returns a list of tags associated with a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// /// <returns>The response from the ListTagsForResource service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// <summary> /// Returns a list of tags associated with a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the ListTagsForResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the ListTagsForResource service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/ListTagsForResource">REST API Reference for ListTagsForResource Operation</seealso> Task<ListTagsForResourceResponse> ListTagsForResourceAsync(ListTagsForResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region TagResource /// <summary> /// Adds one or more tags to a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// /// <returns>The response from the TagResource service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResource">REST API Reference for TagResource Operation</seealso> TagResourceResponse TagResource(TagResourceRequest request); /// <summary> /// Adds one or more tags to a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the TagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the TagResource service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/TagResource">REST API Reference for TagResource Operation</seealso> Task<TagResourceResponse> TagResourceAsync(TagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UntagResource /// <summary> /// Removes one or more tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// /// <returns>The response from the UntagResource service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResource">REST API Reference for UntagResource Operation</seealso> UntagResourceResponse UntagResource(UntagResourceRequest request); /// <summary> /// Removes one or more tags from a resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UntagResource service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UntagResource service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UntagResource">REST API Reference for UntagResource Operation</seealso> Task<UntagResourceResponse> UntagResourceAsync(UntagResourceRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateActionTarget /// <summary> /// Updates the name and description of a custom action target in Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateActionTarget service method.</param> /// /// <returns>The response from the UpdateActionTarget service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTarget">REST API Reference for UpdateActionTarget Operation</seealso> UpdateActionTargetResponse UpdateActionTarget(UpdateActionTargetRequest request); /// <summary> /// Updates the name and description of a custom action target in Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateActionTarget service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateActionTarget service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateActionTarget">REST API Reference for UpdateActionTarget Operation</seealso> Task<UpdateActionTargetResponse> UpdateActionTargetAsync(UpdateActionTargetRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFindingAggregator /// <summary> /// Updates the finding aggregation configuration. Used to update the Region linking mode /// and the list of included or excluded Regions. You cannot use <code>UpdateFindingAggregator</code> /// to change the aggregation Region. /// /// /// <para> /// You must run <code>UpdateFindingAggregator</code> from the current aggregation Region. /// /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFindingAggregator service method.</param> /// /// <returns>The response from the UpdateFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingAggregator">REST API Reference for UpdateFindingAggregator Operation</seealso> UpdateFindingAggregatorResponse UpdateFindingAggregator(UpdateFindingAggregatorRequest request); /// <summary> /// Updates the finding aggregation configuration. Used to update the Region linking mode /// and the list of included or excluded Regions. You cannot use <code>UpdateFindingAggregator</code> /// to change the aggregation Region. /// /// /// <para> /// You must run <code>UpdateFindingAggregator</code> from the current aggregation Region. /// /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFindingAggregator service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFindingAggregator service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.AccessDeniedException"> /// You don't have permission to perform the action specified in the request. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindingAggregator">REST API Reference for UpdateFindingAggregator Operation</seealso> Task<UpdateFindingAggregatorResponse> UpdateFindingAggregatorAsync(UpdateFindingAggregatorRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateFindings /// <summary> /// <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, /// use <code>BatchUpdateFindings</code>. /// /// /// <para> /// Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated /// findings that the filter attributes specify. Any member account that can view the /// finding also sees the update to the finding. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFindings service method.</param> /// /// <returns>The response from the UpdateFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindings">REST API Reference for UpdateFindings Operation</seealso> UpdateFindingsResponse UpdateFindings(UpdateFindingsRequest request); /// <summary> /// <code>UpdateFindings</code> is deprecated. Instead of <code>UpdateFindings</code>, /// use <code>BatchUpdateFindings</code>. /// /// /// <para> /// Updates the <code>Note</code> and <code>RecordState</code> of the Security Hub-aggregated /// findings that the filter attributes specify. Any member account that can view the /// finding also sees the update to the finding. /// </para> /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateFindings service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateFindings service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateFindings">REST API Reference for UpdateFindings Operation</seealso> Task<UpdateFindingsResponse> UpdateFindingsAsync(UpdateFindingsRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateInsight /// <summary> /// Updates the Security Hub insight identified by the specified insight ARN. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateInsight service method.</param> /// /// <returns>The response from the UpdateInsight service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsight">REST API Reference for UpdateInsight Operation</seealso> UpdateInsightResponse UpdateInsight(UpdateInsightRequest request); /// <summary> /// Updates the Security Hub insight identified by the specified insight ARN. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateInsight service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateInsight service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateInsight">REST API Reference for UpdateInsight Operation</seealso> Task<UpdateInsightResponse> UpdateInsightAsync(UpdateInsightRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateOrganizationConfiguration /// <summary> /// Used to update the configuration related to Organizations. Can only be called from /// a Security Hub administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.</param> /// /// <returns>The response from the UpdateOrganizationConfiguration service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> UpdateOrganizationConfigurationResponse UpdateOrganizationConfiguration(UpdateOrganizationConfigurationRequest request); /// <summary> /// Used to update the configuration related to Organizations. Can only be called from /// a Security Hub administrator account. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateOrganizationConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateOrganizationConfiguration service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateOrganizationConfiguration">REST API Reference for UpdateOrganizationConfiguration Operation</seealso> Task<UpdateOrganizationConfigurationResponse> UpdateOrganizationConfigurationAsync(UpdateOrganizationConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateSecurityHubConfiguration /// <summary> /// Updates configuration options for Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateSecurityHubConfiguration service method.</param> /// /// <returns>The response from the UpdateSecurityHubConfiguration service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateSecurityHubConfiguration">REST API Reference for UpdateSecurityHubConfiguration Operation</seealso> UpdateSecurityHubConfigurationResponse UpdateSecurityHubConfiguration(UpdateSecurityHubConfigurationRequest request); /// <summary> /// Updates configuration options for Security Hub. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateSecurityHubConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateSecurityHubConfiguration service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.LimitExceededException"> /// The request was rejected because it attempted to create resources beyond the current /// Amazon Web Services account or throttling limits. The error code describes the limit /// exceeded. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateSecurityHubConfiguration">REST API Reference for UpdateSecurityHubConfiguration Operation</seealso> Task<UpdateSecurityHubConfigurationResponse> UpdateSecurityHubConfigurationAsync(UpdateSecurityHubConfigurationRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion #region UpdateStandardsControl /// <summary> /// Used to control whether an individual security standard control is enabled or disabled. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStandardsControl service method.</param> /// /// <returns>The response from the UpdateStandardsControl service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateStandardsControl">REST API Reference for UpdateStandardsControl Operation</seealso> UpdateStandardsControlResponse UpdateStandardsControl(UpdateStandardsControlRequest request); /// <summary> /// Used to control whether an individual security standard control is enabled or disabled. /// </summary> /// <param name="request">Container for the necessary parameters to execute the UpdateStandardsControl service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the UpdateStandardsControl service method, as returned by SecurityHub.</returns> /// <exception cref="Amazon.SecurityHub.Model.InternalException"> /// Internal server error. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidAccessException"> /// The account doesn't have permission to perform this action. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.InvalidInputException"> /// The request was rejected because you supplied an invalid or out-of-range value for /// an input parameter. /// </exception> /// <exception cref="Amazon.SecurityHub.Model.ResourceNotFoundException"> /// The request was rejected because we can't find the specified resource. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/UpdateStandardsControl">REST API Reference for UpdateStandardsControl Operation</seealso> Task<UpdateStandardsControlResponse> UpdateStandardsControlAsync(UpdateStandardsControlRequest request, CancellationToken cancellationToken = default(CancellationToken)); #endregion } }