Skip to content

delete_qev2_idc_application

delete_qev2_idc_application(
    *,
    config_overrides: Optional[RedshiftClientConfig] = None,
    qev2_idc_application_arn: Optional[String] = None,
) -> None

Deletes an Amazon Redshift Query Editor (QEV2) IAM Identity Center application.

Parameters:

  • qev2_idc_application_arn (Optional[String], default: None ) –

    The Amazon Resource Name (ARN) for the Amazon Redshift Query Editor (QEV2) IAM Identity Center application to delete.

Raises:

Source code in docs_src/capo_redshift/_services/redshift.py
def delete_qev2_idc_application(
    self,
    *,
    config_overrides: Optional[RedshiftClientConfig] = None,
    qev2_idc_application_arn: Optional["capo_redshift.types.string.String"] = None,
) -> None:
    """<p>Deletes an Amazon Redshift Query Editor (QEV2) IAM Identity Center application.</p>

    Args:
        qev2_idc_application_arn: <p>The Amazon Resource Name (ARN) for the Amazon Redshift Query Editor (QEV2) IAM Identity Center application to delete.</p>

    Raises:
        capo_redshift.errors.dependent_service_access_denied_fault.DependentServiceAccessDeniedFault: <p>A dependent service denied access for the integration.</p>
        capo_redshift.errors.dependent_service_unavailable_fault.DependentServiceUnavailableFault: <p>Your request cannot be completed because a dependent internal service is temporarily unavailable. Wait 30 to 60 seconds and try again.</p>
        capo_redshift.errors.qev2_idc_application_not_exists_fault.Qev2IdcApplicationNotExistsFault: <p>The specified Amazon Redshift Query Editor (QEV2) IAM Identity Center application doesn't exist. Verify that the application ARN is correct and that the application exists in this Region.</p>
        capo_redshift.errors.unsupported_operation_fault.UnsupportedOperationFault: <p>The requested operation isn't supported.</p>
        capo_redshift.errors.UnknownServiceError: The service returned an error code this client does not model.
    """

    def _handler(
        req: "OperationRequest[capo_redshift.types.delete_qev2_idc_application_message.DeleteQev2IdcApplicationMessage]",
    ) -> OperationResponse[None]:
        import capo_redshift._operations.redshift_service_version20121201.delete_qev2_idc_application

        output, http_response = (
            capo_redshift._operations.redshift_service_version20121201.delete_qev2_idc_application.delete_qev2_idc_application(
                req.options, req.input
            )
        )
        return OperationResponse(output=output, response=http_response)

    interceptors_, options_ = self.operation_options(
        config_overrides, OperationLogging("DeleteQev2IdcApplication")
    )
    input_: capo_redshift.types.delete_qev2_idc_application_message.DeleteQev2IdcApplicationMessage = {}
    if qev2_idc_application_arn is not None:
        input_["qev2_idc_application_arn"] = qev2_idc_application_arn

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