Smaws_Client_CloudControl.DeleteResourceDeletes the specified resource. For details, see Deleting a resource in the Amazon Web Services Cloud Control API User Guide.
After you have initiated a resource deletion request, you can monitor the progress of your request by calling GetResourceRequestStatus using the RequestToken of the ProgressEvent returned by DeleteResource.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `ClientTokenConflictException of Types.client_token_conflict_exception
| `ConcurrentOperationException of Types.concurrent_operation_exception
| `GeneralServiceException of Types.general_service_exception
| `HandlerFailureException of Types.handler_failure_exception
| `HandlerInternalFailureException of
Types.handler_internal_failure_exception
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NetworkFailureException of Types.network_failure_exception
| `NotStabilizedException of Types.not_stabilized_exception
| `NotUpdatableException of Types.not_updatable_exception
| `PrivateTypeException of Types.private_type_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceInternalErrorException of Types.service_internal_error_exception
| `ServiceLimitExceededException of Types.service_limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `TypeNotFoundException of Types.type_not_found_exception
| `UnsupportedActionException of Types.unsupported_action_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_resource_input ->
(Types.delete_resource_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `ClientTokenConflictException of Types.client_token_conflict_exception
| `ConcurrentOperationException of Types.concurrent_operation_exception
| `GeneralServiceException of Types.general_service_exception
| `HandlerFailureException of Types.handler_failure_exception
| `HandlerInternalFailureException of
Types.handler_internal_failure_exception
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NetworkFailureException of Types.network_failure_exception
| `NotStabilizedException of Types.not_stabilized_exception
| `NotUpdatableException of Types.not_updatable_exception
| `PrivateTypeException of Types.private_type_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceInternalErrorException of Types.service_internal_error_exception
| `ServiceLimitExceededException of Types.service_limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `TypeNotFoundException of Types.type_not_found_exception
| `UnsupportedActionException of Types.unsupported_action_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_resource_input ->
(Types.delete_resource_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AlreadyExistsException of Types.already_exists_exception
| `ClientTokenConflictException of Types.client_token_conflict_exception
| `ConcurrentOperationException of Types.concurrent_operation_exception
| `GeneralServiceException of Types.general_service_exception
| `HandlerFailureException of Types.handler_failure_exception
| `HandlerInternalFailureException of
Types.handler_internal_failure_exception
| `InvalidCredentialsException of Types.invalid_credentials_exception
| `InvalidRequestException of Types.invalid_request_exception
| `NetworkFailureException of Types.network_failure_exception
| `NotStabilizedException of Types.not_stabilized_exception
| `NotUpdatableException of Types.not_updatable_exception
| `PrivateTypeException of Types.private_type_exception
| `ResourceConflictException of Types.resource_conflict_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ServiceInternalErrorException of Types.service_internal_error_exception
| `ServiceLimitExceededException of Types.service_limit_exceeded_exception
| `ThrottlingException of Types.throttling_exception
| `TypeNotFoundException of Types.type_not_found_exception
| `UnsupportedActionException of Types.unsupported_action_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result