Skip to content

delete_s3_table_integration

delete_s3_table_integration(
    arn: ResourceArn,
    *,
    config_overrides: Optional[ObservabilityAdminClientConfig] = None,
) -> None

Deletes an S3 Table integration and its associated data. This operation removes the connection between CloudWatch Observability Admin and S3 Tables.

Parameters:

  • arn (ResourceArn) –

    The Amazon Resource Name (ARN) of the S3 Table integration to delete.

Raises:

Source code in docs_src/capo_observabilityadmin/_services/observability_admin.py
def delete_s3_table_integration(
    self,
    arn: "capo_observabilityadmin.types.resource_arn.ResourceArn",
    *,
    config_overrides: Optional[ObservabilityAdminClientConfig] = None,
) -> None:
    """<p>Deletes an S3 Table integration and its associated data. This operation removes the connection between CloudWatch Observability Admin and S3 Tables.</p>

    Args:
        arn: <p>The Amazon Resource Name (ARN) of the S3 Table integration to delete.</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.invalid_state_exception.InvalidStateException: <p> The requested operation cannot be completed on the specified resource in the current state. </p>
        capo_observabilityadmin.errors.service_quota_exceeded_exception.ServiceQuotaExceededException: <p> The requested operation would exceed the allowed quota for the specified resource type. </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.delete_s3_table_integration_input.DeleteS3TableIntegrationInput]",
    ) -> OperationResponse[None]:
        import capo_observabilityadmin._operations.observability_admin.delete_s3_table_integration

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

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DeleteS3TableIntegration")
    )
    input_: capo_observabilityadmin.types.delete_s3_table_integration_input.DeleteS3TableIntegrationInput = {
        "arn": arn
    }

    response = execute_pipeline(
        OperationRequest(input=input_, options=options_),
        handler=_handler,
        interceptors=list(interceptors_),
    )
    response.response.close()
    return response.output