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/async_redshift.py
| async def delete_qev2_idc_application(
self,
*,
config_overrides: Optional[AsyncRedshiftClientConfig] = 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.
"""
async def _handler(
req: "AsyncOperationRequest[capo_redshift.types.delete_qev2_idc_application_message.DeleteQev2IdcApplicationMessage]",
) -> AsyncOperationResponse[None]:
import capo_redshift._operations.redshift_service_version20121201.delete_qev2_idc_application
(
output,
http_response,
) = await capo_redshift._operations.redshift_service_version20121201.delete_qev2_idc_application.async_delete_qev2_idc_application(
req.options, req.input
)
return AsyncOperationResponse(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 = await aexecute_pipeline(
AsyncOperationRequest(input=input_, options=options_),
handler=_handler,
interceptors=list(interceptors_),
)
await response.response.aclose()
return response.output
|