// Accepts an offer to share the specified portfolio.
Accepts an offer to share the specified portfolio.
// Accepts an offer to share the specified portfolio .
func (c *Client) AcceptPortfolioShare(ctx context.Context, params *AcceptPortfolioShareInput, optFns ...func(*Options)) (*AcceptPortfolioShareOutput, error) {
	if params == nil {
		params = &AcceptPortfolioShareInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "AcceptPortfolioShare", params, optFns, addOperationAcceptPortfolioShareMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*AcceptPortfolioShareOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) AcceptPortfolioShare ( ctx context . Context , params * AcceptPortfolioShareInput , optFns ... func ( * Options ) ) ( * AcceptPortfolioShareOutput , error ) { if params == nil { params = & AcceptPortfolioShareInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationAcceptPortfolioShareMiddlewares ) if err != nil { return nil , err } out := result . ( * AcceptPortfolioShareOutput ) out . ResultMetadata = metadata return out , nil }
Accepts an offer to share the specified portfolio.
Accepts an offer to share the specified portfolio .