Skip to content

describe_export_configurations async

describe_export_configurations(
    *,
    config_overrides: Optional[AsyncApplicationDiscoveryServiceClientConfig] = None,
    export_ids: Optional[ExportIds] = None,
    max_results: Optional[Integer] = None,
    next_token: Optional[NextToken] = None,
) -> DescribeExportConfigurationsResponse

DescribeExportConfigurations is deprecated. Use DescribeExportTasks, instead.

Parameters:

  • export_ids (Optional[ExportIds], default: None ) –

    A list of continuous export IDs to search for.

  • max_results (Optional[Integer], default: None ) –

    A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.

  • next_token (Optional[NextToken], default: None ) –

    The token from the previous call to describe-export-tasks.

Raises:

Source code in docs_src/capo_application_discovery_service/_services/async_application_discovery_service.py
async def describe_export_configurations(
    self,
    *,
    config_overrides: Optional[AsyncApplicationDiscoveryServiceClientConfig] = None,
    export_ids: Optional[
        "capo_application_discovery_service.types.export_ids.ExportIds"
    ] = None,
    max_results: Optional[
        "capo_application_discovery_service.types.integer.Integer"
    ] = None,
    next_token: Optional[
        "capo_application_discovery_service.types.next_token.NextToken"
    ] = None,
) -> "capo_application_discovery_service.types.describe_export_configurations_response.DescribeExportConfigurationsResponse":
    """<p> <code>DescribeExportConfigurations</code> is deprecated. Use <a href="https://docs.aws.amazon.com/application-discovery/latest/APIReference/API_DescribeExportTasks.html">DescribeExportTasks</a>, instead.</p>

    Args:
        export_ids: <p>A list of continuous export IDs to search for.</p>
        max_results: <p>A number between 1 and 100 specifying the maximum number of continuous export descriptions returned.</p>
        next_token: <p>The token from the previous call to describe-export-tasks.</p>

    Raises:
        capo_application_discovery_service.errors.authorization_error_exception.AuthorizationErrorException: <p>The user does not have permission to perform the action. Check the IAM policy associated with this user.</p>
        capo_application_discovery_service.errors.home_region_not_set_exception.HomeRegionNotSetException: <p>The home Region is not set. Set the home Region to continue.</p>
        capo_application_discovery_service.errors.invalid_parameter_exception.InvalidParameterException: <p>One or more parameters are not valid. Verify the parameters and try again.</p>
        capo_application_discovery_service.errors.invalid_parameter_value_exception.InvalidParameterValueException: <p>The value of one or more parameters are either invalid or out of range. Verify the parameter values and try again.</p>
        capo_application_discovery_service.errors.resource_not_found_exception.ResourceNotFoundException: <p>The specified configuration ID was not located. Verify the configuration ID and try again.</p>
        capo_application_discovery_service.errors.server_internal_error_exception.ServerInternalErrorException: <p>The server experienced an internal error. Try again.</p>
        capo_application_discovery_service.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    async def _handler(
        req: "AsyncOperationRequest[capo_application_discovery_service.types.describe_export_configurations_request.DescribeExportConfigurationsRequest]",
    ) -> AsyncOperationResponse[
        "capo_application_discovery_service.types.describe_export_configurations_response.DescribeExportConfigurationsResponse"
    ]:
        import capo_application_discovery_service._operations.aws_poseidon_service_v2015_11_01.describe_export_configurations

        (
            output,
            http_response,
        ) = await capo_application_discovery_service._operations.aws_poseidon_service_v2015_11_01.describe_export_configurations.async_describe_export_configurations(
            req.options, req.input
        )
        return AsyncOperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DescribeExportConfigurations")
    )
    input_: capo_application_discovery_service.types.describe_export_configurations_request.DescribeExportConfigurationsRequest = {}
    if export_ids is not None:
        input_["export_ids"] = export_ids
    if max_results is not None:
        input_["max_results"] = max_results
    if next_token is not None:
        input_["next_token"] = next_token

    response = await aexecute_pipeline(
        AsyncOperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    await response.response.aclose()
    return response.output