// Returns the template specified by its templateId as a backup plan.
Returns the template specified by its templateId as a backup plan.
// Returns the template specified by its templateId as a backup plan .
func (c *Client) GetBackupPlanFromTemplate(ctx context.Context, params *GetBackupPlanFromTemplateInput, optFns ...func(*Options)) (*GetBackupPlanFromTemplateOutput, error) {
	if params == nil {
		params = &GetBackupPlanFromTemplateInput{}
	}
	result, metadata, err := c.invokeOperation(ctx, "GetBackupPlanFromTemplate", params, optFns, addOperationGetBackupPlanFromTemplateMiddlewares)
	if err != nil {
		return nil, err
	}
	out := result.(*GetBackupPlanFromTemplateOutput)
	out.ResultMetadata = metadata
	return out, nil
}
func ( c * Client ) GetBackupPlanFromTemplate ( ctx context . Context , params * GetBackupPlanFromTemplateInput , optFns ... func ( * Options ) ) ( * GetBackupPlanFromTemplateOutput , error ) { if params == nil { params = & GetBackupPlanFromTemplateInput { } } result , metadata , err := c . invokeOperation ( ctx , " " , params , optFns , addOperationGetBackupPlanFromTemplateMiddlewares ) if err != nil { return nil , err } out := result . ( * GetBackupPlanFromTemplateOutput ) out . ResultMetadata = metadata return out , nil }
Returns the template specified by its templateId as a backup plan.
Returns the template specified by its templateId as a backup plan .