list_connector_scan_configurations
async
¶
list_connector_scan_configurations(
*,
config_overrides: Optional[AsyncInspector2ClientConfig] = None,
aws_config_connector_arns: Optional[AwsConfigConnectorArnList] = None,
max_results: Optional[ListConnectorScanConfigurationsMaxResults] = None,
next_token: Optional[ConnectorNextToken] = None,
) -> ListConnectorScanConfigurationsResponse
Lists scan configurations for Amazon Web Services Config connectors. Results are paginated. Use the nextToken parameter to retrieve the next page of results.
Parameters:
-
aws_config_connector_arns(Optional[AwsConfigConnectorArnList], default:None) –The list of Amazon Web Services Config connector ARNs to filter results.
-
max_results(Optional[ListConnectorScanConfigurationsMaxResults], default:None) –The maximum number of results to return in a single call. Valid range is 1 to 50. To retrieve the remaining results, make another request with the
nextTokenvalue returned from this request. -
next_token(Optional[ConnectorNextToken], default:None) –A token to use for paginating results. Set this value to null for the first request. For subsequent calls, use the
nextTokenvalue returned from the previous request.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
For
Enable, you receive this error if you attempt to use a feature in an unsupported Amazon Web Services Region. -
InternalServerException–The request has failed due to an internal failure of the Amazon Inspector service.
-
ThrottlingException–The limit on the number of requests per second was exceeded.
-
ValidationException–The request has failed validation due to missing required fields or having invalid inputs.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
List scan configurations for a specific AWS Config connector
>>> await client.list_connector_scan_configurations(aws_config_connector_arns=['arn:aws:config:us-east-1:123456789012:connector/azure/a7bc5463-04ce-4b52-901e-f26f7292a4a7/2fbed4bd-5b95-4947-a751-8defc76ecdae'], max_results=10)
Source code in docs_src/capo_inspector2/_services/async_inspector2.py
3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 | |