Smaws_Client_Organizations.DeleteResourcePolicyDeletes the resource policy from your organization.
You can only call this operation from the management account.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of Types.concurrent_modification_exception
| `ConstraintViolationException of Types.constraint_violation_exception
| `ResourcePolicyNotFoundException of
Types.resource_policy_not_found_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedAPIEndpointException of
Types.unsupported_api_endpoint_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Smaws_Lib.Smithy_api.Types.unit_,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `ConstraintViolationException of Types.constraint_violation_exception
| `ResourcePolicyNotFoundException of
Types.resource_policy_not_found_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedAPIEndpointException of
Types.unsupported_api_endpoint_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Smaws_Lib.Smithy_api.Types.unit_ ->
(Smaws_Lib.Smithy_api.Types.unit_ Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `AWSOrganizationsNotInUseException of
Types.aws_organizations_not_in_use_exception
| `ConcurrentModificationException of
Types.concurrent_modification_exception
| `ConstraintViolationException of Types.constraint_violation_exception
| `ResourcePolicyNotFoundException of
Types.resource_policy_not_found_exception
| `ServiceException of Types.service_exception
| `TooManyRequestsException of Types.too_many_requests_exception
| `UnsupportedAPIEndpointException of
Types.unsupported_api_endpoint_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result