Amazon.ServiceCatalog.AmazonServiceCatalogClient.DeleteProduct C# (CSharp) Метод

DeleteProduct() публичный Метод

Deletes the specified product. This operation will not work with a product that has been shared with you or is associated with a portfolio.
/// One or more parameters provided to the operation are invalid. /// /// The operation was requested against a resource that is currently in use. Free the /// resource from use and retry the operation. /// /// The specified resource was not found. ///
public DeleteProduct ( DeleteProductRequest request ) : DeleteProductResponse
request DeleteProductRequest Container for the necessary parameters to execute the DeleteProduct service method.
Результат DeleteProductResponse
        public DeleteProductResponse DeleteProduct(DeleteProductRequest request)
        {
            var marshaller = new DeleteProductRequestMarshaller();
            var unmarshaller = DeleteProductResponseUnmarshaller.Instance;

            return Invoke<DeleteProductRequest,DeleteProductResponse>(request, marshaller, unmarshaller);
        }
AmazonServiceCatalogClient