Skip to content

list_s3_table_integrations

list_s3_table_integrations(
    *,
    config_overrides: Optional[ObservabilityAdminClientConfig] = None,
    max_results: Optional[ListS3TableIntegrationsMaxResults] = None,
    next_token: Optional[NextToken] = None,
) -> ListS3TableIntegrationsOutput

Lists all S3 Table integrations in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.

Parameters:

Raises:

Source code in docs_src/capo_observabilityadmin/_services/observability_admin.py
def list_s3_table_integrations(
    self,
    *,
    config_overrides: Optional[ObservabilityAdminClientConfig] = None,
    max_results: Optional[
        "capo_observabilityadmin.types.list_s3_table_integrations_max_results.ListS3TableIntegrationsMaxResults"
    ] = None,
    next_token: Optional[
        "capo_observabilityadmin.types.next_token.NextToken"
    ] = None,
) -> "capo_observabilityadmin.types.list_s3_table_integrations_output.ListS3TableIntegrationsOutput":
    """<p>Lists all S3 Table integrations in your account. We recommend using pagination to ensure that the operation returns quickly and successfully.</p>

    Args:
        max_results: <p>The maximum number of S3 Table integrations to return in a single call.</p>
        next_token: <p>The token for the next set of results. A previous call generates this token.</p>

    Raises:
        capo_observabilityadmin.errors.access_denied_exception.AccessDeniedException: <p> Indicates you don't have permissions to perform the requested operation. The user or role that is making the request must have at least one IAM permissions policy attached that grants the required permissions. For more information, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/access.html">Access management for Amazon Web Services resources</a> in the IAM user guide. </p>
        capo_observabilityadmin.errors.internal_server_exception.InternalServerException: <p> Indicates the request has failed to process because of an unknown server error, exception, or failure. </p>
        capo_observabilityadmin.errors.too_many_requests_exception.TooManyRequestsException: <p> The request throughput limit was exceeded. </p>
        capo_observabilityadmin.errors.validation_exception.ValidationException: <p> Indicates input validation failed. Check your request parameters and retry the request. </p>
        capo_observabilityadmin.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_observabilityadmin.types.list_s3_table_integrations_input.ListS3TableIntegrationsInput]",
    ) -> OperationResponse[
        "capo_observabilityadmin.types.list_s3_table_integrations_output.ListS3TableIntegrationsOutput"
    ]:
        import capo_observabilityadmin._operations.observability_admin.list_s3_table_integrations

        output, http_response = (
            capo_observabilityadmin._operations.observability_admin.list_s3_table_integrations.list_s3_table_integrations(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("ListS3TableIntegrations")
    )
    input_: capo_observabilityadmin.types.list_s3_table_integrations_input.ListS3TableIntegrationsInput = {}
    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