// Updates the details of an existing subscription. Only enter values for
// parameters you want to change. Empty parameters are not updated.
Updates the details of an existing subscription. Only enter values for
parameters you want to change. Empty parameters are not updated.
// Updates the details of an existing subscription . Only enter values for // parameters you want to change . Empty parameters are not updated .
func (c *Client) UpdateSubscription(ctx context.Context, params *UpdateSubscriptionInput, optFns ...func(*Options)) (*UpdateSubscriptionOutput, error) {
	if params == nil {
		params = &UpdateSubscriptionInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "UpdateSubscription", params, optFns, addOperationUpdateSubscriptionMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*UpdateSubscriptionOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) UpdateSubscription ( ctx context . Context , params * UpdateSubscriptionInput , optFns ... func ( * Options ) ) ( * UpdateSubscriptionOutput , error ) { if params == nil { params = & UpdateSubscriptionInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationUpdateSubscriptionMiddlewares ) if err != nil { return nil , err } out := result . ( * UpdateSubscriptionOutput ) out . ResultMetadata = metadata return out , nil }
Updates the details of an existing subscription.
Updates the details of an existing subscription .