Lists the pipeline endpoints connected to pipelines in your account.
Parameters:
-
max_results
(Optional[MaxResults], default:
None
)
–
The maximum number of pipeline endpoint connections to return in the response.
-
next_token
(Optional[NextToken], default:
None
)
–
If your initial ListPipelineEndpointConnections operation returns a nextToken, you can include the returned nextToken in subsequent ListPipelineEndpointConnections operations, which returns results in the next page.
Raises:
Source code in docs_src/capo_osis/_services/osis.py
| def list_pipeline_endpoint_connections(
self,
*,
config_overrides: Optional[OSISClientConfig] = None,
max_results: Optional["capo_osis.types.max_results.MaxResults"] = None,
next_token: Optional["capo_osis.types.next_token.NextToken"] = None,
) -> "capo_osis.types.list_pipeline_endpoint_connections_response.ListPipelineEndpointConnectionsResponse":
"""<p>Lists the pipeline endpoints connected to pipelines in your account.</p>
Args:
max_results: <p>The maximum number of pipeline endpoint connections to return in the response.</p>
next_token: <p>If your initial <code>ListPipelineEndpointConnections</code> operation returns a <code>nextToken</code>, you can include the returned <code>nextToken</code> in subsequent <code>ListPipelineEndpointConnections</code> operations, which returns results in the next page.</p>
Raises:
capo_osis.errors.access_denied_exception.AccessDeniedException: <p>You don't have permissions to access the resource.</p>
capo_osis.errors.disabled_operation_exception.DisabledOperationException: <p>Exception is thrown when an operation has been disabled.</p>
capo_osis.errors.internal_exception.InternalException: <p>The request failed because of an unknown error, exception, or failure (the failure is internal to the service).</p>
capo_osis.errors.limit_exceeded_exception.LimitExceededException: <p>You attempted to create more than the allowed number of tags.</p>
capo_osis.errors.validation_exception.ValidationException: <p>An exception for missing or invalid input fields.</p>
capo_osis.errors.UnknownServiceError: The service returned an error code this client does not model.
"""
def _handler(
req: "OperationRequest[capo_osis.types.list_pipeline_endpoint_connections_request.ListPipelineEndpointConnectionsRequest]",
) -> OperationResponse[
"capo_osis.types.list_pipeline_endpoint_connections_response.ListPipelineEndpointConnectionsResponse"
]:
import capo_osis._operations.amazon_open_search_ingestion_service.list_pipeline_endpoint_connections
output, http_response = (
capo_osis._operations.amazon_open_search_ingestion_service.list_pipeline_endpoint_connections.list_pipeline_endpoint_connections(
req.options, req.input
)
)
return OperationResponse(output=output, response=http_response)
interceptors_, options_ = self.operation_options(
config_overrides, OperationLogging("ListPipelineEndpointConnections")
)
input_: capo_osis.types.list_pipeline_endpoint_connections_request.ListPipelineEndpointConnectionsRequest = {}
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
|