Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call DescribeContinuousExports as is without passing any parameters.
Parameters:
Raises:
Source code in docs_src/capo_application_discovery_service/_services/application_discovery_service.py
| def describe_continuous_exports(
self,
*,
config_overrides: Optional[ApplicationDiscoveryServiceClientConfig] = None,
export_ids: Optional[
"capo_application_discovery_service.types.continuous_export_ids.ContinuousExportIds"
] = None,
max_results: Optional[
"capo_application_discovery_service.types.describe_continuous_exports_max_results.DescribeContinuousExportsMaxResults"
] = None,
next_token: Optional[
"capo_application_discovery_service.types.next_token.NextToken"
] = None,
) -> "capo_application_discovery_service.types.describe_continuous_exports_response.DescribeContinuousExportsResponse":
"""<p>Lists exports as specified by ID. All continuous exports associated with your user can be listed if you call <code>DescribeContinuousExports</code> as is without passing any parameters.</p>
Args:
export_ids: <p>The unique IDs assigned to the exports.</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 <code>DescribeExportTasks</code>.</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.operation_not_permitted_exception.OperationNotPermittedException: <p>This operation is not permitted.</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.
"""
def _handler(
req: "OperationRequest[capo_application_discovery_service.types.describe_continuous_exports_request.DescribeContinuousExportsRequest]",
) -> OperationResponse[
"capo_application_discovery_service.types.describe_continuous_exports_response.DescribeContinuousExportsResponse"
]:
import capo_application_discovery_service._operations.aws_poseidon_service_v2015_11_01.describe_continuous_exports
output, http_response = (
capo_application_discovery_service._operations.aws_poseidon_service_v2015_11_01.describe_continuous_exports.describe_continuous_exports(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("DescribeContinuousExports")
)
input_: capo_application_discovery_service.types.describe_continuous_exports_request.DescribeContinuousExportsRequest = {}
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 = execute_pipeline(
OperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
response.response.close()
return response.output
|