Smaws_Client_ServiceCatalog.DeletePortfolioShareStops sharing the specified portfolio with the specified account or organization node. Shares to an organization node can only be deleted by the management account of an organization or by a delegated administrator.
Note that if a delegated admin is de-registered, portfolio shares created from that account are removed.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `InvalidStateException of Types.invalid_state_exception
| `OperationNotSupportedException of Types.operation_not_supported_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.delete_portfolio_share_input ->
(Types.delete_portfolio_share_output,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `InvalidStateException of Types.invalid_state_exception
| `OperationNotSupportedException of
Types.operation_not_supported_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.delete_portfolio_share_input ->
(Types.delete_portfolio_share_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `InvalidParametersException of Types.invalid_parameters_exception
| `InvalidStateException of Types.invalid_state_exception
| `OperationNotSupportedException of
Types.operation_not_supported_exception
| `ResourceNotFoundException of Types.resource_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result